Patch Changes
-
#6371
7543afeThanks @polRk! - Fix client-executed provider tools (Memory, Text Editor, Computer Use, Bash) which were unusable on the wire.makeResponse(and the streaming equivalents) now map a providertool_usewire name (e.g."memory") back to the tool's custom name (e.g."AnthropicMemory") that the toolkit is keyed by, instead of raisingToolNotFoundError.AnthropicTool.MemoryCreateCommandnow includes the requiredfile_textfield, so acreatecommand no longer drops the file body.- Optional parameters on client-executed provider tools now use
Schema.optionalKeyinstead ofSchema.optional, which the Anthropic codec rejected with "Unsupported AST Undefined":Memory/TextEditorview_range,ComputerUsecoordinate, andBashrestart.
Closes #2615.
-
Updated dependencies [
8ce4795,80b539f,88a54cc,e6e6dba,bfb203e,2e9a34a,55d4eb3,bddb010,a328835,5560d05,8f6e3ad,46997fa,9e6e12d,3394b93,febeabc,54161c9,385f7a4,7eea4d0,7543afe,44b9cf3,7eea4d0,0a8aa6a,c8d9fcf,9ca7f9a,e7aca89,55d7560,f809189,88a54cc,0ebdbe7,7517d09,212493b,88a54cc,80ea8cb,8df19f4]:- effect@4.0.0-beta.99