Skip to content

Commit 26fd357

Browse files
illeatmyhatclaude
andcommitted
fix: define EVOLVE_REPO in Python scope to prevent NameError on remote fallback
Export EVOLVE_REPO from bash and read it via os.environ in the Python heredoc so marketplace_source can fall back to the remote repo without a NameError. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0ceb4f7 commit 26fd357

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

platform-integrations/install.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ set -euo pipefail
1818

1919
# ─── Configuration ────────────────────────────────────────────────────────────
2020
EVOLVE_REPO="${EVOLVE_REPO:-AgentToolkit/altk-evolve}"
21+
export EVOLVE_REPO
2122
EVOLVE_DEBUG="${EVOLVE_DEBUG:-0}"
2223

2324
# SCRIPT_VERSION refers to a branch or a version tag. This value is substituted
@@ -139,6 +140,7 @@ SOURCE_DIR = sys.argv[1]
139140
CLI_ARGS = sys.argv[2:]
140141
141142
EVOLVE_DEBUG = os.environ.get("EVOLVE_DEBUG", "0") == "1"
143+
EVOLVE_REPO = os.environ.get("EVOLVE_REPO", "AgentToolkit/altk-evolve")
142144
DRY_RUN = False # set to True by --dry-run flag; checked in all write primitives
143145
144146
BOB_SLUG = "evolve-lite"

0 commit comments

Comments
 (0)