refactor: depend on renamed chain-module-sdk
Some checks failed
CI / Linux x86_64 (Forgejo) (push) Failing after 2s

Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
flemming-it 2026-06-16 11:28:15 +02:00
parent 807cb254e0
commit 7d52e36606
2 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ repository = "https://git.flemming.ws/fai-modules/orchestrator-llm"
crate-type = ["cdylib", "rlib"] crate-type = ["cdylib", "rlib"]
[dependencies] [dependencies]
fai-module-sdk = { git = "https://git.flemming.ai/fai/module-sdk-rust.git", branch = "main" } chain-module-sdk = { git = "https://git.flemming.ai/fai/chain-module-sdk-rust.git", branch = "main" }
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"
thiserror = "2" thiserror = "2"

View file

@ -1,7 +1,7 @@
//! orchestrator-llm — turns natural-language goals into Plan JSON. //! orchestrator-llm — turns natural-language goals into Plan JSON.
//! //!
//! v0.3.0 migrates from a hand-written wit_bindgen scaffold to the //! v0.3.0 migrates from a hand-written wit_bindgen scaffold to the
//! `#[fai_module]` macro from `fai-module-sdk`. The behavior is //! `#[fai_module]` macro from `chain-module-sdk`. The behavior is
//! unchanged from v0.2.1: a configured Ollama-compatible endpoint //! unchanged from v0.2.1: a configured Ollama-compatible endpoint
//! drives a real plan when `llm_endpoint` is set, otherwise the //! drives a real plan when `llm_endpoint` is set, otherwise the
//! deterministic stub from v0.1.0 takes over. //! deterministic stub from v0.1.0 takes over.
@ -19,7 +19,7 @@ mod plan;
pub use plan::{Plan, PlanStep, build_stub_plan, parse_and_validate, validate}; pub use plan::{Plan, PlanStep, build_stub_plan, parse_and_validate, validate};
use fai_module_sdk::prelude::*; use chain_module_sdk::prelude::*;
#[fai_module] #[fai_module]
pub fn invoke(_ctx: Context, inputs: Inputs) -> Result<Outputs, ModuleError> { pub fn invoke(_ctx: Context, inputs: Inputs) -> Result<Outputs, ModuleError> {