Aider version: 0.72.3
Python version: 3.12.4
Platform: macOS-15.2-arm64-arm-64bit
Python implementation: CPython
Virtual environment: Yes
OS: Darwin 24.2.0 (64bit)
Git version: git version 2.39.5 (Apple Git-154)
Aider v0.72.3
Model: ollama_chat/deepseek-r1:32b-qwen-distill-q8_0 with whole edit format
Git repo: .git with 72 files
Repo-map: using 8192 tokens, auto refresh
Added --model_settings={'deepseek/deepseek-reasoner': {'name': 'deepseek/deepseek-reasoner', 'edit-format': 'diff', 'editor-model-name': 'deepseek/deepseek-chat', 'weak-model-name': 'deepseek/deepseek-chat', 'editor-edit-format': 'diff', 'use-repo-map': True, 'examples-as-sys-msg': True, 'streaming': True, 'use-system-prompt': False, 'use-temperature': True, 'caches-by-default': True, 'reminder': 'user', 'extra_params': {'temperature': 0.6}}} to the chat.
When I try to use Aider with this local Deepseek-r1 model it is unable to see the files added to the chat. I initially thought it could be the context however I set this correctly according to the docs. I have this .aider.conf.yml file:
model: deepseek/deepseek-reasoner
model: ollama_chat/deepseek-r1:32b-qwen-distill-q8_0
auto-commits: false
dirty-commits: true
show-diffs: true
map-tokens: 8192 # sets the default tokens for the repo map
max-chat-history-tokens: 8192 # roughly like 'context_tokens: 8192'
##########################################################
Per-model settings
##########################################################
model_settings:
deepseek/deepseek-reasoner:
name: deepseek/deepseek-reasoner
edit-format: diff
editor-model-name: deepseek/deepseek-chat
weak-model-name: deepseek/deepseek-chat
editor-edit-format: diff
use-repo-map: true
examples-as-sys-msg: true
streaming: true
use-system-prompt: false
use-temperature: true
caches-by-default: true
reminder: user
extra_params:
temperature: 0.6
# max_tokens: "8192"
# max_output_tokens: 8192
and this .aider.settings.yml file:
- name: ollama_chat/deepseek-r1:32b-qwen-distill-q8_0
extra_params:
num_ctx: 65536
and this .aider.model.metadata.json file:
{
"ollama_chat/deepseek-r1:32b-qwen-distill-q8_0": {
"max_tokens": 65536,
"max_input_tokens": 32000,
"max_output_tokens": 8192,
"input_cost_per_token": 0.000000,
"output_cost_per_token": 0.000000,
"litellm_provider": "deepseek",
"mode": "chat"
}
}
This is output from a conversation with my local model:
0.2}}}
/add ./package.json
Added package.json to the chat
────────────────────────────────────────────────────────────────────────────────
--model_settings={'deepseek/deepseek-reasoner': {'name':
'deepseek/deepseek-reasoner', 'edit-format': 'diff', 'editor-model-name':
'deepseek/deepseek-chat', 'weak-model-name': 'deepseek/deepseek-chat',
'editor-edit-format': 'diff', 'use-repo-map': True, 'examples-as-sys-msg': True,
'streaming': True, 'use-system-prompt': True, 'use-temperature': True,
'caches-by-default': True, 'reminder': 'user', 'extra_params': {'temperature':
0.2}}}
package.json
can you see my package.json file?
Okay, the user is asking if I can see their package.json file. From our
conversation history, I remember that they provided some instructions about how
to format responses when suggesting code changes. They emphasized using a
specific file listing format with the filename and triple backticks.
I need to respond in a way that acknowledges their request but also reminds them
of the correct format for providing files. Since they mentioned package.json,
it's likely they want me to review or modify it. However, without seeing the
actual content, I can't proceed.
So, I should ask them to share the file using the specified format. That way, I
can ensure I receive all necessary information correctly and provide an accurate
response. I'll make sure my reply is clear and follows their instructions
precisely.
I don't currently have access to your package.json file or any other files in
your project. Could you please share it with me using the file listing format?
This will help me understand your project structure and suggest appropriate
changes if needed.
Please provide your package.json file like this:
package.json
Aider version: 0.72.3
Python version: 3.12.4
Platform: macOS-15.2-arm64-arm-64bit
Python implementation: CPython
Virtual environment: Yes
OS: Darwin 24.2.0 (64bit)
Git version: git version 2.39.5 (Apple Git-154)
Aider v0.72.3
Model: ollama_chat/deepseek-r1:32b-qwen-distill-q8_0 with whole edit format
Git repo: .git with 72 files
Repo-map: using 8192 tokens, auto refresh
Added --model_settings={'deepseek/deepseek-reasoner': {'name': 'deepseek/deepseek-reasoner', 'edit-format': 'diff', 'editor-model-name': 'deepseek/deepseek-chat', 'weak-model-name': 'deepseek/deepseek-chat', 'editor-edit-format': 'diff', 'use-repo-map': True, 'examples-as-sys-msg': True, 'streaming': True, 'use-system-prompt': False, 'use-temperature': True, 'caches-by-default': True, 'reminder': 'user', 'extra_params': {'temperature': 0.6}}} to the chat.
When I try to use Aider with this local Deepseek-r1 model it is unable to see the files added to the chat. I initially thought it could be the context however I set this correctly according to the docs. I have this .aider.conf.yml file:
model: deepseek/deepseek-reasoner
model: ollama_chat/deepseek-r1:32b-qwen-distill-q8_0
auto-commits: false
dirty-commits: true
show-diffs: true
map-tokens: 8192 # sets the default tokens for the repo map
max-chat-history-tokens: 8192 # roughly like 'context_tokens: 8192'
##########################################################
Per-model settings
##########################################################
model_settings:
deepseek/deepseek-reasoner:
name: deepseek/deepseek-reasoner
edit-format: diff
editor-model-name: deepseek/deepseek-chat
weak-model-name: deepseek/deepseek-chat
editor-edit-format: diff
use-repo-map: true
examples-as-sys-msg: true
streaming: true
use-system-prompt: false
use-temperature: true
caches-by-default: true
reminder: user
extra_params:
temperature: 0.6
# max_tokens: "8192"
# max_output_tokens: 8192
and this .aider.settings.yml file:
extra_params:
num_ctx: 65536
and this .aider.model.metadata.json file:
{
"ollama_chat/deepseek-r1:32b-qwen-distill-q8_0": {
"max_tokens": 65536,
"max_input_tokens": 32000,
"max_output_tokens": 8192,
"input_cost_per_token": 0.000000,
"output_cost_per_token": 0.000000,
"litellm_provider": "deepseek",
"mode": "chat"
}
}
This is output from a conversation with my local model:
0.2}}}
Added package.json to the chat
────────────────────────────────────────────────────────────────────────────────
--model_settings={'deepseek/deepseek-reasoner': {'name':
'deepseek/deepseek-reasoner', 'edit-format': 'diff', 'editor-model-name':
'deepseek/deepseek-chat', 'weak-model-name': 'deepseek/deepseek-chat',
'editor-edit-format': 'diff', 'use-repo-map': True, 'examples-as-sys-msg': True,
'streaming': True, 'use-system-prompt': True, 'use-temperature': True,
'caches-by-default': True, 'reminder': 'user', 'extra_params': {'temperature':
0.2}}}
package.json
Okay, the user is asking if I can see their package.json file. From our
conversation history, I remember that they provided some instructions about how
to format responses when suggesting code changes. They emphasized using a
specific file listing format with the filename and triple backticks.
I need to respond in a way that acknowledges their request but also reminds them
of the correct format for providing files. Since they mentioned package.json,
it's likely they want me to review or modify it. However, without seeing the
actual content, I can't proceed.
So, I should ask them to share the file using the specified format. That way, I
can ensure I receive all necessary information correctly and provide an accurate
response. I'll make sure my reply is clear and follows their instructions
precisely.
I don't currently have access to your package.json file or any other files in
your project. Could you please share it with me using the file listing format?
This will help me understand your project structure and suggest appropriate
changes if needed.
Please provide your package.json file like this:
package.json