MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / new

Method new

crates/opencode-tool/src/websearch.rs:15–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14impl WebSearchTool {
15 pub fn new() -> Self {
16 Self {
17 client: Client::builder()
18 .timeout(std::time::Duration::from_secs(30))
19 .build()
20 .unwrap(),
21 }
22 }
23}
24
25#[derive(Debug, Serialize, Deserialize)]

Callers

nothing calls this directly

Calls 1

buildMethod · 0.80

Tested by

no test coverage detected