forked from eclipse-theia/theia
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
PO: @eneufeld
Each llm needs to be able to define capabilities.
The reason for this is that not every model has the same capabilities and requests can then fail.
Here an example
- make a request with sonnet 3.7 with thinking
- switch the model in the chat
- make a new request
There is a point for this in the AI Epic: Models need to define capabilities (this is needed for features like image, audio and thinking)
Feature: Adaptive UI based on LLM capabilities
Scenario: Hide picture input when LLM does not support pictures
Given the selected LLM does not support image input
When the user opens the chat interface
Then the option to add pictures to the chat should not be visible
Scenario: Reject dropped image with feedback when LLM does not support pictures
Given the selected LLM does not support image input
When the user drops a picture onto the chat interface
Then the picture should not be added to the chat
And the user should receive feedback that pictures are not supported by the current model
Scenario: Remove thinking blocks when LLM does not support thinking
Given the selected LLM does not support thinking blocks
When the user composes a request
Then the UI should not allow adding thinking blocks to the request
And any existing thinking blocks should be removed from the request
Metadata
Metadata
Assignees
Labels
No labels