Upload app.py
Browse files
app.py
CHANGED
|
@@ -488,6 +488,7 @@ def create_config_file(model: str, work_dir: str):
|
|
| 488 |
config = {
|
| 489 |
"llm": {
|
| 490 |
"primary_model": model,
|
|
|
|
| 491 |
"temperature": 0.7,
|
| 492 |
},
|
| 493 |
"evolution": {
|
|
@@ -499,7 +500,7 @@ def create_config_file(model: str, work_dir: str):
|
|
| 499 |
"exploit_ratio": 0.6,
|
| 500 |
},
|
| 501 |
"evaluation": {
|
| 502 |
-
"timeout":
|
| 503 |
}
|
| 504 |
}
|
| 505 |
|
|
|
|
| 488 |
config = {
|
| 489 |
"llm": {
|
| 490 |
"primary_model": model,
|
| 491 |
+
"api_base": "https://openrouter.ai/api/v1", # Use OpenRouter endpoint
|
| 492 |
"temperature": 0.7,
|
| 493 |
},
|
| 494 |
"evolution": {
|
|
|
|
| 500 |
"exploit_ratio": 0.6,
|
| 501 |
},
|
| 502 |
"evaluation": {
|
| 503 |
+
"timeout": None, # Disable timeout to avoid signal handling issues
|
| 504 |
}
|
| 505 |
}
|
| 506 |
|