mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 03:35:00 +00:00
copy
This commit is contained in:
parent
1dcc5ca9f3
commit
5d30c71ccf
1 changed files with 2 additions and 2 deletions
|
@ -1237,8 +1237,8 @@ class Coder:
|
||||||
|
|
||||||
if max_input_tokens and input_tokens >= max_input_tokens:
|
if max_input_tokens and input_tokens >= max_input_tokens:
|
||||||
self.io.tool_error(
|
self.io.tool_error(
|
||||||
f"Your current chat context {input_tokens:,} exceeds the model's"
|
f"Your current chat context {input_tokens:,} exceeds the"
|
||||||
f" {max_input_tokens:,} token limit!"
|
f" {max_input_tokens:,} token limit for {self.main_model.name}!"
|
||||||
)
|
)
|
||||||
self.io.tool_output("To reduce the chat context:")
|
self.io.tool_output("To reduce the chat context:")
|
||||||
self.io.tool_output("- Use /drop to remove unneeded files from the chat")
|
self.io.tool_output("- Use /drop to remove unneeded files from the chat")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue