mirror of
https://github.com/storytold/craft-ai-integrations.git
synced 2026-11-22 04:10:43 +01:00
AiClient::picker returns a tool's models grouped by provider (only models able to do the tool; providers with no key, switched off or not set up are shown greyed with a way to fix them; a choice that stopped working says why). ToolDesk::missing_model returns why a tool cannot run plus that picker, and a choice binds for every app through ToolDesk::choose. SetupOption and PickerGroup carry a local model's download size. craft-ai-egui has a neutral model_picker and missing_model_popup, and a sample-data demo window. Fixes: ToolDesk::choose now checks the chosen model on its own (it resolved for the calling app, so an app's own working choice could mask an invalid suite default); a stale ai-client ComfyUI test now serves a real PNG header. Mutation groups v2 (27) and v3 (15), none surviving.