MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / test_has_tool_calls_false

Function test_has_tool_calls_false

crates/opencode-session/src/llm.rs:1703–1706  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1701
1702 #[test]
1703 fn test_has_tool_calls_false() {
1704 let messages = vec![Message::user("hello")];
1705 assert!(!LlmProcessor::has_tool_calls(&messages));
1706 }
1707
1708 #[test]
1709 fn test_inject_litellm_dummy_tool_empty_tools_with_tool_calls() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected