Skip to content

A local-first multi-agent app development platform, built on PenguinHarness

3.1 KB
Raw Blame

AgentHub 0.4.6: a DeepSeek vision model, and DeepSeek on the Responses protocol

  • Date: 2026-08-21
  • Type: feature
  • Scope: core, cli, web, model-catalog, docs
  • PR: #388
  • Breaking: yes — a deepseek-v4* model pointed at a Chat Completions-only endpoint now needs client_type = "openai-chat" set by hand

中文版

@prismshadow/agenthub moved from 0.4.5 to 0.4.6, which adds deepseek-v4-flash-vision-exp and moves the first-party DeepSeek client from Chat Completions to the OpenAI Responses API (agenthub #185). The model catalog gained the new model in two groups, and the Web model dialog's base URL hint now reads /responses for DeepSeek.

Details

  • deepseek-v4-flash-vision-exp joined the DeepSeek group: image input on top of V4 Flash's text capabilities, a 1M context window, and V4 Flash's own price. It is the only vision-capable model in that group: a session running it reads images directly, instead of routing them through the vision_model proxy describe_image uses for text-only models. A fresh Project still defaults to deepseek-v4-flash.
  • deepseek/deepseek-v4-flash-vision-exp joined the OpenRouter group at that gateway's published rates ($0.22 input / $0.66 output / $0.007 cache read per million tokens) and its 1,048,576-token context window. DeepSeek is the only provider serving it there.
  • Both rows record the official off-peak tier, the same convention the existing DeepSeek rows follow: peak hours (Beijing 9:00–12:00 and 14:00–18:00) bill exactly double, and the cost centre uses one rate, so peak usage is under-counted 2x.
  • The protocol-path hint at the right edge of the base URL field reads /responses for the DeepSeek group and for an explicit deepseek-v4 client type. The gateway rows reselling DeepSeek pin openai-chat and keep /chat/completions.
  • The shipped agenthub-models skill lists the new id in both its official and OpenRouter columns, and records which wire protocol the deepseek-v4 client speaks.
  • pnpm-workspace.yaml's minimumReleaseAgeExclude entry names 0.4.6 and drops 0.4.5, as that file's own note instructed.

Compatibility

Existing Projects do not pick up the two new catalog rows on their own: presets are copied into .project_config.toml when a Project is created, and nothing rewrites them afterwards. Use sync presets on the models page to append them; the stored default model is never touched.

A model whose id contains deepseek-v4 and which carries no client_type is routed to the DeepSeek client by its id alone, and that client now posts to {base_url}/responses. Entries pointed at https://api.deepseek.com are unaffected — DeepSeek serves both protocols. An entry pointed at an endpoint that serves Chat Completions only (a self-hosted server, a relay, a third-party DeepSeek-compatible gateway) starts failing after the upgrade: set client_type = "openai-chat" on it, in .project_config.toml or through the models page's protocol selector, and the request shape returns to what it was.