Method
extract_max_iterations
(
node_config: &std::collections::HashMap<String, serde_json::Value>,
default_value: usize,
)
Source from the content-addressed store, hash-verified
| 811 | } |
| 812 | |
| 813 | fn extract_max_iterations( |
| 814 | node_config: &std::collections::HashMap<String, serde_json::Value>, |
| 815 | default_value: usize, |
| 816 | ) -> usize { |
| 817 | node_config |
| 818 | .get("max_iterations") |
| 819 | .and_then(|v| v.as_u64()) |
| 820 | .map(|v| v as usize) |
| 821 | .unwrap_or(default_value) |
| 822 | } |
| 823 | |
| 824 | fn apply_node_llm_overrides( |
| 825 | mut req: graphbit_core::llm::LlmRequest, |
Callers
nothing calls this directly
Tested by
no test coverage detected