feat(gateway): implement OpenResponses /v1/responses endpoint phase 2

- Add input_image and input_file support with SSRF protection
- Add client-side tools (Hosted Tools) support
- Add turn-based tool flow with function_call_output handling
- Export buildAgentPrompt for testing
This commit is contained in:
Ryan Lisse authored and Peter Steinberger committed 2026-01-20 07:37:01 +00:00
1 parent f4b03599f0
commit a5afe7bc2b
12 files changed
+437 -28

No files matched your search

+1
View File
@@ -415,6 +415,7 @@ export async function agentCommand(
skillsSnapshot,
prompt: body,
images: opts.images,
clientTools: opts.clientTools,
provider: providerOverride,
model: modelOverride,
authProfileId,