Patch Changes
-
#10419
80b6a51Thanks @clean99! - Fix Anthropic responses failing to decode citations without afile_id, which the API omits for documents not uploaded to the Files API. -
#10373
b4e5604Thanks @clean99! - Fix Anthropic responses failing to decode when theircontainerhas noskills, which the API omits unless the request loads skills. -
#10421
99802e8Thanks @baptisteArno! - Allow thexhighandmaxeffort levels inAnthropicLanguageModeloutput_config.effortconfiguration. -
#10322
7a87ff9Thanks @tim-smart! - Fix encrypted Anthropic code execution results failing to decode, being reported as failures, and being dropped from follow-up requests. -
#10499
95a3034Thanks @effect-bot! - Fix non-strict Anthropic tools to preserve optional properties, JSON schema constraints, record shapes, and explicit null parameter values. -
#10297
9a53f23Thanks @clean99! - Fix Anthropic web fetch and code execution results, including errors, being sent back as client tool results in follow-up requests. -
#10296
555449dThanks @clean99! - Decode web fetch results whose document block has nocitations; the API omits it unless citations are enabled for the tool. -
#10332
21671d5Thanks @matheuspuel! - Decode tool call parameters with their JSON codec, so aSchema.Dateparameter accepts an ISO string from MCP clients and language models.Toolkit.WithHandler.handletakesSchema.Jsonparams. Direct callers pass the JSON encoding, withnullinstead ofundefinedfor optional parameters.- With
disableToolCallResolution: true, tool callparamshold the JSON encoding and are typedSchema.Json. Provider-executed tools keep the provider's payload. - Provider-defined tools keep their provider-defined type through
setSuccess,setFailure,setParameters,setNeedsApproval,addDependency,annotateandannotateMerge, so a tool the provider runs with a dependency is not mistaken for one that needs a handler.
-
Updated dependencies [
56bbd6f,7150ea1,da85361,95b01bb,b09e7a8,91386c0,a2b1be0,1a2c5a6,2a9d989,66cbcca,da52437,7e8f3fb,1de4308,cb36ec7,693259d,0daaa95,f548e59,005d096,188c2b0,258fb50,e799258,b110d56,111615a,4ed0fae,21671d5,2ad19ae,6235a2f,fe80e09,79af760,97f8120,c5383f8,0d0c824,b76a52b,1048919,def28cc,47563e9,9428e17,c45c33b,077b572,ec4f272,251e9c9,501c657,9c530cf,781f31e,8cf23ad,abe3084,0d338bb,ecd5ef5,324e7a1,4e86690,a871b92,ddb8fd4,6e57c49,7b39595,422a1b3,5a7c02f,24f2274,da0c792,f43a02a,c32ad61,724e62d,13c0e77,1f33b58,68e628d,a26ad63,ded4ccf,31368ab,f665267,2968901,c0be8f6,d9101fc,871e863,6a5d86c,3c9a185]:- effect@4.1.3