mirror of
https://github.com/usestrix/strix.git
synced 2026-09-05 08:06:08 +00:00
refactor: update agent tree status indicators
This commit is contained in:
parent
da3c38e8bc
commit
c2254a2fed
1 changed files with 15 additions and 13 deletions
|
|
@ -914,13 +914,13 @@ class StrixTUIApp(App): # type: ignore[misc]
|
|||
status = agent_data.get("status", "running")
|
||||
|
||||
status_indicators = {
|
||||
"running": "●",
|
||||
"waiting": "○",
|
||||
"completed": "◆",
|
||||
"failed": "◇",
|
||||
"running": "⚪",
|
||||
"waiting": "⏸",
|
||||
"completed": "🟢",
|
||||
"failed": "🔴",
|
||||
"stopped": "■",
|
||||
"stopping": "○",
|
||||
"llm_failed": "◇",
|
||||
"llm_failed": "🔴",
|
||||
}
|
||||
|
||||
status_icon = status_indicators.get(status, "○")
|
||||
|
|
@ -1469,12 +1469,13 @@ class StrixTUIApp(App): # type: ignore[misc]
|
|||
agent_name_raw = agent_data.get("name", "Agent")
|
||||
|
||||
status_indicators = {
|
||||
"running": "●",
|
||||
"waiting": "○",
|
||||
"completed": "◆",
|
||||
"failed": "◇",
|
||||
"running": "⚪",
|
||||
"waiting": "⏸",
|
||||
"completed": "🟢",
|
||||
"failed": "🔴",
|
||||
"stopped": "■",
|
||||
"stopping": "○",
|
||||
"llm_failed": "🔴",
|
||||
}
|
||||
|
||||
status_icon = status_indicators.get(status, "○")
|
||||
|
|
@ -1543,12 +1544,13 @@ class StrixTUIApp(App): # type: ignore[misc]
|
|||
status = agent_data.get("status", "running")
|
||||
|
||||
status_indicators = {
|
||||
"running": "●",
|
||||
"waiting": "○",
|
||||
"completed": "◆",
|
||||
"failed": "◇",
|
||||
"running": "⚪",
|
||||
"waiting": "⏸",
|
||||
"completed": "🟢",
|
||||
"failed": "🔴",
|
||||
"stopped": "■",
|
||||
"stopping": "○",
|
||||
"llm_failed": "🔴",
|
||||
}
|
||||
|
||||
status_icon = status_indicators.get(status, "○")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue