fix: change model to gemini-2.5-flash
This commit is contained in:
2
App.tsx
2
App.tsx
@ -97,7 +97,7 @@ ${solution}
|
|||||||
Please evaluate the user's answer and provide your response in the specified JSON format.`;
|
Please evaluate the user's answer and provide your response in the specified JSON format.`;
|
||||||
|
|
||||||
const response: GenerateContentResponse = await ai.models.generateContent({
|
const response: GenerateContentResponse = await ai.models.generateContent({
|
||||||
model: "gemini-2.5-flash-preview-04-17",
|
model: "gemini-2.5-flash",
|
||||||
contents: contents,
|
contents: contents,
|
||||||
config: {
|
config: {
|
||||||
systemInstruction: systemInstruction,
|
systemInstruction: systemInstruction,
|
||||||
|
Reference in New Issue
Block a user