Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -26,9 +26,13 @@ class MultiModelManager:
|
|
| 26 |
"""Manages multiple Groq models with rotation and fallback."""
|
| 27 |
|
| 28 |
def __init__(self):
|
| 29 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
self.models = [
|
| 31 |
-
"openai/gpt-oss-120b", # GPT OSS 120B
|
| 32 |
]
|
| 33 |
|
| 34 |
self.api_key = os.getenv("GROQ_API_KEY")
|
|
|
|
| 26 |
"""Manages multiple Groq models with rotation and fallback."""
|
| 27 |
|
| 28 |
def __init__(self):
|
| 29 |
+
# Alternative: Use a proven working Groq model
|
| 30 |
+
# If GPT-OSS still has issues, uncomment the line below:
|
| 31 |
+
# self.models = ["groq/llama-3.3-70b-versatile"]
|
| 32 |
+
|
| 33 |
+
# Current: Trying GPT-OSS 120B with groq/ prefix
|
| 34 |
self.models = [
|
| 35 |
+
"groq/openai/gpt-oss-120b", # GPT OSS 120B via Groq
|
| 36 |
]
|
| 37 |
|
| 38 |
self.api_key = os.getenv("GROQ_API_KEY")
|