Update jade/heavy_mode.py
Browse files- jade/heavy_mode.py +3 -3
jade/heavy_mode.py
CHANGED
|
@@ -46,7 +46,7 @@ class JadeHeavyAgent:
|
|
| 46 |
"Kimi": "moonshotai/kimi-k2-instruct-0905", # Groq (Logic/Reasoning)
|
| 47 |
"Mistral": "mistral-large-latest", # Mistral API
|
| 48 |
"Llama": "meta-llama/llama-4-maverick-17b-128e-instruct", # Groq
|
| 49 |
-
"Qwen": "qwen/
|
| 50 |
# Note: The original script used qwen/qwen3-235b... on OpenRouter.
|
| 51 |
# If no OpenRouter key, we might need a fallback on Groq or skip.
|
| 52 |
}
|
|
@@ -176,7 +176,7 @@ class JadeHeavyAgent:
|
|
| 176 |
best_strat_resp = await self.groq_client.chat.completions.create(
|
| 177 |
model=self.judge_id,
|
| 178 |
messages=[{"role":"user","content":prune_prompt}],
|
| 179 |
-
temperature=0.
|
| 180 |
)
|
| 181 |
best_strat = best_strat_resp.choices[0].message.content
|
| 182 |
except Exception as e:
|
|
@@ -206,7 +206,7 @@ class JadeHeavyAgent:
|
|
| 206 |
resp = await self.groq_client.chat.completions.create(
|
| 207 |
model=self.judge_id,
|
| 208 |
messages=[{"role":"system","content":"You are the Chief Editor."},{"role":"user","content":council_prompt}],
|
| 209 |
-
temperature=0.
|
| 210 |
)
|
| 211 |
final_answer = resp.choices[0].message.content
|
| 212 |
except Exception as e:
|
|
|
|
| 46 |
"Kimi": "moonshotai/kimi-k2-instruct-0905", # Groq (Logic/Reasoning)
|
| 47 |
"Mistral": "mistral-large-latest", # Mistral API
|
| 48 |
"Llama": "meta-llama/llama-4-maverick-17b-128e-instruct", # Groq
|
| 49 |
+
"Qwen": "qwen/qwen3-coder:free" # OpenRouter (Fallback if key exists) or Groq equivalent
|
| 50 |
# Note: The original script used qwen/qwen3-235b... on OpenRouter.
|
| 51 |
# If no OpenRouter key, we might need a fallback on Groq or skip.
|
| 52 |
}
|
|
|
|
| 176 |
best_strat_resp = await self.groq_client.chat.completions.create(
|
| 177 |
model=self.judge_id,
|
| 178 |
messages=[{"role":"user","content":prune_prompt}],
|
| 179 |
+
temperature=0.5
|
| 180 |
)
|
| 181 |
best_strat = best_strat_resp.choices[0].message.content
|
| 182 |
except Exception as e:
|
|
|
|
| 206 |
resp = await self.groq_client.chat.completions.create(
|
| 207 |
model=self.judge_id,
|
| 208 |
messages=[{"role":"system","content":"You are the Chief Editor."},{"role":"user","content":council_prompt}],
|
| 209 |
+
temperature=0.5
|
| 210 |
)
|
| 211 |
final_answer = resp.choices[0].message.content
|
| 212 |
except Exception as e:
|