claude-evolve 1.9.1 → 1.9.2
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.py +4 -1
- package/package.json +1 -1
package/lib/ai_cli.py
CHANGED
|
@@ -97,15 +97,18 @@ def call_ai(
|
|
|
97
97
|
model_file = f"/tmp/.claude-evolve-model-{pid}"
|
|
98
98
|
|
|
99
99
|
# Build the bash command that sources config and calls the AI
|
|
100
|
-
# We need to source config.sh
|
|
100
|
+
# We need to source config.sh and call load_config to get LLM_RUN/LLM_IDEATE variables
|
|
101
101
|
bash_script = f'''
|
|
102
102
|
source "{SCRIPT_DIR}/config.sh"
|
|
103
|
+
load_config
|
|
103
104
|
source "{AI_CLI_PATH}"
|
|
104
105
|
call_ai_random "$1" "$2"
|
|
105
106
|
'''
|
|
106
107
|
|
|
107
108
|
# Setup environment
|
|
108
109
|
env = os.environ.copy()
|
|
110
|
+
if working_dir:
|
|
111
|
+
env['CLAUDE_EVOLVE_WORKING_DIR'] = working_dir
|
|
109
112
|
if env_vars:
|
|
110
113
|
env.update(env_vars)
|
|
111
114
|
|