Skip to content

Add capabilities for llms #213

@planger

Description

@planger

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions