[Frontend] split append tool output (#28333)

Signed-off-by: Andrew Xia <axia@fb.com>
Co-authored-by: Andrew Xia <axia@fb.com>
This commit is contained in:
Andrew Xia
2025-11-13 04:03:23 +00:00
committed by GitHub
co-authored by Andrew Xia
parent a1d3866dda
commit 7c38ed0f1c
3 changed files with 72 additions and 62 deletions
+1 -1
View File
@@ -1227,7 +1227,7 @@ class OpenAIServing:
# Call the tool and update the context with the result.
tool_output = await context.call_tool()
context.append_output(tool_output)
context.append_tool_output(tool_output)
# TODO: uncomment this and enable tool output streaming
# yield context