Fully Automated - 100% Backpressure - Pipeline runner ๐Ÿƒ for AI workflows. ๐Ÿš€

Commit a73f3b4b

a73f3b4bd25eMerged

Scott Nixon <[email protected]> ยท 8 months ago ยท 4 files ยท +1 added ยท ~3 modified

Description

feat(attractor-llm): feature-gate dead provider modules behind 'providers' flag [attractor-8bf]

Add a providers cargo feature to attractor-llm/Cargo.toml (off by default). Gate anthropic, client, gemini, openai, and provider modules behind #[cfg(feature = "providers")] in lib.rs. Keep types.rs unconditional. Enable the feature in attractor-agent/Cargo.toml so agent tests still compile.

Removes ~2,575 lines of unused HTTP adapter code from default builds. 399 tests pass, no new warnings.

Details

Commit
a73f3b4bd25e
Parent
b16a206558b4

crates/attractor-agent/Cargo.tomlmodifiedView file

@@ -7,7 +7,7 @@
77
88 [dependencies]
99 attractor-types = { path = "../attractor-types" }
10-attractor-llm = { path = "../attractor-llm" }
10+attractor-llm = { path = "../attractor-llm", features = ["providers"] }
1111 attractor-tools = { path = "../attractor-tools" }
1212 serde = { workspace = true }
1313 serde_json = { workspace = true }