fetcher: fix brk url

This commit is contained in:
nym21
2025-06-24 23:53:10 +02:00
parent e4c9f23476
commit a6cb09ff1c
10 changed files with 20 additions and 26 deletions

View File

@@ -88,7 +88,7 @@ pub struct Config {
#[arg(long, value_name = "SECONDS")]
delay: Option<u64>,
/// Activate the Model Context Protocol (MCP) endpoint to give LLMs access to BRK (experimental), default: false, saved
/// Activate the Model Context Protocol (MCP) endpoint to give LLMs access to BRK (experimental), default: true, saved
#[serde(default, deserialize_with = "default_on_error")]
#[arg(long, value_name = "BOOL")]
mcp: Option<bool>,
@@ -367,7 +367,7 @@ impl Config {
}
pub fn mcp(&self) -> bool {
self.mcp.is_some_and(|b| b)
self.mcp.is_none_or(|b| b)
}
pub fn watch(&self) -> bool {