Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: resolve anthropic provider preset in pipes (#2594)

Divanshu483e1c21ac97
diff --git a/crates/screenpipe-core/src/pipes/mod.rs b/crates/screenpipe-core/src/pipes/mod.rs
index 8854fea3f..e675a10d3 100644
--- a/crates/screenpipe-core/src/pipes/mod.rs
+++ b/crates/screenpipe-core/src/pipes/mod.rs
@@ -594,6 +594,7 @@ fn resolve_preset(pipes_dir: &Path, preset_id: &str) -> Option<ResolvedPreset> {
"native-ollama" => Some("ollama"),
"openai" => Some("openai"),
"openai-chatgpt" => Some("openai-chatgpt"),
+ "anthropic" => Some("anthropic"),
"custom" => Some("custom"), // custom uses openai-compatible API at a user-specified URL
_ => None,
})