[Frontend][responsesAPI][1/n] convert responses API tool input to chat completions tool format (#28231)

Signed-off-by: Andrew Xia <axia@fb.com>
Co-authored-by: Andrew Xia <axia@fb.com>
Co-authored-by: Chauncey <chaunceyjiang@gmail.com>
This commit is contained in:
Andrew Xia
2025-11-12 20:47:22 -08:00
committed by GitHub
parent 7c38ed0f1c
commit 1a0b157a2e
5 changed files with 76 additions and 21 deletions

View File

@@ -116,6 +116,7 @@ async def test_function_tool_use(
input=prompt,
tools=tools,
tool_choice=tool_choice,
temperature=0.0,
)
assert len(response.output) >= 1