Skip to content

LLM Model Field Behavior Issues for OpenAI and MistralAI Providers in Configuration Settings #45

@kshitij79

Description

@kshitij79

Bug Report 🐛

The LLM model field in the settings interface exhibits inconsistent behavior depending on the selected provider.
For OpenAI, the field must be left empty to function correctly. Conversely, the MistralAI provider fails to function if the model field is left empty, leading to errors or failed connections.

Expected Behavior

The default LLM model value should be auto-populated when selecting an AI provider.

Current Behavior

Possible Solution

Implement default value auto-population for the LLM model field based on the selected AI provider. Fix the default behaviour for OpenAI and MistralaAI.

Steps to Reproduce

  1. Go to the settings interface.
  2. Select the OpenAI provider and enter an appropriate LLM model name.
  3. Observe that the provider only works when the model field is empty.
  4. Select the MistralAI provider and leave the model field empty.
  5. Observe that the provider fails to function, leading to errors or failed connections.

Context (Environment)

Application

  • VSCode (All versions)

Detailed Description

Possible Implementation

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