-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add chat-agent sample #919
Conversation
fyi @mjbvz for cat ideas :) |
const teachResult = { /* you can return anything in your result object */ }; | ||
const playResult = { /* you can return anything in your result object */ }; | ||
// Define a Cat chat agent handler. | ||
const handler: vscode.ChatAgentHandler = async (request: vscode.ChatAgentRequest, context: vscode.ChatAgentContext, progress: vscode.Progress<vscode.ChatAgentProgress>, token: vscode.CancellationToken) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should do something even without a slash command (I could hack on this a bit)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can do this tomorrow - will have more time then.
Ok verified that with the latest changes the sample still works fine :) |
No description provided.