From e7bb7a21e78c93e956308452c4102a06fd17cf89 Mon Sep 17 00:00:00 2001 From: zatchbell1311-wq Date: Wed, 24 Jun 2026 03:50:18 +0530 Subject: [PATCH] docs(setup): add registry fallback note for text-completion inferlet --- website/docs/guide/setup.mdx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/website/docs/guide/setup.mdx b/website/docs/guide/setup.mdx index 6f5d1662d..973efbef5 100644 --- a/website/docs/guide/setup.mdx +++ b/website/docs/guide/setup.mdx @@ -63,6 +63,22 @@ pie config set model.0.hf_repo Qwen/Qwen2.5-7B-Instruct # update the first [[mo ## Run your first prompt +:::note Registry vs local build +`pie run text-completion` pulls the inferlet from the registry, which may lag behind +the current engine. If you see a **404 Not Found** or +**component imports instance not found** error, build it locally: + +```bash +cd inferlets/text-completion +cargo build --release --target wasm32-wasip2 +cd ../.. +pie run \ + --path inferlets/text-completion/target/wasm32-wasip2/release/text_completion.wasm \ + --manifest inferlets/text-completion/Pie.toml \ + -- --prompt "The capital of France is" +``` +::: + ```bash pie run text-completion -- --prompt "The capital of France is" ```