Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: add help command mode with dedicated help agent#475

Merged
tusharmath merged 4 commits into
mainfrom
help-command
Mar 9, 2025
Merged

feat: add help command mode with dedicated help agent#475
tusharmath merged 4 commits into
mainfrom
help-command

Conversation

@tusharmath

@tusharmath tusharmath commented Mar 9, 2025

Copy link
Copy Markdown
Collaborator

Overview

This PR implements a dedicated help command mode for the Forge CLI application that allows users to get assistance and documentation directly from the CLI.

Features

  • Added a new '/help' command to switch to help mode
  • Created a help agent with a specialized system prompt template
  • Integrated README content into templates to provide documentation context
  • Added event handling for user help queries
  • Updated the agent model to use google/gemini-2.0-flash-thinking-exp for better response quality
  • Enhanced the UI to display mode-specific messages

Implementation Details

  • Added new SystemContext.readme field to include README content in prompts
  • Created a system-prompt-help.hbs template with specific instructions for help responses
  • Updated the state handling to include the new HELP mode
  • Configured the help_agent in forge.yaml with appropriate tools and subscriptions
  • Enhanced UI messaging to indicate current mode with descriptive text

Testing

The help mode has been tested by:

  • Switching to help mode using the /help command
  • Asking various questions about Forge CLI functionality
  • Verifying that responses include content from the README
  • Confirming proper mode switching behavior

Screenshots

(Add screenshots if available)

Related Issues

Closes #[issue_number]

@tusharmath tusharmath changed the title help command feat: add help command mode with dedicated help agent Mar 9, 2025
@tusharmath tusharmath enabled auto-merge (squash) March 9, 2025 07:38
@github-actions github-actions Bot added the type: feature Brand new functionality, features, pages, workflows, endpoints, etc. label Mar 9, 2025
@tusharmath tusharmath merged commit 4dff037 into main Mar 9, 2025
@amitksingh1490 amitksingh1490 deleted the help-command branch October 1, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature Brand new functionality, features, pages, workflows, endpoints, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant