dsh-llm-third-party-native: Connecting to Third-Party Messages Endpoints with DeepSeek's Native Adapter

dsh-llm-third-party-native registers a standalone Provider in DSH, running in parallel with deepseek-official. It invokes Anthropic-compatible Messages endpoints (e.g., OpenRouter, LiteLLM) via DeepSeekAdapter. The plugin fills in thinking.budget_tokens within prepareExtensions, strips unsigned thinking replays, and appends session_id to improve third-party gateway compatibility and session affinity. Settings expose configuration for Base URL, credentials, and the model list, with support for DEPLOYMENT_PERSONA_SUFFIX. A local SearXNG-powered ctx.web search is included. Requires DSH >=0.2.2-rc.3 and Node >=20; Docker is required for the search feature. Install via `dsh plugin add <local-directory>`.

Read More