claw-code/rust/crates/api
Petter Reinholdtsen 95bf18e5cc feat: add local/ routing prefix for model IDs with embedded slashes
Some backends (e.g., gpt.uio.no running Ollama) have model IDs containing
slashes like Qwen/Qwen3.6-27B-FP8. The existing routing prefix logic would
strip 'Qwen/' as a provider prefix, sending only the remainder on the wire
and causing 403 Forbidden from the server.

The new local/ prefix is an escape hatch: it strips just 'local/' and sends
everything after it verbatim, preserving embedded slashes in model IDs.

Usage: --model local/Qwen/Qwen3.6-27B-FP8

This patch was developed with assistance from OpenCode and local Qwen 3.6
API server.
2026-05-27 16:56:32 +02:00
..
benches omx(team): auto-checkpoint worker-1 [1] 2026-05-15 10:30:06 +09:00
src feat: add local/ routing prefix for model IDs with embedded slashes 2026-05-27 16:56:32 +02:00
tests fix(test): update client_integration version string 0.1.0 -> 0.1.3 2026-05-25 12:49:36 +09:00
Cargo.toml US-011: Performance optimization for API request serialization 2026-04-16 11:11:45 +00:00