Skip to content

model names are wrongfully trimmed to the last delimiter in CLI config.yaml #12191

@lee-b

Description

@lee-b

Before submitting your bug report

Relevant environment info

- OS: Linux
- Continue version: 1.5.45
- IDE version: n/a; CLI
- Model: local
- config:
  
ame: Local Config
version: 1.0.0
schema: v1
models:
  - name: local/large
    provider: openai
    model: local/large
    apiKey: key
    apiBase: https://myserver.lan:port/v1

Description

Neither local/large nor local-large work as a model name in the CLI config.yaml: the TUI talks about "large" being the name, and LLM response to chat input doesn't work. When I change the backend to recognise "large" as an alias, and change model to just large, it suddenly works.

Conclusion: the model field is essentially being basenamed on multiple delimiters, like / and -, instead of being respected. I think only the ai-sdk provider should have special handling of the model name.

To reproduce

No response

Log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:configurationRelates to configuration optionskind:bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions