Repository navigation
@effect/ai-openai-compat@4.1.4
Patch Changes
-
#10516
0555dbdThanks @imranbarbhuiya! - FixOpenAiLanguageModelsendingdeveloperinstead ofsystemmessages for models such asolmo-2and provider-prefixed IDs such asopenai/gpt-oss-120b. -
#10515
4e66f06Thanks @imranbarbhuiya! - Fix failed responses and dropped stream chunks when OpenAI-compatible servers sendnullfor optional chat completion and embeddings response fields. The affectedOpenAiClientresponse types now includenull. -
#10514
f056504Thanks @imranbarbhuiya! - Send PDF file parts as Chat Completionsfilecontent parts instead of dropping them or flattening them into message text. PDF URLs now fail withInvalidUserInputError; pass bytes, base64 or a file ID instead. -
#10534
176e097Thanks @clean99! - Preserve nonempty chat completion refusals in finish metadata and remap only refusal-bearingstopresponses tocontent-filter, including streaming responses. -
#10533
5ec3989Thanks @gabedemesa! - FixOpenAiLanguageModeladvertising non-strict tools with strict-mode schemas, which turned records into entry arrays and optional properties into required nullable ones. -
Updated dependencies [
f527f90,ee5550a,7fce132,9116189,edb2eaa,8176cdb,3a65e9e,fdd319e,72c3fb4,9c41784]:- effect@4.1.4