_resolve_jump() — langchain Function Reference
Architecture documentation for the _resolve_jump() function in factory.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 63280d36_c373_21de_7184_3a4b4f8606bb["_resolve_jump()"] fd7a28b1_3772_169b_6524_1342f35143b1["factory.py"] 63280d36_c373_21de_7184_3a4b4f8606bb -->|defined in| fd7a28b1_3772_169b_6524_1342f35143b1 20046200_0f69_48b9_d47c_7a3ea7d0358f["_make_model_to_tools_edge()"] 20046200_0f69_48b9_d47c_7a3ea7d0358f -->|calls| 63280d36_c373_21de_7184_3a4b4f8606bb 2725013f_5b47_34dc_d7d6_245ddd8cc6ca["_make_model_to_model_edge()"] 2725013f_5b47_34dc_d7d6_245ddd8cc6ca -->|calls| 63280d36_c373_21de_7184_3a4b4f8606bb b82fcc4d_63ed_966a_2618_0b729f787b4e["_add_middleware_edge()"] b82fcc4d_63ed_966a_2618_0b729f787b4e -->|calls| 63280d36_c373_21de_7184_3a4b4f8606bb style 63280d36_c373_21de_7184_3a4b4f8606bb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain_v1/langchain/agents/factory.py lines 1607–1619
def _resolve_jump(
jump_to: JumpTo | None,
*,
model_destination: str,
end_destination: str,
) -> str | None:
if jump_to == "model":
return model_destination
if jump_to == "end":
return end_destination
if jump_to == "tools":
return "tools"
return None
Domain
Subdomains
Source
Frequently Asked Questions
What does _resolve_jump() do?
_resolve_jump() is a function in the langchain codebase, defined in libs/langchain_v1/langchain/agents/factory.py.
Where is _resolve_jump() defined?
_resolve_jump() is defined in libs/langchain_v1/langchain/agents/factory.py at line 1607.
What calls _resolve_jump()?
_resolve_jump() is called by 3 function(s): _add_middleware_edge, _make_model_to_model_edge, _make_model_to_tools_edge.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free