everydaycats commited on
Commit
ab4c596
·
verified ·
1 Parent(s): a629af4

Update aiEngine.js

Browse files
Files changed (1) hide show
  1. aiEngine.js +2 -2
aiEngine.js CHANGED
@@ -115,7 +115,7 @@ export const AIEngine = {
115
  * Returns STRICT JSON for the Frontend
116
  */
117
  generateEntryQuestions: async (description) => {
118
- const modelId = 'gemini-2.5-flash';
119
  // Using the updated prompt which handles REJECTED/ACCEPTED logic
120
  const input = `[MODE 1: QUESTIONS]\nAnalyze this game idea: "${description}". Check for TOS violations or nonsense. If good, ask 3 questions. Output ONLY raw JSON.`;
121
 
@@ -153,7 +153,7 @@ export const AIEngine = {
153
  * Returns STRICT JSON
154
  */
155
  gradeProject: async (description, answers) => {
156
- const modelId = 'gemini-2.5-flash';
157
  // Using the updated prompt to respect Title and relaxed Grading
158
  const input = `[MODE 2: GRADING]\nIdea: "${description}"\nUser Answers: ${JSON.stringify(answers)}\n\nAssess feasibility. Output JSON with title and rating.`;
159
 
 
115
  * Returns STRICT JSON for the Frontend
116
  */
117
  generateEntryQuestions: async (description) => {
118
+ const modelId = "gemini-3-flash-preview"; // 'gemini-2.5-flash';
119
  // Using the updated prompt which handles REJECTED/ACCEPTED logic
120
  const input = `[MODE 1: QUESTIONS]\nAnalyze this game idea: "${description}". Check for TOS violations or nonsense. If good, ask 3 questions. Output ONLY raw JSON.`;
121
 
 
153
  * Returns STRICT JSON
154
  */
155
  gradeProject: async (description, answers) => {
156
+ const modelId = "gemini-3-flash-preview"; // 'gemini-2.5-flash';
157
  // Using the updated prompt to respect Title and relaxed Grading
158
  const input = `[MODE 2: GRADING]\nIdea: "${description}"\nUser Answers: ${JSON.stringify(answers)}\n\nAssess feasibility. Output JSON with title and rating.`;
159