fix(fireworks): honor max_retries#36973
Conversation
Migration path when
|
Merging this PR will not alter performance
Comparing Footnotes
|
…ries # Conflicts: # libs/partners/fireworks/tests/unit_tests/test_chat_models.py
ChatFireworks.max_retriessilently did nothing. The old code assigned the value to aChatCompletionV2sub-object rather than the base client, and the pinned Fireworks SDK (0.13.0–0.19.20) never honors its own_max_retriesattribute 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.