1
0

[loop-cycle-56] fix: resolve 5 lint errors on main (#203) (#224)

This commit is contained in:
2026-03-15 13:40:40 -04:00
parent b4cb3e9975
commit a50af74ea2
6 changed files with 41 additions and 31 deletions

View File

@@ -138,7 +138,9 @@ async def chat_with_tools(message: str, session_id: str | None = None):
try:
run_output = await agent.arun(message, stream=False, session_id=sid)
# Record Timmy response after getting it
response_text = run_output.content if hasattr(run_output, "content") and run_output.content else ""
response_text = (
run_output.content if hasattr(run_output, "content") and run_output.content else ""
)
session_logger.record_message("timmy", response_text)
session_logger.flush()
return run_output