chore(build): pin chain-module-sdk v0.3.0 and adopt #[chain_module]
SDK 0.3.0 drops the fai-legacy #[fai_module] alias; pin the tag and flip the attribute, rebuilt module.wasm accordingly. Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
parent
18a84ef4cb
commit
b5389fce45
4 changed files with 6 additions and 6 deletions
|
|
@ -12,7 +12,7 @@ mod llm;
|
|||
|
||||
use chain_module_sdk::prelude::*;
|
||||
|
||||
#[fai_module]
|
||||
#[chain_module]
|
||||
pub fn invoke(_ctx: Context, inputs: Inputs) -> Result<Outputs, ModuleError> {
|
||||
let prompt = inputs.require_text("prompt")?.to_string();
|
||||
let endpoint = inputs.require_text("endpoint")?.to_string();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue