red if exhausted

This commit is contained in:
Paul Gauthier 2023-06-23 10:13:13 -07:00
parent f9599f87a2
commit f32580caf2

View file

@ -144,7 +144,7 @@ class Commands:
if remaining > 0:
self.io.tool_output(f"{fmt(remaining)} tokens remaining in context window")
else:
self.io.tool_output(f"{fmt(remaining)} tokens remaining, window exhausted!")
self.io.tool_error(f"{fmt(remaining)} tokens remaining, window exhausted!")
self.io.tool_output(f"{fmt(limit)} tokens max context window size")
def cmd_undo(self, args):