{"error":{"param":null,"message":"Incorrect API key provided: gsk_teeV********************************************EcZk. You can find your API key at https://platform.openai.com/account/api-keys.","code":"invalid_api_key","type":"invalid_request_error"}}
如果让所有接口兼容 OpenAI 应该也可以解决 好,我考虑改一下。谢谢反馈。—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
结果
原因
大部分 APP 没有兼容 groq,所以不能使用厂商来作为判断
解决方案
groq api兼容 OpenAI 服务,所以可以直接使用模型来作为判断,可以在绝大部分的 APP 中使用,因为APP 对 OpenAI 兼容性最广