Patch Changes
-
#11342
3b0e4c4Thanks @thushanth-bengre-langchain! - fix(fireworks): stop retrying deterministic embeddings failuresFireworksEmbeddingsthrew errors with the HTTP status buried in the message text, so nothing downstream could act on it and a bad API key was retried to exhaustion on every embed call. The status is now available on the error, and failures are marked retryable or not usingstampRetryablefrom@langchain/core. Error messages are unchanged.ChatFireworksandFireworksalready inherit marking from@langchain/openai.Also forwards a per-call
maxRetriesto the retry loop, so a surrounding retry loop such asmodelRetryMiddlewarecan take over instead of the two multiplying against each other.The
@langchain/corepeer range moves from^1.0.0toworkspace:^, since this release depends onstampRetryable. -
Updated dependencies [
3b0e4c4]:- @langchain/openai@1.5.8