Skip to content

feat(models): add DeepSeek V3.2 model via canopywave - #1305

Merged
steebchen merged 1 commit into
mainfrom
feat/models-3.1
Dec 8, 2025
Merged

steebchen merged 1 commit into
mainfrom
feat/models-3.1

Conversation

@steebchen

@steebchen steebchen commented Dec 7, 2025

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • New Features
    • Added support for DeepSeek V3.2 model via Canopywave provider, featuring 128K context size and JSON output capabilities.

✏️ Tip: You can customize this high-level summary in your review settings.

Copilot AI review requested due to automatic review settings December 7, 2025 06:27
@coderabbitai

coderabbitai Bot commented Dec 7, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

Added a new CanopyWave provider entry for DeepSeek V3.2 model in the model metadata configuration. The entry includes specific pricing (0.3 discount), JSON output support (enabled), context size of 128,000 tokens, and enables streaming, vision, and tools capabilities.

Changes

Cohort / File(s) Summary
DeepSeek V3.2 Model Provider Addition
packages/models/src/models/deepseek.ts
Added new CanopyWave provider entry to DeepSeek V3.2 model with model name deepseek/deepseek-chat-v3.2, discount 0.3, JSON output schema disabled, JSON output enabled, 128K context size, and streaming/vision/tools support

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

  • Verify CanopyWave provider configuration aligns with existing v3.1 entry structure and pricing
  • Confirm JSON output flags and discount value are intentional
  • Check context size (128K) matches DeepSeek V3.2 specifications

Possibly related PRs

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding a new DeepSeek V3.2 model configuration via the canopywave provider to the models file.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/models-3.1

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 127ffe2 and a37542d.

📒 Files selected for processing (1)
  • packages/models/src/models/deepseek.ts (1 hunks)
🧰 Additional context used
📓 Path-based instructions (4)
**/*.{ts,tsx}

📄 CodeRabbit inference engine (CLAUDE.md)

**/*.{ts,tsx}: Never use any or as any unless absolutely necessary in TypeScript code
For database reads: Use db().query.<table>.findMany() or db().query.<table>.findFirst()

Files:

  • packages/models/src/models/deepseek.ts
**/*.{ts,tsx,js,jsx,json,md}

📄 CodeRabbit inference engine (CLAUDE.md)

Always use tabs for indentation

Files:

  • packages/models/src/models/deepseek.ts
**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (CLAUDE.md)

**/*.{ts,tsx,js,jsx}: Always use top-level import, never use require or dynamic imports
No unnecessary code comments

Files:

  • packages/models/src/models/deepseek.ts
**/*.{js,ts,tsx,jsx}

📄 CodeRabbit inference engine (AGENTS.md)

Always use top-level import, never use require or dynamic imports

Files:

  • packages/models/src/models/deepseek.ts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
  • GitHub Check: Upload results
  • GitHub Check: test / run
  • GitHub Check: lint / run
  • GitHub Check: generate / run
  • GitHub Check: build / run
  • GitHub Check: e2e-shards (1)
  • GitHub Check: e2e-shards (2)
  • GitHub Check: e2e-shards (5)
  • GitHub Check: e2e-shards (3)
  • GitHub Check: e2e-shards (4)
  • GitHub Check: autofix
🔇 Additional comments (1)
packages/models/src/models/deepseek.ts (1)

196-210: DeepSeek V3.2 canopywave provider entry looks consistent and well-typed

The new canopywave provider mirrors the structure and capability flags of existing DeepSeek entries, pricing/discount fields are within expected ranges, and the object shape satisfies ModelDefinition usage. No issues from a typing or configuration standpoint.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@steebchen steebchen changed the title feat(models): add DeepSeek Chat V3.2 model via canopywave feat(models): add DeepSeek V3.2 model via canopywave Dec 7, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for the DeepSeek Chat V3.2 model through the canopywave provider, expanding the available provider options for the latest DeepSeek model.

  • Adds canopywave provider configuration for deepseek-v3.2 model
  • Configures pricing at $0.28 per 1M input tokens and $0.42 per 1M output tokens with a 30% discount
  • Enables vision, tools, and JSON output capabilities for the canopywave provider

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@steebchen
steebchen added this pull request to the merge queue Dec 8, 2025
Merged via the queue into main with commit caf434a Dec 8, 2025
30 of 33 checks passed
@steebchen
steebchen deleted the feat/models-3.1 branch December 8, 2025 07:31
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.

2 participants