我在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没问题,请各位大佬指教!
我在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没问题,请各位大佬指教!