Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -101,7 +101,7 @@ class BasicAgent:
|
|
| 101 |
|
| 102 |
# Groq model
|
| 103 |
self.model = RetryOpenAIModel(
|
| 104 |
-
model_id="openai/gpt-oss-
|
| 105 |
api_base="https://api.groq.com/openai/v1",
|
| 106 |
api_key=os.environ["GROQ_API_KEY"],
|
| 107 |
client_kwargs={
|
|
@@ -279,7 +279,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 279 |
continue
|
| 280 |
try:
|
| 281 |
agent_question = question_text
|
| 282 |
-
|
| 283 |
if file_path:
|
| 284 |
file_content = read_task_file(file_path)
|
| 285 |
|
|
|
|
| 101 |
|
| 102 |
# Groq model
|
| 103 |
self.model = RetryOpenAIModel(
|
| 104 |
+
model_id="openai/gpt-oss-120b",
|
| 105 |
api_base="https://api.groq.com/openai/v1",
|
| 106 |
api_key=os.environ["GROQ_API_KEY"],
|
| 107 |
client_kwargs={
|
|
|
|
| 279 |
continue
|
| 280 |
try:
|
| 281 |
agent_question = question_text
|
| 282 |
+
file_content = None
|
| 283 |
if file_path:
|
| 284 |
file_content = read_task_file(file_path)
|
| 285 |
|