Patch Changes
-
#429
ae24f06Thanks @michaeldwan! - Pass tool_choice through to binding.run() so tool selection mode (auto, required, none) is respected when using Workers AI with the binding API -
#410
bc2eba3Thanks @vaibhavshn! - fix: route REST API requests through AI Gateway when thegatewayoption is provided increateRun() -
#446
3c35051Thanks @threepointone! - Remove tool_call_id sanitization that truncated IDs to 9 alphanumeric chars, which caused all tool call IDs to collide after round-trip -
#444
b1c742bThanks @mchenco! - AddsessionAffinitysetting to sendx-session-affinityheader for prefix-cache optimization. Also forwardextraHeadersin the REST API path instead of discarding them.