DeepSeek Harness (gateway)
Route DeepSeek Harness’ LLM calls through the Respan gateway for automatic logging, caching, and model switching. dsh supports custom OpenAI-compatible and Anthropic-compatible providers, so only your RESPAN_API_KEY is needed.
Setup
Add Respan as a provider
Edit $DSH_HOME/settings.yaml (defaults to ~/.dsh/settings.yaml) and add a provider under the llm-pi-ai section:
apiKeyEnv is the name of the environment variable that holds your key. Export it in your shell profile:
You can do the same from the web UI: run dsh web, open Settings, then Models, choose Add a custom provider, and fill in the provider ID respan, the base URL https://api.respan.ai/api, the openai-completions protocol, your key, and at least one model.
No separate provider key needed. The Respan gateway handles provider authentication.
Switch models
Add more entries under models and change model in the patch overlay (or pick a model in the UI) to use any of the 1000+ models available through the gateway.
See the full model list.