fix: add DeepSeek V4 model definitions (v4-flash and v4-pro)#5429
Open
ashishgowdamj wants to merge 2 commits into
Open
fix: add DeepSeek V4 model definitions (v4-flash and v4-pro)#5429ashishgowdamj wants to merge 2 commits into
ashishgowdamj wants to merge 2 commits into
Conversation
This PR addresses issues in voice.py error handling where multiple exception blocks were redundantly cleaning up temp_wav files, and adds the missing shutil import for proper cleanup. Also fixes docstring formatting in commands.py.
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.
Adds built-in support for
deepseek/deepseek-v4-flashanddeepseek/deepseek-v4-promodels so users no longer need manual.aider.model.settings.ymland.aider.model.metadata.jsonconfiguration files.Changes:
aider/resources/model-settings.yml
deepseek/deepseek-v4-flashwithedit_format: diff,use_temperature: false,editor_edit_format: editor-diff,max_tokens: 384000deepseek/deepseek-v4-prowith the same settingsaider/resources/model-metadata.json
deepseek/deepseek-v4-flash: $0.14/M input, $0.28/M output, 1M context, 384K max outputdeepseek/deepseek-v4-pro: $0.435/M input, $0.87/M output, 1M context, 384K max outputaider/models.py
Fixes #5255