Skip to content

Commit 1fb6b7a

Browse files
committed
ci: stabilize varlock path and inference smoke model
1 parent c0ccf59 commit 1fb6b7a

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

bin/ci/smoke-agent-inference.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ finally:
166166
PY
167167
}
168168

169-
readonly CI_MODEL="anthropic/claude-haiku"
169+
readonly CI_MODEL="anthropic/claude-haiku-4-5"
170170

171171
inject_ci_config() {
172172
if [[ -z "${CI_ANTHROPIC_API_KEY:-}" ]]; then

setup.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,19 @@ echo "=== Installing varlock ==="
252252
# varlock must be available to the agent user (start.sh adds ~/.varlock/bin to PATH).
253253
# Install as agent user so it lands in the right home directory.
254254
AGENT_VARLOCK="$BAUDBOT_HOME/.varlock/bin/varlock"
255-
if [ -x "$AGENT_VARLOCK" ]; then
255+
AGENT_VARLOCK_CONFIG_BIN="$BAUDBOT_HOME/.config/varlock/bin/varlock"
256+
if [ -x "$AGENT_VARLOCK" ] || [ -x "$AGENT_VARLOCK_CONFIG_BIN" ]; then
256257
echo "varlock already installed for baudbot_agent, skipping"
257258
else
258259
sudo -u baudbot_agent bash -c 'curl -sSfL https://varlock.dev/install.sh | sh -s'
259260
fi
260261

262+
# Newer varlock installers place the binary under ~/.config/varlock/bin.
263+
# Keep a compatibility link at ~/.varlock/bin/varlock for existing runtime scripts.
264+
if [ -x "$AGENT_VARLOCK_CONFIG_BIN" ]; then
265+
sudo -u baudbot_agent bash -c "mkdir -p '$BAUDBOT_HOME/.varlock/bin' && ln -sf '$AGENT_VARLOCK_CONFIG_BIN' '$AGENT_VARLOCK'"
266+
fi
267+
261268
echo "=== Publishing initial git-free /opt release ==="
262269
# Build an immutable release snapshot from the local source checkout, then deploy
263270
# from /opt/baudbot/releases/<sha>. This keeps live operations decoupled from

0 commit comments

Comments
 (0)