Spaces:
Running
Running
Commit ·
fed8ab9
1
Parent(s): 29b315d
fix : model fix
Browse files- scripts/llm.py +1 -1
scripts/llm.py
CHANGED
|
@@ -73,7 +73,7 @@ async def call_groq(prompt: str, system: str, timeout: float) -> Optional[dict]:
|
|
| 73 |
key = os.getenv("GROQ_API_KEY")
|
| 74 |
if not key: return None
|
| 75 |
payload = {
|
| 76 |
-
"model": "
|
| 77 |
"messages": [{"role": "system", "content": system + "\n\nRETURN JSON ONLY."}, {"role": "user", "content": prompt}],
|
| 78 |
"temperature": 0.3,
|
| 79 |
"response_format": {"type": "json_object"}
|
|
|
|
| 73 |
key = os.getenv("GROQ_API_KEY")
|
| 74 |
if not key: return None
|
| 75 |
payload = {
|
| 76 |
+
"model": "openai/gpt-oss-20b",
|
| 77 |
"messages": [{"role": "system", "content": system + "\n\nRETURN JSON ONLY."}, {"role": "user", "content": prompt}],
|
| 78 |
"temperature": 0.3,
|
| 79 |
"response_format": {"type": "json_object"}
|