Skip to content

The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable #12

@gstarwd

Description

@gstarwd

i am trying to run locally using ollama ..
i have set the OPENAI_API_KEY : (windows)
setx OPENAI_API_KEY "DUMMY”

image

but still encouter : warning
litellm.AuthenticationError: AuthenticationError: OpenAIException - The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable

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