Repository navigation
@effect/ai-openai@4.1.5
Patch Changes
-
#10702
0fd348aThanks @Marve10s! - FixstreamTextdropping OpenAI refusal explanations, which are now included intext-endmetadata and prompts built from the stream. -
#10645
a1f4aa1Thanks @tim-smart! - Fix OpenAI WebSocket streams hanging on errors with missing messages or nullable type/code fields, and preserve provider error details. -
#10569
2402fe3Thanks @gcanti! - Add the experimentalCodegen.Modulebuilder and fix recursive initialization, name collisions, generated types, and symbol identity in schema and OpenAPI generation.Remove
SchemaRepresentation.toCodeDocument,CodeDocument,Artifact, andmakeCode. Generate schema source withCodegen.Module.addSchemasandprint; construct{ runtime, Type }directly instead of callingmakeCode.Custom
toCodecallbacks must interpolate supplied argument strings unchanged and return supported schema/type expressions. Move unsupported code, such as functions with local declarations, into imported helpers.The
@effect/openapi-generator/OpenApiTransformermodule is removed. Use theOpenApiGeneratorservice to generate from an OpenAPI spec, selecting the output withformat.Some nullable OpenAI objects, such as
Batch.errors, now strip undeclared fields and no longer expose index signatures; use their declared fields instead. -
Updated dependencies [
3e2030b,f9f5f9d,eecfff5,7e9e5df,ddd142f,2bd41fe,36e335a,7c36414,284b978,f3957c6,e7f4493,1c990e9,1cccb18,0d5eb2c,6b8ea38,ff682e9,45937b7,cda1466,aa5047d,8bc4e44,c61bb44,5caf323,19c76ab,c282e64,77fa72a,82904fe,df790ca,1b807a0,4d78900,0799e39,80622bf,3d13d1e,e373f19,e3aed41,c49caf7,9f9d58b,5234eed,44f3b48,31b0a19,b01d576,7e155df,c74244b,0082c45,e197c57,313194d,ca8ffea,7f2919f,f3961b9,c31cb76,c239f40,8a4ef37,9ef7a47,e5f2e97,acfbe1b,22909d5,5662efa,a9b1998,b4803f0,689c1ba,f12fefb,f18320b,f89f473,7cb302b,ae947a3,cbe8b0e,3fcc7fa,2402fe3,39bd6e0,57c8873,d28a692,9851931,7ed0880,7ec6395,101e58b,a2654f5,9bb48ee,ec2c12a,fc69670,3ec2199,b246e24,8564843,88d028e,fec20c5,394e32b,c71de85,b19b959,9f00fd5,04e9e83,ff34753,8745885,3058f01]:- effect@4.1.5