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

[vscode] Stub added LanguageModel types to vscode 1.95 #14405

Closed
Tracked by #14403
rschnekenbu opened this issue Nov 5, 2024 · 0 comments
Closed
Tracked by #14403

[vscode] Stub added LanguageModel types to vscode 1.95 #14405

rschnekenbu opened this issue Nov 5, 2024 · 0 comments
Assignees
Labels
vscode issues related to VSCode compatibility

Comments

@rschnekenbu
Copy link
Contributor

There were some additions to Chat and Language Models in vscode 1.95:

  • ChatRequestTurn#toolReferences added readonly property
  • ChatRequest additions: toolReferences, toolInvocationToken and model readonly properties
  • LanguageModelChatMessage updates: content is now only a string anymore but also (LanguageModelTextPart | LanguageModelToolResultPart | LanguageModelToolCallPart)[]
  • LanguageModelChatResponse#stream property added
  • LanguageModelChatRequestOptions tools and toolModel added optional properties
  • Added methods in language model namespace
    -LanguageModelChatTool, LanguageModelChatToolMode, LanguageModelToolCallPart, LanguageModelToolResultPart, LanguageModelTextPart, LanguageModelPromptTsxPart, LanguageModelToolResult, ChatParticipantToolToken, LanguageModelToolInvocationOptions, LanguageModelToolTokenizationOptions, LanguageModelToolInformation, LanguageModelToolInvocationPrepareOptions, LanguageModelTool<T>, LanguageModelToolConfirmationMessages, PreparedToolInvocation, ChatLanguageModelToolReferenceadded types

All those APIs shall be properly stubbed, as done in #13778

@rschnekenbu rschnekenbu self-assigned this Nov 5, 2024
@rschnekenbu rschnekenbu added the vscode issues related to VSCode compatibility label Nov 5, 2024
rschnekenbu added a commit to eclipsesource/theia that referenced this issue Nov 13, 2024
fix: eclipse-theia#14405

contributed on behalf of STMicroelectronics

Signed-off-by: Remi Schnekenburger <rschnekenburger@eclipsesource.com>
rschnekenbu added a commit to eclipsesource/theia that referenced this issue Nov 14, 2024
fix: eclipse-theia#14405

contributed on behalf of STMicroelectronics

Signed-off-by: Remi Schnekenburger <rschnekenburger@eclipsesource.com>
@rschnekenbu rschnekenbu changed the title [vscode] Stub added types to vscode 1.95 [vscode] Stub added LanguageModel types to vscode 1.95 Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vscode issues related to VSCode compatibility
Projects
None yet
Development

No branches or pull requests

1 participant