diff --git a/Cargo.toml b/Cargo.toml index 5f7f6c0..79c2d27 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ repository = "https://git.flemming.ws/chain-modules/orchestrator-llm" crate-type = ["cdylib", "rlib"] [dependencies] -chain-module-sdk = { git = "https://git.flemming.ai/fai/chain-module-sdk-rust.git", branch = "main" } +chain-module-sdk = { git = "https://git.flemming.ai/fai/chain-module-sdk-rust.git", tag = "v0.3.0" } serde = { version = "1", features = ["derive"] } serde_json = "1" thiserror = "2" diff --git a/src/lib.rs b/src/lib.rs index adc4e2a..d849e23 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,7 +1,7 @@ //! orchestrator-llm — turns natural-language goals into Plan JSON. //! //! v0.3.0 migrates from a hand-written wit_bindgen scaffold to the -//! `#[fai_module]` macro from `chain-module-sdk`. The behavior is +//! `#[chain_module]` macro from `chain-module-sdk`. The behavior is //! unchanged from v0.2.1: a configured Ollama-compatible endpoint //! drives a real plan when `llm_endpoint` is set, otherwise the //! deterministic stub from v0.1.0 takes over. @@ -21,7 +21,7 @@ pub use plan::{Plan, PlanStep, build_stub_plan, parse_and_validate, validate}; use chain_module_sdk::prelude::*; -#[fai_module] +#[chain_module] pub fn invoke(_ctx: Context, inputs: Inputs) -> Result { let goal = inputs.require_text("goal")?; let llm_endpoint = inputs