magpie icon indicating copy to clipboard operation
magpie copied to clipboard

DSH: route Messages-only `auto/*` groups to `magpie-anthropic` instead of Chat

Open Sakugar opened this issue 2 weeks ago • 0 comments

What you want to do

When an auto/* group's members are all Anthropic Messages–native (e.g. auto/claude-opus-5-5 served only by Messages-native providers), I want DeepSeek Harness to get it under magpie-anthropic, so Claude turns stay native (thinking signatures across tool calls, prompt cache).

Today it always lands under magpie (openai-completions) and every turn is translated Chat → Messages. provider.GroupAPI (internal/provider/native_endpoints.go ~L89-109) only returns Responses or "" (Chat), so dshRouteOf's magpie-anthropic branch is unreachable for groups. The comment says this is intentional because Claude thinking settings are keyed by the member's model id, not the group id.

Proposal: if every member with a known native API speaks Messages, return Messages from GroupAPI (or a DSH-specific variant) and resolve thinking settings from the member chosen at request time. Or add a per-group override to pin a group's DSH route.

Magpie main @ f288cc6, DeepSeek Harness desktop on Windows.

What you do today instead

Hide auto/claude-opus-5-5 / auto/claude-sonnet-5-5 for DSH and expose the single-provider devin/claude-* models instead, which loses failover.

Sakugar avatar Nov 20 '26 19:11 Sakugar