Skip to content

chore: update deepseek provider docs - #5177

Merged
akshaydeo merged 3 commits into
devfrom
07-14-chore_update_deepseek_provider_docs
Jul 18, 2026
Merged

akshaydeo merged 3 commits into
devfrom
07-14-chore_update_deepseek_provider_docs

Conversation

@sammaji

@sammaji sammaji commented Jul 14, 2026 •

Copy link
Copy Markdown
Member

Summary

Updates the DeepSeek provider documentation to reflect that Chat Completions and the Responses API are now routed through DeepSeek's Anthropic-compatible endpoint (/anthropic/v1/messages) rather than the OpenAI-compatible endpoint. Text Completions continue to use the OpenAI-compatible /beta/completions beta endpoint.

Changes

  • Updated the overview to describe DeepSeek as a mixed-endpoint provider: Anthropic-compatible for Chat Completions and Responses API, OpenAI-compatible for Text Completions
  • Replaced references to OpenAI-compatible chat behavior with Anthropic-compatible equivalents, including authentication (x-api-key instead of Authorization: Bearer), request/response converters, tool calling, and reasoning/thinking parameter mapping
  • Removed the documented internal conversion flow where Responses API requests were first converted to Chat Completions — Responses requests are now sent natively to /anthropic/v1/messages
  • Removed the filtered parameters section (previously OpenAI-specific exclusions) and the stripReasoningDetails behavior note, as these no longer apply to the Anthropic-compatible path
  • Updated the "Known Limitations" accordions to clarify that the user field size limit applies only to Text Completions, and replaced the "Reasoning Details in Assistant Messages" limitation with a "Mixed Endpoint Compatibility" note explaining the two-endpoint architecture and its implications for which provider docs apply

Type of change

  • Bug fix
  • Feature
  • Refactor
  • Documentation
  • Chore/CI

Affected areas

  • Core (Go)
  • Transports (HTTP)
  • Providers/Integrations
  • Plugins
  • UI (React)
  • Docs

How to test

Review the updated docs/providers/supported-providers/deepseek.mdx to confirm:

  • The overview accurately describes the Anthropic-compatible endpoint for Chat Completions and Responses API
  • Cross-references point to the Anthropic provider docs instead of OpenAI for chat and responses behavior
  • The Text Completions section still correctly references the OpenAI-compatible /beta/completions endpoint
  • The known limitations section reflects the current mixed-endpoint architecture

Breaking changes

  • Yes
  • No

Security considerations

The documentation now explicitly calls out that the Anthropic-compatible endpoint uses x-api-key header authentication rather than a bearer token, which is relevant for operators reviewing how provider credentials are transmitted.

Checklist

  • I read docs/contributing/README.md and followed the guidelines
  • I added/updated tests where appropriate
  • I updated documentation where needed
  • I verified builds succeed (Go and UI)
  • I verified the CI pipeline passes locally if applicable

@coderabbitai

coderabbitai Bot commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

DeepSeek provider documentation distinguishes Anthropic-compatible Chat Completions and Responses endpoints from the OpenAI-compatible Text Completions endpoint, updating routing, authentication, parameter mapping, request handling, and compatibility caveats.

Changes

DeepSeek compatibility documentation

Layer / File(s) Summary
Endpoint routing and operation compatibility
docs/providers/supported-providers/deepseek.mdx
Documents Anthropic-compatible routing for Chat Completions and Responses, OpenAI-compatible routing for Text Completions, and the corresponding configuration options.
Request behavior and compatibility caveats
docs/providers/supported-providers/deepseek.mdx
Documents Anthropic authentication, reasoning-to-thinking mappings, native Responses handling, forced tool-choice behavior, extra-parameter handling, and mixed endpoint caveats.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • maximhq/bifrost#5176: Covers the Anthropic-mode routing and endpoint-specific parameter behavior described by this documentation.
  • maximhq/bifrost#5208: Adds DeepSeek E2E coverage for the Anthropic and Responses routing behaviors documented here.

Suggested reviewers: akshaydeo, danpiths, roroghost17

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title is concise and accurately summarizes the main change: updating DeepSeek provider docs.
Description check ✅ Passed The description follows the template well and includes the required summary, changes, type, affected areas, testing, breaking changes, security, and checklist sections.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 07-14-chore_update_deepseek_provider_docs

Comment @coderabbitai help to get the list of available commands.

sammaji commented Jul 14, 2026 •

Copy link
Copy Markdown
Member Author

@sammaji
sammaji force-pushed the 07-14-fix_uses_anthropic_endpoints_in_chat_completion_and_responses_in_deepseek branch from cda389d to 46eed16 Compare July 14, 2026 12:08
@sammaji
sammaji force-pushed the 07-14-chore_update_deepseek_provider_docs branch from c5a5dad to c0d7ee2 Compare July 14, 2026 12:08
@sammaji
sammaji marked this pull request as ready for review July 14, 2026 18:07
Copilot AI review requested due to automatic review settings July 14, 2026 18:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@greptile-apps

greptile-apps Bot commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
docs/providers/supported-providers/deepseek.mdx Updates the DeepSeek provider page to document default OpenAI-compatible routing, optional Anthropic-compatible routing, and endpoint-specific behavior.

Reviews (14): Last reviewed commit: "chore: update deepseek provider docs" | Re-trigger Greptile

Comment thread docs/providers/supported-providers/deepseek.mdx Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/providers/supported-providers/deepseek.mdx`:
- Around line 195-199: Update the “Impact” statement in the “Mixed Endpoint
Compatibility” accordion to limit the OpenAI caveat to endpoint, authentication,
and request/response conversion details. Preserve that shared capabilities such
as reasoning, tools, streaming, and extra_params remain applicable, and retain
the Anthropic documentation cross-reference for Chat Completions and Responses.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: caad0b40-cc4c-4a53-b1a2-cbec9d1a6f13

📥 Commits

Reviewing files that changed from the base of the PR and between 46eed16 and c0d7ee2.

📒 Files selected for processing (1)
  • docs/providers/supported-providers/deepseek.mdx

Comment thread docs/providers/supported-providers/deepseek.mdx Outdated
@sammaji
sammaji force-pushed the 07-14-fix_uses_anthropic_endpoints_in_chat_completion_and_responses_in_deepseek branch from 46eed16 to 215f151 Compare July 14, 2026 19:44
@sammaji
sammaji force-pushed the 07-14-chore_update_deepseek_provider_docs branch from c0d7ee2 to 39fa3f2 Compare July 14, 2026 19:44
Comment thread docs/providers/supported-providers/deepseek.mdx Outdated
@sammaji
sammaji force-pushed the 07-14-chore_update_deepseek_provider_docs branch from 39fa3f2 to 2d5cfe3 Compare July 14, 2026 19:49
@sammaji
sammaji force-pushed the 07-14-fix_uses_anthropic_endpoints_in_chat_completion_and_responses_in_deepseek branch from 215f151 to 7fe0b4e Compare July 14, 2026 19:49
@sammaji
sammaji force-pushed the 07-14-chore_update_deepseek_provider_docs branch from 2d5cfe3 to 7455a0a Compare July 14, 2026 19:49
Comment thread docs/providers/supported-providers/deepseek.mdx Outdated
Comment thread docs/providers/supported-providers/deepseek.mdx Outdated
@sammaji
sammaji force-pushed the 07-14-fix_uses_anthropic_endpoints_in_chat_completion_and_responses_in_deepseek branch from 7fe0b4e to 5692d79 Compare July 16, 2026 11:06
@sammaji
sammaji force-pushed the 07-14-chore_update_deepseek_provider_docs branch 2 times, most recently from 7d7238a to 2eac7a9 Compare July 16, 2026 11:45
@sammaji
sammaji force-pushed the 07-14-fix_uses_anthropic_endpoints_in_chat_completion_and_responses_in_deepseek branch from 5692d79 to 99ebf69 Compare July 16, 2026 11:45

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/providers/supported-providers/deepseek.mdx`:
- Around line 114-116: Remove or relocate the “Extra Parameters” subsection from
the Chat Completions documentation so it is not attributed to that endpoint. If
retained, place it under the provider’s Text Completions operation, preserving
the documented passthrough behavior and endpoint-specific alignment.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 833fe6a6-3d1d-4302-ae0b-c64322c8a56f

📥 Commits

Reviewing files that changed from the base of the PR and between 7455a0a and 2eac7a9.

📒 Files selected for processing (1)
  • docs/providers/supported-providers/deepseek.mdx

Comment thread docs/providers/supported-providers/deepseek.mdx Outdated
@sammaji
sammaji force-pushed the 07-14-fix_uses_anthropic_endpoints_in_chat_completion_and_responses_in_deepseek branch from ce2d3c4 to b7df125 Compare July 17, 2026 11:32
@sammaji
sammaji force-pushed the 07-14-chore_update_deepseek_provider_docs branch from 2e6576d to 700566a Compare July 17, 2026 11:32
@sammaji
sammaji force-pushed the 07-14-chore_update_deepseek_provider_docs branch from 700566a to 609bfb6 Compare July 17, 2026 13:23
@sammaji
sammaji force-pushed the 07-14-fix_uses_anthropic_endpoints_in_chat_completion_and_responses_in_deepseek branch from b7df125 to 1422dfc Compare July 17, 2026 13:23
@sammaji
sammaji force-pushed the 07-14-chore_update_deepseek_provider_docs branch from 609bfb6 to 7d5a1a5 Compare July 17, 2026 14:54
@sammaji
sammaji force-pushed the 07-14-fix_uses_anthropic_endpoints_in_chat_completion_and_responses_in_deepseek branch from 1422dfc to 68d4683 Compare July 17, 2026 14:54
@sammaji
sammaji force-pushed the 07-14-chore_update_deepseek_provider_docs branch from 7d5a1a5 to d1d1779 Compare July 17, 2026 19:09
@sammaji
sammaji force-pushed the 07-14-fix_uses_anthropic_endpoints_in_chat_completion_and_responses_in_deepseek branch from 68d4683 to 491ce5e Compare July 17, 2026 19:09
@sammaji
sammaji force-pushed the 07-14-fix_uses_anthropic_endpoints_in_chat_completion_and_responses_in_deepseek branch from 491ce5e to e6b494b Compare July 18, 2026 04:19
@sammaji
sammaji force-pushed the 07-14-chore_update_deepseek_provider_docs branch from d1d1779 to 0717f57 Compare July 18, 2026 04:19
akshaydeo
akshaydeo previously approved these changes Jul 18, 2026

akshaydeo commented Jul 18, 2026 •

Copy link
Copy Markdown
Contributor

Merge activity

  • Jul 18, 4:02 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jul 18, 4:04 PM UTC: @akshaydeo merged this pull request with Graphite.

@akshaydeo
akshaydeo changed the base branch from 07-14-fix_uses_anthropic_endpoints_in_chat_completion_and_responses_in_deepseek to graphite-base/5177 July 18, 2026 16:03
@akshaydeo
akshaydeo changed the base branch from graphite-base/5177 to dev July 18, 2026 16:04
@akshaydeo
akshaydeo dismissed stale reviews from coderabbitai[bot] and themself July 18, 2026 16:04

The base branch was changed.

@akshaydeo
akshaydeo merged commit c2360dc into dev Jul 18, 2026
11 checks passed
@akshaydeo
akshaydeo deleted the 07-14-chore_update_deepseek_provider_docs branch July 18, 2026 16:04
akhsaul pushed a commit to akhsaul/bifrost that referenced this pull request Aug 27, 2026
## Summary

Updates the DeepSeek provider documentation to reflect that Chat Completions and the Responses API are now routed through DeepSeek's Anthropic-compatible endpoint (`/anthropic/v1/messages`) rather than the OpenAI-compatible endpoint. Text Completions continue to use the OpenAI-compatible `/beta/completions` beta endpoint.

## Changes

- Updated the overview to describe DeepSeek as a mixed-endpoint provider: Anthropic-compatible for Chat Completions and Responses API, OpenAI-compatible for Text Completions
- Replaced references to OpenAI-compatible chat behavior with Anthropic-compatible equivalents, including authentication (`x-api-key` instead of `Authorization: Bearer`), request/response converters, tool calling, and reasoning/thinking parameter mapping
- Removed the documented internal conversion flow where Responses API requests were first converted to Chat Completions — Responses requests are now sent natively to `/anthropic/v1/messages`
- Removed the filtered parameters section (previously OpenAI-specific exclusions) and the `stripReasoningDetails` behavior note, as these no longer apply to the Anthropic-compatible path
- Updated the "Known Limitations" accordions to clarify that the user field size limit applies only to Text Completions, and replaced the "Reasoning Details in Assistant Messages" limitation with a "Mixed Endpoint Compatibility" note explaining the two-endpoint architecture and its implications for which provider docs apply

## Type of change

- [ ] Bug fix
- [ ] Feature
- [ ] Refactor
- [x] Documentation
- [ ] Chore/CI

## Affected areas

- [ ] Core (Go)
- [ ] Transports (HTTP)
- [ ] Providers/Integrations
- [ ] Plugins
- [ ] UI (React)
- [x] Docs

## How to test

Review the updated `docs/providers/supported-providers/deepseek.mdx` to confirm:

- The overview accurately describes the Anthropic-compatible endpoint for Chat Completions and Responses API
- Cross-references point to the Anthropic provider docs instead of OpenAI for chat and responses behavior
- The Text Completions section still correctly references the OpenAI-compatible `/beta/completions` endpoint
- The known limitations section reflects the current mixed-endpoint architecture

## Breaking changes

- [ ] Yes
- [x] No

## Security considerations

The documentation now explicitly calls out that the Anthropic-compatible endpoint uses `x-api-key` header authentication rather than a bearer token, which is relevant for operators reviewing how provider credentials are transmitted.

## Checklist

- [x] I read `docs/contributing/README.md` and followed the guidelines
- [x] I added/updated tests where appropriate
- [x] I updated documentation where needed
- [x] I verified builds succeed (Go and UI)
- [x] I verified the CI pipeline passes locally if applicable
occcat pushed a commit to occcat/bifrost that referenced this pull request Sep 2, 2026
## Summary

Updates the DeepSeek provider documentation to reflect that Chat Completions and the Responses API are now routed through DeepSeek's Anthropic-compatible endpoint (`/anthropic/v1/messages`) rather than the OpenAI-compatible endpoint. Text Completions continue to use the OpenAI-compatible `/beta/completions` beta endpoint.

## Changes

- Updated the overview to describe DeepSeek as a mixed-endpoint provider: Anthropic-compatible for Chat Completions and Responses API, OpenAI-compatible for Text Completions
- Replaced references to OpenAI-compatible chat behavior with Anthropic-compatible equivalents, including authentication (`x-api-key` instead of `Authorization: Bearer`), request/response converters, tool calling, and reasoning/thinking parameter mapping
- Removed the documented internal conversion flow where Responses API requests were first converted to Chat Completions — Responses requests are now sent natively to `/anthropic/v1/messages`
- Removed the filtered parameters section (previously OpenAI-specific exclusions) and the `stripReasoningDetails` behavior note, as these no longer apply to the Anthropic-compatible path
- Updated the "Known Limitations" accordions to clarify that the user field size limit applies only to Text Completions, and replaced the "Reasoning Details in Assistant Messages" limitation with a "Mixed Endpoint Compatibility" note explaining the two-endpoint architecture and its implications for which provider docs apply

## Type of change

- [ ] Bug fix
- [ ] Feature
- [ ] Refactor
- [x] Documentation
- [ ] Chore/CI

## Affected areas

- [ ] Core (Go)
- [ ] Transports (HTTP)
- [ ] Providers/Integrations
- [ ] Plugins
- [ ] UI (React)
- [x] Docs

## How to test

Review the updated `docs/providers/supported-providers/deepseek.mdx` to confirm:

- The overview accurately describes the Anthropic-compatible endpoint for Chat Completions and Responses API
- Cross-references point to the Anthropic provider docs instead of OpenAI for chat and responses behavior
- The Text Completions section still correctly references the OpenAI-compatible `/beta/completions` endpoint
- The known limitations section reflects the current mixed-endpoint architecture

## Breaking changes

- [ ] Yes
- [x] No

## Security considerations

The documentation now explicitly calls out that the Anthropic-compatible endpoint uses `x-api-key` header authentication rather than a bearer token, which is relevant for operators reviewing how provider credentials are transmitted.

## Checklist

- [x] I read `docs/contributing/README.md` and followed the guidelines
- [x] I added/updated tests where appropriate
- [x] I updated documentation where needed
- [x] I verified builds succeed (Go and UI)
- [x] I verified the CI pipeline passes locally if applicable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants