Commit Graph

2 Commits

Author SHA1 Message Date
Jan Leon
6b59e814da Restore Responses API custom tool calls (#7905)
* fix: restore Responses custom tool calls

* fix: preserve nested Responses custom tool calls

* fix: reset superseded tool call state

* fix: preserve tool precedence and buffered Responses tool arguments

* test: verify top-level tool descriptions take precedence

* fix: preserve custom Responses tool streaming semantics

* test: cover declared custom tool streaming round trips

* test: cover Responses custom tool metadata collection

* test: cover active Responses custom tool stream

* test: isolate Responses active stream regression

* fix: complete Responses custom tool round trips
2026-07-20 22:22:24 -03:00
Jan Leon
4f52e36082 Preserve supported Responses behavior in Chat translation (#7894)
* fix(responses): preserve additional_tools when downgrading to Chat Completions

* fix: preserve Responses structured output in Chat translation

* fix: translate Responses allowed tools to Chat

* fix: reject unsupported Responses input items

* fix: normalize Responses refusal history for Chat

* fix: strip Responses-only fields from Chat requests

* fix: preserve namespace tools with colliding function names

* fix: merge same-named namespaces during Chat translation
2026-07-20 17:53:11 -03:00