claude-evolve 1.6.20 → 1.6.21
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/ai-cli.sh +5 -2
- package/lib/config.sh +1 -1
- package/package.json +1 -1
package/lib/ai-cli.sh
CHANGED
|
@@ -290,9 +290,12 @@ call_ai_with_round_robin() {
|
|
|
290
290
|
return 1
|
|
291
291
|
fi
|
|
292
292
|
|
|
293
|
-
# Calculate starting index for round
|
|
293
|
+
# Calculate starting index for round‑robin
|
|
294
|
+
# Use a random starting point to avoid always using the same model
|
|
295
|
+
# for a given hash/value. This keeps the selection simple and
|
|
296
|
+
# avoids retrying the same model in the event of failures.
|
|
294
297
|
local num_models=${#models[@]}
|
|
295
|
-
local start_index=$((
|
|
298
|
+
local start_index=$((RANDOM % num_models))
|
|
296
299
|
|
|
297
300
|
# Create ordered list based on round-robin
|
|
298
301
|
local ordered_models=()
|
package/lib/config.sh
CHANGED
|
@@ -57,7 +57,7 @@ DEFAULT_MEMORY_LIMIT_MB=12288
|
|
|
57
57
|
# Run: 100% local with qwen3 via Codex+Ollama (more reliable than aider)
|
|
58
58
|
DEFAULT_LLM_RUN="codex-qwen3 codex-oss gemini-flash"
|
|
59
59
|
# Ideate: Commercial models for idea generation + local fallback
|
|
60
|
-
DEFAULT_LLM_IDEATE="gemini sonnet-think gpt5high
|
|
60
|
+
DEFAULT_LLM_IDEATE="gemini sonnet-think gpt5high glm grok-4 codex-qwen3 codex-oss"
|
|
61
61
|
|
|
62
62
|
# Load configuration from config file
|
|
63
63
|
load_config() {
|