Browse Source
The provider branch makes model defaults and Popi metadata resolution more asynchronous, while the local UI keeps duplicate node-body settings hidden. This keeps pricing available when metadata is already complete, avoids refreshing placeholder Popi selections, preserves explicit Popi schema hydration, and fixes strict TypeScript narrowing exposed by the merged media upload route. Constraint: Preserve hidden node-body settings while keeping Popi provider schema hydration available. Rejected: Re-enable inline node settings for all external providers | would reintroduce duplicated controls the user asked to hide. Confidence: high Scope-risk: moderate Directive: Do not fetch per-model schemas for hidden non-Popi node settings unless an explicit modelSchemaRequestId requests it. Tested: npm run test:run -- src/components/__tests__/PromptNode.test.tsx src/components/__tests__/WorkflowCanvas.test.tsx src/components/modals/__tests__/MarkdownEditorModal.test.tsx src/components/__tests__/FloatingNodeHeader.test.tsx src/components/__tests__/LLMGenerateNode.test.tsx src/components/__tests__/GenerateImageNode.test.tsx src/components/__tests__/GenerateVideoNode.test.tsx src/components/__tests__/GenerationComposer.test.tsx src/app/api/generate/providers/__tests__/popiserver.test.ts src/app/api/__tests__/popiserverModels.test.ts --reporter=dot Tested: npm run build Tested: git diff --check Tested: rg -n '^(<<<<<<<|=======|>>>>>>>)' src Not-tested: npm run lint cannot run because the existing Next 16 script maps next lint to a missing ./lint project directory.TEST-s
5 changed files with 58 additions and 19 deletions
Loading…
Reference in new issue