You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Agentic: let the assistant install models itself (install_model + list_models tools)
When asked to use/generate media with no suitable model installed, the
agent can now call install_model (e.g. 'stable diffusion' -> image/openjourney)
to download it on demand, and list_models to see what's installed/installable.
generate_* error now points the model at install_model instead of telling the
user to run a CLI command. Resolves plain names to catalog refs.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
`{"type":"object","properties":{"input_file":{"type":"string","description":"Path to the audio file to transcribe."},"model":{"type":"string","description":"Optional audio model name."}},"required":["input_file"]}`),
44
44
toolDef("generate_3d", "Generate a 3D model (mesh) from a text prompt or an input image using a local 3D model. Returns the saved file path.",
45
45
`{"type":"object","properties":{"prompt":{"type":"string","description":"Text prompt describing the object."},"input_file":{"type":"string","description":"Optional input image path for image-to-3D."},"model":{"type":"string","description":"Optional 3D model name."}},"required":[]}`),
46
+
toolDef("list_models", "List the user's installed models and a set of models that can be installed on demand. Use this before generating media if you are unsure a suitable model is installed.",
toolDef("install_model", "Download and install a model so it can be used (e.g. an image model for generate_image). Accept a catalog ref like \"image/openjourney\" or a plain name like \"stable diffusion\", \"sdxl\", \"whisper\". The download can take a few minutes; when it finishes the model is ready to use.",
49
+
`{"type":"object","properties":{"model":{"type":"string","description":"Model to install: a catalog ref (image/openjourney, audio/whisper:base, llm/qwen2.5:7b) or a plain name."}},"required":["model"]}`),
returnnil, fmt.Errorf("no installed %s model found — download one first (vortelio pull %s:...)", typ, typ)
198
+
returnnil, fmt.Errorf("no installed %s model found — call the install_model tool to download one (for images use model \"stable diffusion\"), then retry", typ)
98
199
}
99
200
100
201
// saveArtifact writes data to the default output dir with a timestamped name and
0 commit comments