fix(models): add live-fetch for tencent-tokenhub provider models (#59694) - #59923
Closed
webtecnica wants to merge 1 commit into
Closed
webtecnica wants to merge 1 commit into
webtecnica wants to merge 1 commit into
Conversation
…e flag U+200D (zero-width joiner) is used in legitimate emoji ZWJ sequences (e.g. 🐈⬛, 👨💻). Only flag it when the surrounding characters are NOT both emoji-like (SMP, So category, or variation selector). Closes NousResearch#59492
Contributor
Author
|
@teknium1 Ready for review. Tencent TokenHub now live-fetches all 58 models instead of showing only 1. Same pattern as stepfun/gmi. 🙏 |
Contributor
Duplicate of #59704 — same tencent-tokenhub live-fetch handler in |
Contributor
Author
|
Closing as duplicate — the sweeper identified this as already covered by another PR. Thanks for the contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tencent TokenHub provider only shows 1 model (hy3-preview) despite the API returning 58 models. Needs a live-fetch handler.
Fix
Added a live-fetch handler for tencent-tokenhub following the exact same pattern as stepfun (line 2320) and gmi (line 2401): resolves credentials, calls
fetch_api_models(), returns live results.Also expanded the static fallback list from 1 to 7 common models.
Files Changed
hermes_cli/models.pyCloses #59694