Upload app.py
Browse files
app.py
CHANGED
|
@@ -577,6 +577,7 @@ def create_config_file(model: str, work_dir: str):
|
|
| 577 |
"max_iterations": 10,
|
| 578 |
"checkpoint_interval": 2, # Save checkpoints every 2 iterations to preserve prompt history
|
| 579 |
"diff_based_evolution": False, # Use full rewrite mode for prompts (not diff/patch mode)
|
|
|
|
| 580 |
"evolution": {
|
| 581 |
"population_size": 10,
|
| 582 |
"num_islands": 1,
|
|
|
|
| 577 |
"max_iterations": 10,
|
| 578 |
"checkpoint_interval": 2, # Save checkpoints every 2 iterations to preserve prompt history
|
| 579 |
"diff_based_evolution": False, # Use full rewrite mode for prompts (not diff/patch mode)
|
| 580 |
+
"language": "text", # CRITICAL: Optimize text/prompts, not Python code!
|
| 581 |
"evolution": {
|
| 582 |
"population_size": 10,
|
| 583 |
"num_islands": 1,
|