MCPcopy Create free account
hub / github.com/clawshell/clawshell / default_base_url

Method default_base_url

src/config.rs:18–25  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

16
17impl Provider {
18 pub fn default_base_url(&self) -> &'static str {
19 match self {
20 Provider::Openai => "https://api.openai.com",
21 Provider::Openrouter => "https://openrouter.ai/api",
22 Provider::Anthropic => "https://api.anthropic.com",
23 Provider::Minimax => "https://api.minimax.io",
24 }
25 }
26}
27
28#[derive(Debug, Deserialize, Serialize, Clone)]

Callers 1

upstream_urlMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected