Skip to content

openai.AuthenticationError #38

@Li-mingshen

Description

@Li-mingshen

我在config.yaml里配置了模型的API_KEY,为什么对话是总是报错openai.AuthenticationError: Error code: 401 - {'error': {'message': 'Incorrect API key provided. For details, see: https://help.aliyun.com/zh/model-studio/error-code#apikey-error', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}, 'request_id': '43acdeef-7094-92d1-91e7-bd89c78f353d'}呢?我单独测试了一下我的KEY没问题,请各位大佬指教!

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