PG1204 opened a new issue, #7206: URL: https://github.com/apache/texera/issues/7206
### Task Summary `PROVIDER_COST_PRIORITY` is a hardcoded cheapest-first list; new providers land unranked at the end and the ordering goes stale. ### Context No public HF API exposes per-model/provider pricing (verify at implementation time), so live pricing isn't practical. ### Proposed change Either: - (a) delegate provider selection to the HF router model-level endpoint (`router.huggingface.co/v1/chat/completions` with the Hub ID, HF picks the provider per the user's account preference; chat tasks only), or - (b) add an optional "preferred providers" operator property prepended to the static ranking. ### Related Best done after the provider-memoization task (#7202), the same fallback loop, and memoization is the bigger practical win. ### Task Type - [ ] Refactor / Cleanup - [ ] DevOps / Deployment / CI - [ ] Testing / QA - [ ] Documentation - [ ] Performance - [x] Other -- 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]
