mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
prettier /tokens output
This commit is contained in:
parent
949a633e95
commit
803423cc6a
2 changed files with 14 additions and 8 deletions
|
@ -371,8 +371,9 @@ class Coder:
|
|||
exhausted = True
|
||||
|
||||
if exhausted:
|
||||
self.io.tool_error("The chat session is larger than the context window!")
|
||||
self.io.tool_error(" - Use /tokens to see token usage.")
|
||||
self.io.tool_error("The chat session is larger than the context window!\n")
|
||||
self.commands.cmd_tokens("")
|
||||
self.io.tool_error("\nTo reduce token usage:")
|
||||
self.io.tool_error(" - Use /drop to remove unneeded files from the chat session.")
|
||||
self.io.tool_error(" - Use /clear to clear chat history.")
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue