Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ bindings/node/artifacts/
bindings/node/npm/
bindings/node/bench/node_modules/
bindings/node/bench/package-lock.json
bindings/python/**/__pycache__/
__pycache__/
bindings/python/uv.lock
bindings/kotlin/build/

Expand Down
9 changes: 0 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ members = [
"aimux-provider-utils",
"aimux-providers",
"aimux-stream",
"scripts/fix_tool",
"tools/aimux-cli",
"tools/aimux-replay",
"tools/aimux-web",
Expand Down Expand Up @@ -67,14 +66,6 @@ url = "2"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

# Schema / validation
schemars = "0.8"

# Proc-macro support
proc-macro2 = "1"
syn = { version = "2", features = ["full"] }
quote = "1"

# Internal crates
aimux-core = { path = "aimux-core", version = "0.3.0" }
aimux-providers = { path = "aimux-providers", version = "0.3.0" }
Expand Down
12 changes: 4 additions & 8 deletions aimux-providers/src/provider.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Registry-backed provider construction (RFC-0017 phase 4).
//!
//! Single source of truth: [`provider_registry.json`](provider_registry.json)
//! (generated by `scripts/gen_provider_registry.py`). All built-in
//! Single source of truth: [`provider_registry.json`](provider_registry.json),
//! edited by hand (one row per provider). All built-in
//! OpenAI-compatible providers are looked up by name at runtime — there are no
//! per-provider `XxxConfig`/`XxxProvider` types anymore (retired in phase 4).
//!
Expand Down Expand Up @@ -83,12 +83,8 @@ static REGISTRY: OnceLock<Vec<RegistryEntry>> = OnceLock::new();
fn registry() -> &'static [RegistryEntry] {
REGISTRY.get_or_init(|| {
let raw = include_str!("provider_registry.json");
let entries: Vec<RegistryEntry> = serde_json::from_str(raw).unwrap_or_else(|e| {
panic!(
"provider_registry.json is invalid: {e} — regenerate with \
scripts/gen_provider_registry.py"
)
});
let entries: Vec<RegistryEntry> = serde_json::from_str(raw)
.unwrap_or_else(|e| panic!("provider_registry.json is invalid: {e}"));
for entry in &entries {
assert!(!entry.name.is_empty(), "registry entry missing name");
assert!(
Expand Down
259 changes: 0 additions & 259 deletions scripts/check_missing.py

This file was deleted.

Loading
Loading