langchain
6d447f89 - fix(fireworks): `bind_tools(strict: bool)` and `reasoning_content` (#34343)

Commit
9 days ago
fix(fireworks): `bind_tools(strict: bool)` and `reasoning_content` (#34343) Extract strict from kwargs and pass it to convert_to_openai_tool when converting tools. This ensures that when strict is provided, it's properly used during tool conversion and removed from kwargs before calling the parent bind method. Also extract reasoning_content from API responses and store it in additional_kwargs for AIMessage objects. Fixes https://github.com/langchain-ai/langchain/issues/34341 and https://github.com/langchain-ai/langchain/issues/34342 --------- Co-authored-by: Mason Daugherty <mason@langchain.dev>
Author
Parents
Loading