fix(langchain): collapse _write_todos ToolMessage to one line

`ruff format` wants the now-shorter message text on a single line.
The previous multi-line layout fit the longer "Updated todo list to
{todos}" payload; "Todo list updated." is short enough to inline.
This commit is contained in:
Nick Hollon
2026-05-26 12:07:39 -04:00
parent db7460c35f
commit dc139746f1

View File

@@ -149,9 +149,7 @@ def _write_todos(
return Command(
update={
"todos": todos,
"messages": [
ToolMessage("Todo list updated.", tool_call_id=runtime.tool_call_id)
],
"messages": [ToolMessage("Todo list updated.", tool_call_id=runtime.tool_call_id)],
}
)