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
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:
parent
10aa1e1b51
commit
83b65cd969
5 changed files with 7 additions and 7 deletions
|
|
@ -80,7 +80,7 @@ struct BoundingBox {
|
|||
height: f64,
|
||||
}
|
||||
|
||||
#[fai_module]
|
||||
#[chain_module]
|
||||
pub fn invoke(_ctx: Context, inputs: Inputs) -> Result<Outputs, ModuleError> {
|
||||
let bytes = inputs.require_bytes("document")?;
|
||||
let extracted = match bytes.mime_type.as_str() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue