Skip to content
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

Agent farm submission: 1194_issue_bot #1195

Open
wants to merge 1 commit into
base: cs-main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -655,8 +655,12 @@ export class AideAgentSessionProvider implements vscode.AideSessionParticipant {
}
return;
} else if (event.event.FrameworkEvent.ToolNotFound) {
// Todo (@g-danna @theskcd) make the tool not found error more descriptive and use its own type
responseStream.stream.toolTypeError({ message: 'An LLM error occurred, please try again later.' });
responseStream.stream.toolTypeError({
message: 'The AI assistant encountered an issue while trying to process your request. ' +
'This may be due to a temporary problem with the language model service. ' +
'Please try your request again in a moment. If the issue persists, ' +
'we\'d appreciate it if you could report this using the feedback tool above.'
});
responseStream.stream.stage({ message: 'Error' });
errorCallback?.();
const openStreams = this.responseStreamCollection.getAllResponseStreams();
Expand Down Expand Up @@ -918,4 +922,4 @@ function printEventDebug(event: SideCarAgentEvent) {
console.info('[debug events]', eventType, value);
}
}
}
}