claude-connector: Messages API backend for API-key auth (tools, thinking, caching) #4
Loading…
Reference in a new issue
No description provided.
Delete branch "hands/connector-messages-backend"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A connector whose document says
authis an API key now answers withMessagesBackend: one non-streamingPOST /v1/messagesper call (anthropic-version 2026-10-21, ureq + rustls). The CLI keeps only the subscription token;ClaudeCodeConfig.auth, the API-key descriptor variable and its tests are deleted.anthropic-messages),cache_control5m/1h and cache read/write usage map natively; the contract's shapes are unchanged.x-api-keyheader.Requiredisautoplus a system sentence; an output schema isoutput_config.formatjson_schema rather than a forcedanswertool; reasoning effort is adaptive thinking plusoutput_config.effort.cargo test --locked -p claude-connector(163 lib + integration tests green),cargo clippy --locked --all-targets -- -D warningsclean. No real API call was made.Not merged; for review.