mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-05 04:29:53 +08:00
fix
This commit is contained in:
@@ -35,7 +35,7 @@ class DisplayManager:
|
||||
|
||||
def __init__(self):
|
||||
self.rich_available = RICH_AVAILABLE
|
||||
|
||||
|
||||
self.agents_status = {
|
||||
"InvestigateAgent": "pending",
|
||||
"NoteAgent": "pending",
|
||||
@@ -45,7 +45,7 @@ class DisplayManager:
|
||||
"ResponseAgent": "pending",
|
||||
"PrecisionAnswerAgent": "pending",
|
||||
}
|
||||
|
||||
|
||||
self.stats = {
|
||||
"model": "Unknown",
|
||||
"calls": 0,
|
||||
@@ -54,12 +54,11 @@ class DisplayManager:
|
||||
"output_tokens": 0,
|
||||
"cost": 0.0,
|
||||
}
|
||||
|
||||
|
||||
|
||||
# Log buffer
|
||||
self.log_buffer = []
|
||||
self.max_log_lines = 20
|
||||
|
||||
|
||||
# Early return if rich not available (but after initializing core attributes)
|
||||
if not self.rich_available:
|
||||
self.console = None
|
||||
|
||||
Reference in New Issue
Block a user