model value decides whether the request uses task routing or calls a registered provider directly.
What the proxy adds
Task routing
Resolve a task version, choose a weighted target, apply its parameters, and keep conversations sticky.
Credential isolation
Replace the W&B bearer key with the selected provider credential without forwarding client headers.
Training-grade traces
Record the complete dispatched request and response with task and provider identity.
OpenAI-compatible transport
Preserve non-streaming and streaming Chat Completions response behavior.
Supported routes
Task requests are traced automatically. Direct provider calls are not traced unless
metadata["wandb.project"] selects a destination.
API: Send a task-routed request (POST /chat/completions)
API: Send a task-routed request (POST /chat/completions)