Skip to content

Configure DeepSeek Harness through Requesty - #20

Merged
requesty-ditti merged 2 commits into
mainfrom
devin/1786821968-deepseek-harness
Aug 15, 2026
Merged

Configure DeepSeek Harness through Requesty#20
requesty-ditti merged 2 commits into
mainfrom
devin/1786821968-deepseek-harness

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

Adds DeepSeek Harness (dsh) as a sixth harness. DeepSeekHarness follows the Hermes pattern (YAML, merge and overwrite, shared backup helpers), with two differences worth knowing:

  • Two files. The harness settings file cannot hold a key, only a credential name, so the key goes to a second file the harness reads by that name:

    # $DSH_HOME/settings.yamlllm-pi-ai:
    providers:
    requesty:
    apiKeyEnv: REQUESTY_API_KEYapi: openai-completionsbaseURL: https://router.requesty.ai/v1# $DSH_HOME/.credentials.yamlREQUESTY_API_KEY: rqsty-...

    The credentials file is merged, never replaced, including on the overwrite path, so a user's DEEPSEEK_API_KEY survives. The harness rejects that file if any group or other permission bit is set, which the existing 0o600 write already satisfies. Status requires the stored key as well as the provider, since settings alone do not authenticate.

  • Config directory follows DSH_HOME.DefaultConfigDirDeepSeek returns $DSH_HOME when set and ~/.dsh otherwise, matching where the harness itself looks. Every other harness has a fixed directory.

baseURL keeps the /v1 suffix because the provider speaks openai-completions. Unlike Pi and Hermes there is no Anthropic Messages path here: that protocol works against the router without the suffix, but the harness sends no cache hint, so it buys nothing and costs the OpenAI-format model coverage.

Verified against the real harness rather than only in tests: Configure wrote a DSH_HOME, and dsh --profile headless then ran a task end-to-end through the router on that exact generated config.

Docs page: requestyai/docs#161.

Link to Devin session: https://app.devin.ai/sessions/41af85ae3a0e49dabf09aaa96532d04e
Requested by: @requesty-ditti

Co-Authored-By: Daniel Trugman <daniel@requesty.ai>
@requesty-dittirequesty-ditti self-assigned this Aug 15, 2026
@devin-ai-integration

Copy link
Copy Markdown
ContributorAuthor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@github-actions

github-actionsBot commented Aug 15, 2026

Copy link
Copy Markdown

AI Cost

No spend detected for branch devin/1786821968-deepseek-harness in the last 30 days.

Updated 2026-08-15T20:12Z · last 30 days · data from Requesty

@github-actionsgithub-actionsBot added the cost:$0.00 AI cost for this branch label Aug 15, 2026
Comment threadinternal/harnesses/deepseek.go Outdated
Co-Authored-By: Daniel Trugman <daniel@requesty.ai>
@requesty-ditti
requesty-ditti merged commit 6b6f8c7 into mainAug 15, 2026
6 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cost:$0.00AI cost for this branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@requesty-ditti