DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

caozhiyuan /

caozhiyuan/dsh-copilot-api

Verified

DeepSeek Harness provider for a copilot-api gateway

★ 1 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@15a91c4a

dsh-copilot-api

Chinese

DeepSeek Harness provider for a copilot-api gateway. Tested with Harness 0.2.1-rc.2.

Install

dsh plugin --profile web add dsh-copilot-api

Restart Harness after the first install. The package inserts entry copilot-api-provider. No profile configuration is required.

Defaults:

  • baseURL: http://localhost:4141 (with or without /v1)
  • protocol: openai-responses
  • credential reference: GITHUB_COPILOT_API_KEY

Save the key in the Models card with Save API key, in Harness credentials, or in the launch environment of that name. Configuration stores the reference name, not the key.

Use anthropic-messages as protocol for Messages.

Change the connection

Override the inserted entry only when a default is wrong. Keep the id copilot-api-provider, and restate every connection field you still need:

- id: copilot-api-provider
  config:
    baseURL: http://localhost:4141
    apiKey: GITHUB_COPILOT_API_KEY
    protocol: openai-responses
    modelRefreshInterval: 120000

apiKey is a credential reference. apiKeyEnv is the same kind of name; when both are set, they must match. headers can be set to custom request headers. modelRefreshInterval is in milliseconds and defaults to 120000 (automatic refresh every 2 minutes); set it to 0 to disable periodic refresh.

From a checkout

cd /absolute/path/dsh-copilot-api
bun install
bun run build
dsh plugin --profile web add /absolute/path/dsh-copilot-api

Model mapping and overrides: docs/models.md. Headers and sessions: docs/headers.md. Development: docs/development.md.

—/ 5

No ratings yet

Verified DSH bundle

Commit 15a91c4a1138

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout