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

Latest prompt-tsx to fix bugs #1045

Closed
wants to merge 1 commit into from
Closed

Latest prompt-tsx to fix bugs #1045

wants to merge 1 commit into from

Conversation

digitarald
Copy link

No description provided.

@digitarald digitarald marked this pull request as draft June 6, 2024 05:18
@tjsingh85
Copy link

@digitarald I tested with new dependency change that you proposed but its not working. I get the following error:

Argument of type 'import("../node_modules/@vscode/prompt-tsx/dist/base/vscodeTypes").LanguageModelChatMessage[]' is not assignable to parameter of type 'import("vscode").LanguageModelChatMessage[]'.
Type 'import("../node_modules/@vscode/prompt-tsx/dist/base/vscodeTypes").LanguageModelChatMessage' is not assignable to type 'import("vscode").LanguageModelChatMessage'.

@digitarald
Copy link
Author

Afaik @joyceerhl has another update coming that would update the example to the latest API and upcoming prompt-tsx version.

Meanwhile adding an as LanguageModelChatMessage[] to the messages argument will make it work.

@digitarald digitarald closed this Jun 9, 2024
@digitarald digitarald deleted the yummy-pecan branch June 12, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants