yangzhang75 opened a new issue, #8762: URL: https://github.com/apache/texera/issues/8762
### What happened? An exposed HuggingFace model picker (`modelId`) gets the operator's other properties, `task` included, as read-only context (`workflow-form.component.ts:899`), so it loads the right models and labels the field, and only the bound property is written back. The widget's own task selector is still interactive, though, and a task change made there is not persisted: a reader can pick a model for a task the operator does not run, and the selector then misrepresents what will run. Expected: a form-view mode of the shared `hugging-face.component` that uses the provided task and hides or locks the task selector. Part of #8439 (item 3) and the Form View feature #8011. Raised by Copilot on #8437. ### How to reproduce? 1. Expose a HuggingFace operator's `modelId` in the Form View. 2. As a reader, change the task in the widget's own selector and pick a model for it. 3. The workflow keeps the operator's original task; the picked model does not match it. ### Version/Branch 1.4.0-incubating-SNAPSHOT (main) ### Commit Hash (Optional) 506397a5c ### What browsers are you seeing the problem on? Chrome ### Relevant log output _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
