debug: log tools count and names in portal before execute_stream
This commit is contained in:
parent
32c800d1e4
commit
b6ec13cbca
|
|
@ -595,7 +595,10 @@ async def portal_websocket(websocket: WebSocket):
|
|||
model = agent.get_model()
|
||||
system_prompt = agent.get_system_prompt()
|
||||
timeout_seconds = react_config["timeout_seconds"]
|
||||
|
||||
logger.info(
|
||||
f"[portal] agent='{agent_name}' tools={len(tools)} "
|
||||
f"[{', '.join(t.name for t in tools)}] model={model}"
|
||||
)
|
||||
collected_output: list[str] = []
|
||||
try:
|
||||
async for event in react_engine.execute_stream(
|
||||
|
|
|
|||
Loading…
Reference in New Issue