Merge commit '36c66dd290d3ce6eb1ccd310d0c658d4a32bb8eb' as 'repos/effect'

This commit is contained in:
-Puter
2026-07-19 03:25:10 +05:30
parent dd1071cc10
commit 2daf979036
2214 changed files with 673090 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
---
"effect": patch
"@effect/ai-openai": patch
"@effect/ai-openai-compat": patch
---
Add unstable EmbeddingModel support across core and OpenAI providers.
- Add the unstable EmbeddingModel module API surface in `effect`, including service, request, response, and provider types.
- Implement the unstable EmbeddingModel runtime constructor in `effect`, with `RequestResolver` batching, `embed` / `embedMany` spans, provider error propagation, deterministic ordering, and empty-input `embedMany` fast-path behavior.
- Add and align EmbeddingModel behavior tests in `effect` for embedding usage, batching, ordering, and error handling.
- Add `OpenAiEmbeddingModel` in `@effect/ai-openai`, including model / make / layer constructors, config overrides, and provider output index validation with deterministic reordering.
- Add OpenAI-compatible EmbeddingModel provider support in `@effect/ai-openai-compat`, including config overrides, layer constructors, and output index validation.