Selector de agentes
This commit is contained in:
@@ -141,7 +141,7 @@ class ContextEngine:
|
||||
conv_len = len(conversation) if conversation else 0
|
||||
debug_entry = {
|
||||
"timestamp": time.time(),
|
||||
"agent": agent.role.value,
|
||||
"agent": agent.role,
|
||||
"agent_name": agent.name,
|
||||
"total_tokens": total_tokens,
|
||||
"sections": section_summary,
|
||||
@@ -161,7 +161,7 @@ class ContextEngine:
|
||||
logger.info(
|
||||
"Context built for [%s/%s] — %d sections, ~%d tokens, artifacts=%d, conversation=%d msgs",
|
||||
session.session_id[:8],
|
||||
agent.role.value,
|
||||
agent.role,
|
||||
len(sections),
|
||||
total_tokens,
|
||||
len(artifacts) if artifacts else 0,
|
||||
|
||||
Reference in New Issue
Block a user