Skip to content

[Bug]: python cli.py报错openai.OpenATError: The api_key c1ient option must be set either by passing api_key xxx。但是已经在.env配置了reason_model、basic_model、code_model的name、key、url #100

@qzjqzjqzj

Description

@qzjqzjqzj

What happened?

[Bug]: python cli.py报错openai.OpenATError: The api_key c1ient option must be set either by passing api_key xxx。但是已经在.env配置了reason_model、basic_model、code_model的name、key、url。是什么原因呢?

Distribution version

Linux

App Version

No response

What browsers are you seeing the problem on if you're using web version?

No response

Are you self-hosting?

  • Yes

Self-hosting Version

No response

Relevant log output

Anything else?

[Bug]: python cli.py报错openai.OpenATError: The api_key c1ient option must be set either by passing api_key xxx。但是已经在.env配置了reason_model、basic_model、code_model的name、key、url

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions