Skip to content

provider yaml key is confusing #231

Description

@kvokka

When I set up the tool with any provider but OpenAI, the keys seem to be confusing, for example

export OPENAI_API_KEY=sk-xxxxxxx

codegpt config set openai.provider gemini

gemini has nothing in common with openai. I understand that it's most likely a legacy, but it's better to switch this to llm_config and make it llm_config.provider.

A similar idea is about OPENAI_API_KEY env var. At this point, the env var for api_key is supported only by OpenAI, which is pretty inconvenient.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions