Firebase Studio API Issues #175636
Replies: 2 comments
-
This issue, Since you are using a singleton ( Recommended Solution: Explicit Model ObjectThe most reliable fix is to explicitly import the model object reference from the Genkit Google AI plugin and pass it directly within your flow definition. 1. Update Imports and
|
Beta Was this translation helpful? Give feedback.
-
Error cause might be missing model binding after Genkit upgrade. src/ai/genkit.ts: export const getAi = () => extract-submissions-from-log.ts: Reinstall packages: Ensure GOOGLE_API_KEY is set and redeploy. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Body
I'm a coding beginner. I'm building a simple web app with Firebase Studio, and a few days ago, it was working fine, but suddenly I'm getting an API call error. I was using Gemini Flash 2.0, and it seems like something went wrong when I upgraded to version 2.5. I've looked into it, but I haven't found a solution, so I've come to this point. The web app is a simple app that uses AI to analyze chat logs and organize them into a sheet based on rules. Every time I try to analyze the AI, the console repeatedly displays the following error and fails.
Error: AI 분석 실패: INVALID_ARGUMENT: Must supply a
model
togenerate()
calls.Current Architecture:
Solutions Tried: I tried the following solutions to resolve the error, but they did not resolve the issue.
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions