Skip to content

Commit 65a32f1

Browse files
committed
chore(agent): fix model router import
1 parent 425ef55 commit 65a32f1

File tree

10 files changed

+30
-30
lines changed

10 files changed

+30
-30
lines changed

Cargo.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spider/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spider"
3-
version = "2.45.19"
3+
version = "2.45.20"
44
authors = ["j-mendez <jeff@spider.cloud>"]
55
description = "A web crawler and scraper, building blocks for data curation workloads."
66
repository = "https://github.com/spider-rs/spider"
@@ -120,11 +120,11 @@ features = ["serde", "headers", "dynamic-versions"]
120120

121121
[dependencies.spider_agent_types]
122122
path = "../spider_agent_types"
123-
version = "2.45.19"
123+
version = "2.45.20"
124124

125125
[dependencies.spider_agent]
126126
path = "../spider_agent"
127-
version = "2.45.19"
127+
version = "2.45.20"
128128
optional = true
129129
default-features = false
130130

spider/src/configuration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,9 +583,9 @@ impl Configuration {
583583
.iter()
584584
.map(|ep| ep.model_name.as_str())
585585
.collect();
586-
let policy = crate::features::automation::router::auto_policy(&model_names);
586+
let policy = crate::features::automation::auto_policy(&model_names);
587587
engine.model_router =
588-
Some(crate::features::automation::router::ModelRouter::with_policy(policy));
588+
Some(crate::features::automation::ModelRouter::with_policy(policy));
589589
}
590590
engine.model_pool = model_pool;
591591

spider/src/features/automation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ pub use spider_agent::automation::cache::{CacheStats, CacheValue, SmartCache};
131131
pub use spider_agent::automation::executor::{BatchExecutor, ChainExecutor, PrefetchManager};
132132
#[cfg(feature = "agent")]
133133
pub use spider_agent::automation::router::{
134-
ModelRouter, RoutingDecision, TaskAnalysis, TaskCategory,
134+
auto_policy, ModelRouter, RoutingDecision, TaskAnalysis, TaskCategory,
135135
};
136136

137137
// Browser-specific exports (requires agent + chrome)

spider_agent/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spider_agent"
3-
version = "2.45.19"
3+
version = "2.45.20"
44
authors = ["j-mendez <jeff@spider.cloud>"]
55
description = "A concurrent-safe multimodal agent for web automation and research."
66
repository = "https://github.com/spider-rs/spider"
@@ -28,8 +28,8 @@ parking_lot = "0.12"
2828
base64 = "0.22"
2929

3030
# Extracted types and HTML processing
31-
spider_agent_types = { version = "2.45.19", path = "../spider_agent_types" }
32-
spider_agent_html = { version = "2.45.19", path = "../spider_agent_html" }
31+
spider_agent_types = { version = "2.45.20", path = "../spider_agent_types" }
32+
spider_agent_html = { version = "2.45.20", path = "../spider_agent_html" }
3333

3434
# HTML processing (still needed for engine internals)
3535
lol_html = "2"

spider_agent_html/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spider_agent_html"
3-
version = "2.45.19"
3+
version = "2.45.20"
44
authors = ["j-mendez <jeff@spider.cloud>"]
55
description = "HTML processing utilities for spider_agent — cleaning, content analysis, and diffing."
66
repository = "https://github.com/spider-rs/spider"
@@ -24,7 +24,7 @@ serde = { version = "1", features = ["derive"] }
2424
serde_json = "1"
2525

2626
# Types from our types crate
27-
spider_agent_types = { version = "2.45.19", path = "../spider_agent_types" }
27+
spider_agent_types = { version = "2.45.20", path = "../spider_agent_types" }
2828

2929
[dev-dependencies]
3030
serde_json = "1"

spider_agent_types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spider_agent_types"
3-
version = "2.45.19"
3+
version = "2.45.20"
44
authors = ["j-mendez <jeff@spider.cloud>"]
55
description = "Pure data types and constants for spider_agent automation. Zero heavy dependencies."
66
repository = "https://github.com/spider-rs/spider"

spider_cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spider_cli"
3-
version = "2.45.19"
3+
version = "2.45.20"
44
authors = ["j-mendez <jeff@spider.cloud>"]
55
description = "The fastest web crawler CLI written in Rust."
66
repository = "https://github.com/spider-rs/spider"

spider_utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spider_utils"
3-
version = "2.45.19"
3+
version = "2.45.20"
44
authors = ["j-mendez <jeff@spider.cloud>"]
55
description = "Utilities to use for Spider Web Crawler."
66
repository = "https://github.com/spider-rs/spider"

spider_worker/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spider_worker"
3-
version = "2.45.19"
3+
version = "2.45.20"
44
authors = ["j-mendez <jeff@spider.cloud>"]
55
description = "The fastest web crawler as a worker or proxy."
66
repository = "https://github.com/spider-rs/spider"

0 commit comments

Comments
 (0)