Closed ywhnghng closed 7 months ago
请检查后台日志
[nuxt] [request error] [unhandled] [500] [GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1/models/gemini-pro:streamGenerateContent?alt=sse: [400 Bad Request] API key not valid. Please pass a valid API key. [{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"API_KEY_INVALID","domain":"googleapis.com","metadata":{"service":"generativelanguage.googleapis.com"}}]
at (index.mjs:1:117527)
at (index.mjs:1:121910)
[POST] /api/auth/gemini/?model=gemini-pro status=500
API key无效
gemini 报错 500,其他模型使用正常