chore: pin chain-module-sdk v0.3.0 and switch to #[chain_module]
Some checks failed
CI / Linux x86_64 (Forgejo) (push) Failing after 2s

The pre-rename #[fai_module] attribute is gone in SDK 0.3.0; the
dependency is tag-pinned so an SDK push can no longer change what
this module builds against. Rebuilt artifact where tracked.

Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
flemming-it 2026-07-12 13:52:43 +02:00
parent 87d9160da7
commit 47db969564
5 changed files with 7 additions and 7 deletions

View file

@ -18,7 +18,7 @@ Preserve formatting, paragraph structure, named entities, and \
proper nouns. Emit only the translation no preamble, no \
metadata, no quoting.";
#[fai_module]
#[chain_module]
pub fn invoke(_ctx: Context, inputs: Inputs) -> Result<Outputs, ModuleError> {
let text = inputs.require_text("text")?.to_string();
let target_language = inputs.require_text("target_language")?.to_string();