Add model settings for DeepSeek R1 and V3 family on Azure AI Foundry#5169
Open
Cyberfilo wants to merge 1 commit into
Open
Add model settings for DeepSeek R1 and V3 family on Azure AI Foundry#5169Cyberfilo wants to merge 1 commit into
Cyberfilo wants to merge 1 commit into
Conversation
Litellm's pricing JSON tracks azure_ai/deepseek-r1, azure_ai/deepseek-v3, azure_ai/deepseek-v3-0324, and azure_ai/deepseek-v3.2 (DeepSeek hosted via Azure AI Foundry — a managed alternative to the native DeepSeek API). Aider had no `azure_ai/` provider entries, so users routing DeepSeek through Foundry got the wrong defaults. Mirrors the existing `deepseek/deepseek-reasoner` and `deepseek/deepseek-chat` blocks: - azure_ai/deepseek-r1 — reasoner-style, `max_tokens: 64000`, `use_temperature: false`, weak model routes to azure_ai/deepseek-v3 - azure_ai/deepseek-v3 / v3-0324 / v3.2 — chat-style, `max_tokens: 8192`, `reminder: sys`, `caches_by_default: true` All entries use the standard `edit_format: diff` with repo map and sys-message examples.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds four entries to `aider/resources/model-settings.yml` for the DeepSeek family hosted on Azure AI Foundry (`azure_ai/` provider — distinct from the native `deepseek/` provider):
These models exist in litellm's pricing JSON (aider's upstream source for model metadata via `ModelInfoManager.MODEL_INFO_URL`) but were missing project-side settings. Without them, aider falls back to defaults that don't match the DeepSeek family conventions (`reminder: sys`, `caches_by_default: true`, `use_temperature: false` for the reasoner).
Settings shape
Mirrors the existing native `deepseek/deepseek-reasoner` and `deepseek/deepseek-chat` blocks exactly:
Test plan