Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 更新 openai 的模型 #1947

Closed
wants to merge 1 commit into from

Conversation

Laisky
Copy link
Contributor

@Laisky Laisky commented Nov 27, 2024

功能

新增 OpenAI 的模型:gpt-4o-2024-11-20, o1-preview, o1-preview-2024-09-12, o1-mini, o1-mini-2024-09-12

截图

CleanShot 2024-11-27 at 14 45 04@2x

Copy link

codecov bot commented Nov 27, 2024

Codecov Report

Attention: Patch coverage is 0% with 21 lines in your changes missing coverage. Please review.

Project coverage is 1.21%. Comparing base (6ab87f8) to head (22de24d).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
relay/adaptor/openai/adaptor.go 0.00% 9 Missing ⚠️
relay/billing/ratio/model.go 0.00% 6 Missing ⚠️
relay/controller/text.go 0.00% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #1947      +/-   ##
========================================
- Coverage   1.21%   1.21%   -0.01%     
========================================
  Files        145     145              
  Lines      12281   12298      +17     
========================================
  Hits         149     149              
- Misses     12118   12135      +17     
  Partials      14      14              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SimsonW
Copy link

SimsonW commented Dec 12, 2024

请求大佬合入该 pr,迫切希望用上新的模型🙏

@Laisky
Copy link
Contributor Author

Laisky commented Dec 12, 2024

请求大佬合入该 pr,迫切希望用上新的模型🙏

可以试试这个镜像 ppcelery/one-api:latest 包含了最新的 features

@SimsonW
Copy link

SimsonW commented Dec 17, 2024

请求大佬合入该 pr,迫切希望用上新的模型🙏

可以试试这个镜像 ppcelery/one-api:latest 包含了最新的 features

大佬您好,十分感谢,这个镜像里包含了o1preview相关模型特性。
其次我们在使用这个镜像时发现调用gemini 的流式返回会报错如下,是否有解决方案?
image

@Laisky
Copy link
Contributor Author

Laisky commented Dec 17, 2024

请求大佬合入该 pr,迫切希望用上新的模型🙏

可以试试这个镜像 ppcelery/one-api:latest 包含了最新的 features

大佬您好,十分感谢,这个镜像里包含了o1preview相关模型特性。 其次我们在使用这个镜像时发现调用gemini 的流式返回会报错如下,是否有解决方案? image

之前确实有过这个问题,但是很快修复了,请确认一下是否是最新的 ppcelery/one-api:latest 镜像,IMAGE ID 应为 bbeefc0896a8

如果确认还有问题可以再联系我,可以到这里提 issue https://github.com/Laisky/one-api/issues

@Laisky Laisky closed this Dec 19, 2024
@Laisky Laisky deleted the patch/openai-o1 branch December 19, 2024 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants