Skip to content

for-agentrouter-d4f (prerelease)

Pre-release
Pre-release

Choose a tag to compare

@crazypeace crazypeace released this 23 Sep 12:18
· 5 commits to for-agentrouter-d4f since this release

Patched build for agentrouter's deepseek-v4-flash

Using agentrouter's deepseek-v4-flash would fail with HTTP 400: The content[].thinking in the thinking mode must be passed back to the API.
image

The patch adds a request-format: anthropic per-provider option that translates OpenAI chat-completions to Anthropic Messages before forwarding to agentrouter, and translates responses back. Reasoning content (reasoning_content / thinking blocks) round-trips correctly between the two protocols.

How to use

See docs/agentrouter-deepseek-v4-flash-setup_CN.md for the deployment guide (Chinese).