claude-evolve 1.11.15 → 1.11.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/config.sh +4 -7
- package/lib/evolve_worker.py +8 -2
- package/package.json +1 -1
package/lib/config.sh
CHANGED
|
@@ -61,16 +61,13 @@ DEFAULT_WORKER_MAX_CANDIDATES=3
|
|
|
61
61
|
# Primary: Strong models used in normal operation
|
|
62
62
|
# Fallback: Cheap/backup models used only when primary tier exhausted
|
|
63
63
|
#
|
|
64
|
-
# Run: Subscription-based agentic models
|
|
65
|
-
#
|
|
66
|
-
# OpenRouter models (opencode run) only return text and cannot edit files.
|
|
64
|
+
# Run: Subscription-based agentic models for code generation
|
|
65
|
+
# All CLI tools (opencode, claude, gemini, kimi) are agentic and can edit files
|
|
67
66
|
DEFAULT_LLM_RUN="sonnet glm-5-zai kimi-coder gemini-pro"
|
|
68
67
|
DEFAULT_LLM_RUN_FALLBACK="codex-oss-local"
|
|
69
68
|
#
|
|
70
|
-
# Ideate:
|
|
71
|
-
#
|
|
72
|
-
# but don't actually edit files. Only use claude/gemini CLI, cursor-agent, or zai-coding-plan models.
|
|
73
|
-
# OpenRouter models (via opencode) are chat-only and CANNOT edit files for ideation.
|
|
69
|
+
# Ideate: Agentic models that can edit files for ideation
|
|
70
|
+
# All CLI tools (opencode, claude, gemini, kimi) are agentic and can edit files
|
|
74
71
|
DEFAULT_LLM_IDEATE="opus-think sonnet-think glm-5-zai gemini-pro kimi-coder"
|
|
75
72
|
DEFAULT_LLM_IDEATE_FALLBACK="sonnet glm-5-zai"
|
|
76
73
|
|
package/lib/evolve_worker.py
CHANGED
|
@@ -201,7 +201,10 @@ CRITICAL: If you do not know how to implement what was asked for, or if the requ
|
|
|
201
201
|
self._model_used = model # Track for bandit update
|
|
202
202
|
return True, model
|
|
203
203
|
else:
|
|
204
|
-
|
|
204
|
+
# AIDEV-NOTE: Log output so we can diagnose why file wasn't modified
|
|
205
|
+
preview = output[-300:] if output else "(empty)"
|
|
206
|
+
log(f"Bandit model {selected_model} completed but didn't modify file ({len(output)} chars), trying fallback...")
|
|
207
|
+
log(f"AI output preview: {preview}")
|
|
205
208
|
|
|
206
209
|
except AIError as e:
|
|
207
210
|
log(f"Bandit model {selected_model} failed: {e}, trying fallback...")
|
|
@@ -225,7 +228,10 @@ CRITICAL: If you do not know how to implement what was asked for, or if the requ
|
|
|
225
228
|
self._model_used = model # Track for bandit update
|
|
226
229
|
return True, model
|
|
227
230
|
else:
|
|
228
|
-
|
|
231
|
+
# AIDEV-NOTE: Log output so we can diagnose why file wasn't modified
|
|
232
|
+
preview = output[:300] if output else "(empty)"
|
|
233
|
+
log(f"AI completed but did not modify file ({len(output)} chars)")
|
|
234
|
+
log(f"AI output preview: {preview}")
|
|
229
235
|
return False, model
|
|
230
236
|
|
|
231
237
|
except AIError as e:
|