Patch Changes
-
94eba1b: fix(openai): round-trip
namespaceon function_call input itemsWhen
tool_searchdispatches a deferred tool, the resultingfunction_callcarries anamespacefield identifying which deferred-tool group the model picked.#14789preserved this on the read side (providerMetadata.openai.namespace), but the write side still serializedfunction_callinput items withoutnamespace. Multi-step / multi-turn conversations then failed withMissing namespace for function_call '<name>'. ... Round-trip the model's function_call item with its namespace field included.convert-to-openai-responses-input.tsnow readsnamespacefromproviderOptions.openai.namespace(orproviderMetadata.openai.namespace) ontool-callparts and includes it on the serializedfunction_callitem, mirroring howitemIdis round-tripped.