Repository navigation
@effect/ai-openrouter@4.1.3
Patch Changes
-
#10485
bb4ba11Thanks @imranbarbhuiya! - FixOpenRouterLanguageModelsending base64 string image and file data without thedata:URL prefix OpenRouter requires. -
#10370
1aacce9Thanks @clean99! - FixOpenRouterLanguageModelstreams splitting reasoning into several parts and emitting empty text deltas when chunks contain emptycontent. -
#10489
9c9f9ccThanks @imranbarbhuiya! - FixOpenRouterLanguageModelinterrupting tool execution when OpenRouter returns tool calls without a finish reason; such responses now finish with"tool-calls". -
#10505
fb998b5Thanks @itisrmk! - Fix OpenRouter responses failing to decode when a tool call omits itsidor a streaming tool call omits itsindex. -
#10432
1897ee5Thanks @clean99! - Report OpenRouter refusals with a"content-filter"finish reason and expose the explanation asrefusalin the finish part'sopenroutermetadata. -
#10486
667d46cThanks @imranbarbhuiya! - FixOpenRouterLanguageModelrejecting valid tool calls with record or tuple parameters, and sendTool.Stricttools a strict-compatible JSON Schema on every model. -
#10487
1e89cd6Thanks @imranbarbhuiya! - Ignore empty trailing tool call fragments inOpenRouterLanguageModelstreams instead of failing withInvalidOutputError. -
#10488
9c4858aThanks @imranbarbhuiya! - FixOpenRouterLanguageModelstreams silently dropping truncated tool calls on token limits by failing withToolParameterValidationError. -
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