Minor agent-orchestrator updates (#746)

Tidy agent-orchestrator logs

Added CLI support for selecting the pattern...

  tg-invoke-agent -q "What is the document about?" -p supervisor -v
  tg-invoke-agent -q "What is the document about?" -p plan-then-execute -v
  tg-invoke-agent -q "What is the document about?" -p react -v

Added new event types to tg-show-explain-trace
This commit is contained in:
cybermaggedon 2026-03-31 13:29:04 +01:00 committed by GitHub
parent 816a8cfcf6
commit 89e13a756a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 152 additions and 75 deletions

View file

@ -999,8 +999,6 @@ class ExplainabilityClient:
trace = {
"question": None,
"steps": [],
"iterations": [], # Backwards compatibility for ReAct
"conclusion": None,
}
# Fetch question/session
@ -1015,11 +1013,6 @@ class ExplainabilityClient:
is_first=True, max_depth=50,
)
# Backwards compat: populate iterations from steps
trace["iterations"] = [
s for s in trace["steps"] if isinstance(s, Analysis)
]
return trace
def _follow_provenance_chain(
@ -1081,7 +1074,6 @@ class ExplainabilityClient:
elif isinstance(entity, (Conclusion, Synthesis)):
trace["steps"].append(entity)
trace["conclusion"] = entity
def list_sessions(
self,