continue icon indicating copy to clipboard operation
continue copied to clipboard

Model Selection Dialog shows "openai" for Embed model instead of actual model name

Open bdavj opened this issue 6 months ago • 3 comments

Before submitting your bug report

Relevant environment info

- OS: MacOS
- Continue version: 1.0.10-jetbrains
- IDE version: IntelliJ IDEA 2024.3.4.1 (Ultimate Edition)
- Model: Any using OpenAI protocol
- config:
  
  - name: NotOpenAi
    provider: openai
    model: amazon-titan-embed-2-us
    apiKey: <Key>
    apiBase: <Base>
    roles:
      - embed

Description

Model selection dialog in UI shows the model type 'openai' not the model name. I have previously traced this through the code, and it is not passing the model name of the embed model to the relevant part of the UI, as this seems to be handled differently to the other models.

This is a big issue for users purposefully not using OpenAI, but using OpenAI proto, as it is misleading

To reproduce

  1. Set up a model for embedding in the yaml using openai as the type, name it something else.
  2. Select the model in models UI
  3. Model displays 'openai' for embedding

Log output


bdavj avatar Apr 17 '25 09:04 bdavj