Skip to content

Commit

Permalink
Merge branch 'VSCODE-528-mongodb-copilot' into ni/prompt-telemetry
Browse files Browse the repository at this point in the history
* VSCODE-528-mongodb-copilot:
  fix(chat): update response handling to stream and inline code block parsing VSCODE-620 (#835)
  feat(participant): route generic prompt by intent and update generic prompt VSCODE-572 (#830)

# Conflicts:
#	src/participant/participant.ts
#	src/participant/prompts/query.ts
  • Loading branch information
nirinchev committed Sep 26, 2024
2 parents af40e40 + 7eef0e7 commit bf6c5bd
Show file tree
Hide file tree
Showing 14 changed files with 960 additions and 147 deletions.
5 changes: 5 additions & 0 deletions src/participant/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ export type ParticipantResponseType =
| 'askToConnect'
| 'askForNamespace';

export const codeBlockIdentifier = {
start: '```javascript',
end: '```',
};

interface Metadata {
intent: Exclude<ParticipantResponseType, 'askForNamespace' | 'docs'>;
chatId: string;
Expand Down
Loading

0 comments on commit bf6c5bd

Please sign in to comment.