Files
iAs/ias-ai/Cargo.toml
T
wunianxiao 279d89b87a fix: use internal URL for AI HTTP tools
Prefer IA_WEB_INTERNAL_URL or local HOST for AI tool requests while preserving public page links for users.
2026-07-08 00:03:14 +08:00

26 lines
990 B
TOML

[package]
name = "ias-ai"
version = "0.1.6"
edition = "2024"
[dependencies]
ias-common = {path = "../ias-common"}
# ── 异步运行时 ──
tokio = { version = "1.0", features = ["rt-multi-thread", "macros", "sync", "time", "process", "signal", "io-util"] } # 异步运行时核心
# ── HTTP 客户端 ──
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls"] } # HTTP 请求(微信 API + DeepSeek API + 工具调用)
# ── 序列化 ──
serde = { version = "1.0", features = ["derive"] } # 序列化/反序列化
serde_json = "1.0" # JSON 处理
serde_yaml = "0.9" # YAML 解析(工具规范文件)
# ── 时间 ──
chrono = "0.4"
# ── 错误处理 ──
anyhow = "1"
thiserror = "2"
# ── 日志管理 ──
tracing = "0.1"
tracing-subscriber = "0.3"
# ── 正则 ──
regex = "1"