Improved the system prompt
This commit is contained in:
@@ -109,7 +109,7 @@ class SystemMetrics:
|
||||
context.set("disk_total", str(disk.total))
|
||||
|
||||
# Context usage (0-100)
|
||||
context.set("context", str(round(context_usage * 100)))
|
||||
context.set("context_usage", str(round(context_usage * 100)))
|
||||
|
||||
# Standard input buffer size
|
||||
context.set("stdin", "0") # Set by agent
|
||||
@@ -119,4 +119,4 @@ class SystemMetrics:
|
||||
def stop(self):
|
||||
"""Stop the monitoring thread and clean up."""
|
||||
self._stop_event.set()
|
||||
self._monitor_thread.join()
|
||||
self._monitor_thread.join()
|
||||
|
||||
Reference in New Issue
Block a user