Browse Source
NewApiWG model discovery was allowing Doubao text models to appear in media-generation contexts, which made image nodes call a model with no generation channel. The change filters Doubao chat/vision model names out of generation capability inference, bumps model caches, and guards execution for stale saved workflows. Constraint: NewApiWG /models may return chat models without explicit capability metadata Rejected: Keep all unknown models visible | it lets text-only models fail inside media nodes Confidence: high Scope-risk: narrow Directive: Do not classify chat/VLM models as media generators without explicit generation capability metadata Tested: npm test -- src/app/api/generate/providers/__tests__/newapiwg.test.ts Tested: npm test -- src/components/__tests__/ModelSearchDialog.test.tsx Not-tested: Full tsc remains blocked by existing unrelated test type errorsfeature/canvas-chatbot-copilot
4 changed files with 49 additions and 2 deletions
Loading…
Reference in new issue