_lc_invalid_tool_call_to_fireworks_tool_call() — langchain Function Reference
Architecture documentation for the _lc_invalid_tool_call_to_fireworks_tool_call() function in chat_models.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD b85528ae_3f70_4d07_7eae_7823cb963ca8["_lc_invalid_tool_call_to_fireworks_tool_call()"] 21b8cbde_a9dc_13d6_83f9_010248e2bfc8["chat_models.py"] b85528ae_3f70_4d07_7eae_7823cb963ca8 -->|defined in| 21b8cbde_a9dc_13d6_83f9_010248e2bfc8 b36238d4_3fcc_a7ef_cadf_a0901de86384["_convert_message_to_dict()"] b36238d4_3fcc_a7ef_cadf_a0901de86384 -->|calls| b85528ae_3f70_4d07_7eae_7823cb963ca8 style b85528ae_3f70_4d07_7eae_7823cb963ca8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/fireworks/langchain_fireworks/chat_models.py lines 1073–1083
def _lc_invalid_tool_call_to_fireworks_tool_call(
invalid_tool_call: InvalidToolCall,
) -> dict:
return {
"type": "function",
"id": invalid_tool_call["id"],
"function": {
"name": invalid_tool_call["name"],
"arguments": invalid_tool_call["args"],
},
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does _lc_invalid_tool_call_to_fireworks_tool_call() do?
_lc_invalid_tool_call_to_fireworks_tool_call() is a function in the langchain codebase, defined in libs/partners/fireworks/langchain_fireworks/chat_models.py.
Where is _lc_invalid_tool_call_to_fireworks_tool_call() defined?
_lc_invalid_tool_call_to_fireworks_tool_call() is defined in libs/partners/fireworks/langchain_fireworks/chat_models.py at line 1073.
What calls _lc_invalid_tool_call_to_fireworks_tool_call()?
_lc_invalid_tool_call_to_fireworks_tool_call() is called by 1 function(s): _convert_message_to_dict.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free