feat: support o1-preview and o1-mini model #2300
Merged
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.
支持了openai最新模型(草莓),配置如下,model参数可填
"o1-preview"
或者"o1-mini"
:注:
官方说明目前只有开发等级为5,即 tier 5 才有权限使用,核对等级点这里tier 5
如果没有openai账号或者等级不够,可以使用LinkAI的服务,参考 #2179 只需配置linkai api key 即可使用最新的常见国内外大模型。