everydaycats commited on
Commit
c02ca67
·
verified ·
1 Parent(s): f24fc16

Update aiEngine.js

Browse files
Files changed (1) hide show
  1. aiEngine.js +4 -3
aiEngine.js CHANGED
@@ -16,7 +16,7 @@ export const AIEngine = {
16
  * Uses High-Reasoning Model
17
  */
18
  callPM: async (history, input) => {
19
- const modelId = 'gemini-2.0-pro-exp-02-05';
20
 
21
  const config = {
22
  thinkingConfig: { thinkingLevel: 'HIGH' },
@@ -49,14 +49,15 @@ export const AIEngine = {
49
  * Uses Flash Model (Fast) + Image Support
50
  */
51
  callWorker: async (history, input, images = []) => {
52
- const modelId = 'gemini-2.0-flash';
53
-
54
  const config = {
 
55
  tools: [{ googleSearch: {} }],
56
  systemInstruction: {
57
  parts: [{ text: prompts.worker_system_prompt }]
58
  }
59
  };
 
60
 
61
  const currentParts = [{ text: input }];
62
 
 
16
  * Uses High-Reasoning Model
17
  */
18
  callPM: async (history, input) => {
19
+ const modelId = 'gemini-3.0-pro-preview';
20
 
21
  const config = {
22
  thinkingConfig: { thinkingLevel: 'HIGH' },
 
49
  * Uses Flash Model (Fast) + Image Support
50
  */
51
  callWorker: async (history, input, images = []) => {
52
+ const modelId = 'gemini-3.0-pro-preview';
 
53
  const config = {
54
+ thinkingConfig: { thinkingLevel: 'HIGH' },
55
  tools: [{ googleSearch: {} }],
56
  systemInstruction: {
57
  parts: [{ text: prompts.worker_system_prompt }]
58
  }
59
  };
60
+
61
 
62
  const currentParts = [{ text: input }];
63