Skip to content
Open
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
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ tree-sitter = "0.20"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
rig-core = "0.16.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Fix the crate alias for rig-core

Line 16 declares the dependency as rig-core, but the Rust crate identifier is rig_core. Because the code in src/analyzer/llm_client.rs imports modules with use rig::..., this currently fails to compile (E0432: unresolved import rig). Rename the dependency to rig (or update the imports to rig_core::) so the crate path resolves.

Apply this diff to align the alias with the use rig::... statements:

-rig-core = "0.16.0"
+rig = { package = "rig-core", version = "0.16.0" }
🤖 Prompt for AI Agents
In Cargo.toml around line 16, the dependency is declared as rig-core = "0.16.0"
but the code imports use rig::...; change the crate alias so the package name
maps to the rig identifier — either replace the line with rig = { package =
"rig_core", version = "0.16.0" } or rename the dependency key to rig = "0.16.0"
(and keep package = "rig_core" if necessary) so use rig::... resolves;
alternatively, update all imports from rig::... to rig_core::... if you prefer
keeping the existing dependency name.

reqwest = { version = "0.11", features = ["json"] }
futures = "0.3"
lazy_static = "1.4"
Expand Down
Loading