fixbug: Avoid mapping "gpt-4-gizmo-g-id" to "gpt-4".#227
Open
code-october wants to merge 1 commit intolanqian528:mainfrom
Open
fixbug: Avoid mapping "gpt-4-gizmo-g-id" to "gpt-4".#227code-october wants to merge 1 commit intolanqian528:mainfrom
code-october wants to merge 1 commit intolanqian528:mainfrom
Conversation
|
是这么回事,这样一来GPT-4 的次数就无形中少了 |
Author
可以先改成 g-xxx 的形式调用,就不占用 gpt-4 次数了,小缺点是用不了 newapi 的正则 gpt-4-gizmo-* 。 当然还是希望作者修复下,采用其他逻辑也行,至少不让它们冲突。 |
|
gpt-4-gizmo-g-xxx? |
Author
defcron
pushed a commit
to gptenv/chat2api_custom
that referenced
this pull request
May 16, 2025
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.


修复问题:当前如果通过 "gpt-4-gizmo-g-id" 的模型名称来调用 gpts,会导致模型名称被映射成 gpt-4,从而普号无法调用,而实际普号是可以通过 “g-id” 的名称进行调用的: