fix(fireworks): honor max_retries (#36973)

`ChatFireworks.max_retries` silently did nothing. The old code assigned
the value to a `ChatCompletionV2` sub-object rather than the base
client, and the pinned Fireworks SDK (0.13.0–0.19.20) never honors its
own `_max_retries` attribute on the base client either. Since the
Stainless-generated 1.x SDK that does implement retries is still
pre-release (1.0.1a63 at time of writing), retry responsibility is
ported to the LangChain side until the pin can be bumped.
This commit is contained in:
Mason Daugherty
2026-04-23 16:40:54 -04:00
committed by GitHub
parent d30ef8a8aa
commit 7b09eb7bda
6 changed files with 604 additions and 13 deletions

View File

@@ -2208,7 +2208,7 @@ wheels = [
[[package]]
name = "langchain-core"
version = "1.3.0"
version = "1.3.1"
source = { editable = "../core" }
dependencies = [
{ name = "jsonpatch" },