mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-30 12:59:32 +00:00
fix: Use duration=0s to fire-and-forget on start service API
The Sprite start service API returns streaming NDJSON, causing curl -f to fail with exit code 22. Use duration=0s to return immediately and drop -f flag since the response is streaming. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b7b102a352
commit
66221dac80
3 changed files with 3 additions and 3 deletions
2
.github/workflows/improve.yml
vendored
2
.github/workflows/improve.yml
vendored
|
|
@ -19,5 +19,5 @@ jobs:
|
|||
SPRITE_NAME: ${{ secrets.IMPROVE_SPRITE_NAME }}
|
||||
SERVICE_NAME: ${{ secrets.IMPROVE_SERVICE_NAME }}
|
||||
run: |
|
||||
curl -sf -X POST "https://api.sprites.dev/v1/sprites/${SPRITE_NAME}/services/${SERVICE_NAME}/start" \
|
||||
curl -s -X POST "https://api.sprites.dev/v1/sprites/${SPRITE_NAME}/services/${SERVICE_NAME}/start?duration=0s" \
|
||||
-H "Authorization: Bearer ${SPRITE_TOKEN}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue