goose (gateway)
Route goose’s LLM calls through the Respan gateway for automatic logging, caching, and model switching. goose’s OpenAI provider accepts a custom host and path, so only your RESPAN_API_KEY is needed.
Setup
Set environment variables
Add to your shell profile (.bashrc, .zshrc, or PowerShell $PROFILE):
OPENAI_HOST is the origin only. OPENAI_BASE_PATH is the path goose appends to it, so the two together resolve to https://api.respan.ai/api/chat/completions.
You can set the same values interactively with goose configure, choose Configure Providers, then OpenAI, and enter the host and key when prompted.
No separate OpenAI API key needed. The Respan gateway handles provider authentication.
Switch models
Change GOOSE_MODEL to use any of the 1000+ models available through the gateway.
See the full model list.