Commit Graph

12 Commits (31e59cd583b136cd2109b5b223cb7fa5c1fb7b39)

Author SHA1 Message Date
Ryan Lisse a5afe7bc2b 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
10 months ago
Ryan Lisse f4b03599f0 feat(gateway): add OpenResponses /v1/responses endpoint
Add a new `/v1/responses` endpoint implementing the OpenResponses API
standard for agentic workflows. This provides:

- Item-based input (messages, function_call_output, reasoning)
- Semantic streaming events (response.created, response.output_text.delta,
  response.completed, etc.)
- Full SSE event support with both event: and data: lines
- Configuration via gateway.http.endpoints.responses.enabled

The endpoint is disabled by default and can be enabled independently
from the existing Chat Completions endpoint.

Phase 1 implementation supports:
- String or ItemParam[] input
- system/developer/user/assistant message roles
- function_call_output items
- instructions parameter
- Agent routing via headers or model parameter
- Session key management

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
10 months ago
Peter Steinberger df386927ce docs: prune internal notes and doc aliases 10 months ago
Peter Steinberger 90342a4f3a refactor!: rename chat providers to channels 10 months ago
George Pickett a3641526ab Thinking: gate xhigh by model 10 months ago
Peter Steinberger d97c211e82 docs: make remote host examples generic 10 months ago
Shadow 19d9e7ac05
Docs: fix internal links 10 months ago
Peter Steinberger 5755d85ad1 fix: harden Gmail hook model defaults (#472) (thanks @koala73) 10 months ago
Peter Steinberger 7b81d97ec2 feat: wire multi-agent config and routing
Co-authored-by: Mark Pors <1078320+pors@users.noreply.github.com>
10 months ago
Peter Steinberger a6c309824e docs: refresh and simplify docs 10 months ago
Peter Steinberger 4fb9293c29 docs: fix internal doc links 11 months ago
Peter Steinberger db4d0b8e75 docs: reorganize documentation structure 11 months ago