Skip to content

Commit

Permalink
fix: make LanguageModelChatMessage.stream optional (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
joyceerhl authored Jun 11, 2024
1 parent 4ae2f55 commit 69cb101
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vscode/prompt-tsx",
"version": "0.2.2-alpha",
"version": "0.2.3-alpha",
"description": "Declare LLM prompts with TSX",
"main": "./dist/base/index.js",
"types": "./dist/base/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/base/vscodeTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ export class LanguageModelChatResponseTextPart {

export interface LanguageModelChatResponse {

stream: AsyncIterable<LanguageModelChatResponseTextPart | LanguageModelChatResponseFunctionUsePart>;
stream?: AsyncIterable<LanguageModelChatResponseTextPart | LanguageModelChatResponseFunctionUsePart>;
}


Expand Down

0 comments on commit 69cb101

Please sign in to comment.