gpt-engineer-app[bot] commited on
Commit
005d016
·
1 Parent(s): bceb8bc
Files changed (1) hide show
  1. src/server/incidents.functions.ts +1 -1
src/server/incidents.functions.ts CHANGED
@@ -109,7 +109,7 @@ export const analyzeIncident = createServerFn({ method: "POST" })
109
  tool_choice: { type: "function", function: { name: "submit_analysis" } },
110
  });
111
 
112
- const resp = await fetchAIWithFallback(requestBody, "google/gemini-2.5-flash", "analyzeIncident");
113
 
114
  if (!resp.ok) {
115
  const text = await resp.text();
 
109
  tool_choice: { type: "function", function: { name: "submit_analysis" } },
110
  });
111
 
112
+ const resp = await fetchAIWithFallback(requestBody, "google/gemini-2.5-flash", "analyzeIncident", context.userId);
113
 
114
  if (!resp.ok) {
115
  const text = await resp.text();