Introduction¶
The plugin ecosystem of DeepSeek Harness (DSH) allows users to extend model integration capabilities. dsh-vertex-argon is a plugin adapter for the Google Gemini 4 Argon model, providing dual-channel access support through Google Vertex AI and the Google Gemini Developer API. This plugin fixes HTTP 400 errors caused by the built-in pi-ai adapter when it incorrectly passes the thinkingBudget parameter, and natively supports three reasoning levels, thought summaries, v1beta1 long-text continuation, and signed multi-turn tool call replay.
Plugin Overview¶
- Name: dsh-vertex-argon
- Owner: higekibaka
- Category: Model inference
- License: MIT
- Summary: Google Vertex AI & Gemini API Dual-Route Gemini 4 Argon Plugin for DeepSeek Harness (DSH)
Installation¶
To install this plugin in a local environment, ensure the DeepSeek Harness version meets the requirements (0.1.7-rc.2, 0.2.0-rc.1, or 0.2.0-rc.2) and the Node.js version is ^22.19.0 or >=24.0.0.
Method 1: Install using the CLI
dsh plugin --profile web add dsh-vertex-argon
Method 2: Install in the DSH chat box
Directly enter the following instruction in a DSH session:
请用 plugin_manager 的 install_bundle 安装 dsh-vertex-argon
Configuration and Usage¶
The plugin supports dual-channel configuration. Users can choose one or configure both according to their needs.
Channel A: Google Vertex AI¶
- Obtain the service account JSON key file in the Google Cloud console.
- Set the
GOOGLE_APPLICATION_CREDENTIALSsystem environment variable to point to the JSON file path. - Select
Vertex Argon → Gemini 4 Argon (Vertex AI)in the DSH model selector.
Channel B: Google Gemini API¶
- Configure
GOOGLE_API_KEYin DSH settings. - Select
Vertex Argon → Gemini 4 Argon (Gemini API)in the model selector.
Core Features¶
This plugin optimizes parameter handling and long-text generation:
- Native reasoning levels: Supports
LOW,MEDIUM, andHIGHreasoning levels instead of using thethinkingBudgetparameter, which can easily cause errors. - Thought summaries: Enables
includeThoughts: true, with streaming parsing and display of the chain of thought. - Long-text continuation: Enables the
v1beta1long decoding continuation mechanism, supporting zero-latency continuation across 64K segments. - Tool call signing: Keeps
provider/modeland thethoughtSignaturesignature consistent across the full chain, ensuring normal multi-turn tool calls. - Parameter sanitization: Automatically removes invalid sampling parameters such as
temperature,topP, andtopK. - Automatic detection: Automatically detects dual-channel configuration without manually modifying YAML configuration files.
Settings Page Configuration¶
Go to DSH Settings -> Vertex Argon to adjust the following configuration items in real time:
| Configuration Field | Description |
|---|---|
reasoning |
Default reasoning level (low/medium/high) |
longDecode |
Whether to enable v1beta1 long decoding continuation |
maxTokens |
Maximum output budget; with long decoding enabled, it can be set up to 524,288 |
contextWindow |
Total shared context window for input, thinking, and output |
Known Compatibility Issues¶
When using a Google channel proxy, this plugin has known compatibility issues with billion-context; wait for an upstream fix or avoid them through configuration.
- HTTP 400 error: When
billion-contextappends a compression reminder to ausermessage, it may cause an abnormal order inparts, triggering a Vertex AI error. - Signature fragment filtering: Independent
{ thoughtSignature }fragments in streaming responses may be filtered by the Google loop adapter, affecting the continuity of long-chain reasoning.
Ecosystem References¶
- GitHub repository: https://github.com/higekibaka/dsh-vertex-argon
- Plugin directory: https://www.skillhub.cn/plugins/higekibaka/dsh-vertex-argon