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

@@ -1,0 +1,23 @@
1+[package]
2+name = "attractor-agent"
3+version.workspace = true
4+edition = "2021"
5+license.workspace = true
6+description = "Autonomous coding agent loop: LLM + tool execution cycle"
7+
8+[dependencies]
9+attractor-types = { path = "../attractor-types" }
10+attractor-llm = { path = "../attractor-llm", features = ["providers"] }
11+attractor-tools = { path = "../attractor-tools" }
12+serde = { workspace = true }
13+serde_json = { workspace = true }
14+tokio = { workspace = true }
15+thiserror = { workspace = true }
16+tracing = { workspace = true }
17+uuid = { workspace = true }
18+async-trait = { workspace = true }
19+futures-core = { workspace = true }
20+tokio-stream = { workspace = true }
21+
22+[dev-dependencies]
23+tempfile = "3"