Skip to content

feat(deepseek): add reasoning support - #549

Merged
njbrake merged 1 commit into
mainfrom
282-deepseek-completion-api-reasoning-support
Oct 16, 2025
Merged

njbrake merged 1 commit into
mainfrom
282-deepseek-completion-api-reasoning-support

Conversation

@njbrake

@njbrake njbrake commented Oct 16, 2025 •

Copy link
Copy Markdown
Contributor

Description

The base openai _normalize_reasoning_on_message already handles Deepseek, all we needed to do is flip it on and add the test

PR Type

🆕 New Feature ## Relevant issues

Checklist

  • I have added unit tests that prove my fix/feature works
  • New and existing tests pass locally
  • Documentation was updated where necessary
  • I have read and followed the contribution guidelines```

@njbrake njbrake linked an issue Oct 16, 2025 that may be closed by this pull request
@njbrake

njbrake commented Oct 16, 2025

Copy link
Copy Markdown
Contributor Author

@codecov

codecov Bot commented Oct 16, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/any_llm/providers/deepseek/deepseek.py 100.00% <100.00%> (ø)

... and 33 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@njbrake
njbrake merged commit 8f62434 into main Oct 16, 2025
13 checks passed
@njbrake
njbrake deleted the 282-deepseek-completion-api-reasoning-support branch October 16, 2025 14:30
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.

Deepseek Completion API Reasoning Support

1 participant