dev.sh: inkluder --ai-gateway-url og --ai-gateway-key ved worker-start
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fa74e255c9
commit
65b395082e
1 changed files with 4 additions and 2 deletions
6
dev.sh
6
dev.sh
|
|
@ -57,8 +57,10 @@ echo ""
|
||||||
echo "=== Starter worker + frontend ==="
|
echo "=== Starter worker + frontend ==="
|
||||||
|
|
||||||
cd "$ROOT/worker"
|
cd "$ROOT/worker"
|
||||||
export AI_GATEWAY_KEY=$(grep LITELLM_MASTER_KEY "$ROOT/.env.local" | cut -d= -f2)
|
AI_GATEWAY_KEY=$(grep LITELLM_MASTER_KEY "$ROOT/.env.local" | cut -d= -f2)
|
||||||
cargo run -- --spacetimedb-url "$SPACETIME_URL" --sync-interval 1 --warmup-limit 100 2>&1 | sed 's/^/[worker] /' &
|
AI_GATEWAY_URL="http://127.0.0.1:4000/v1"
|
||||||
|
cargo run -- --spacetimedb-url "$SPACETIME_URL" --sync-interval 1 --warmup-limit 100 \
|
||||||
|
--ai-gateway-url "$AI_GATEWAY_URL" --ai-gateway-key "$AI_GATEWAY_KEY" 2>&1 | sed 's/^/[worker] /' &
|
||||||
WORKER_PID=$!
|
WORKER_PID=$!
|
||||||
|
|
||||||
cd "$ROOT/web"
|
cd "$ROOT/web"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue