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更新,更新0613模型及3.5 16K模型 及 修复stream模式引入的两个bug #249

Merged
merged 5 commits into from
Jun 16, 2023

Conversation

ffinly
Copy link
Contributor

@ffinly ffinly commented Jun 14, 2023

feat: 同步OpenAI更新,更新0613模型及3.5 16K模型
fix: 修复http模式下outgoing机器人无法使用的问题
fix: 修复Stream模式下启动,service_url未配置报错的问题
feat: 新增画图prompt(感谢Chlorine提供)

http模式鉴权的时候没有考虑outgoing机器人的处理场景,outgoing机器人启动会报错:
2023/06/14 23:56:53 WARN [该请求不合法,可能是其他企业或者未经允许的应用调用所致,请知悉!]

修复后OK,已验证场景:
1.allow_outgoing_groups 无配置:程序正常放行
2.allow_outgoing_groups 配置正确:程序正常放行
3.allow_outgoing_groups 配置错误:程序正常拦截

在提出此拉取请求时,我确认了以下几点(请复选框):

  • 我已阅读并理解贡献者指南
  • 我已检查没有与此请求重复的拉取请求。
  • 我已经考虑过,并确认这份呈件对其他人很有价值。
  • 我接受此提交可能不会被使用,并根据维护人员的意愿关闭拉取请求。

http模式鉴权的时候没有考虑outgoing机器人的处理场景,outgoing机器人启动会报错:
2023/06/14 23:56:53 WARN [该请求不合法,可能是其他企业或者未经允许的应用调用所致,请知悉!]

修复后OK,已验证场景:
1.allow_outgoing_groups 无配置:程序正常放行
2.allow_outgoing_groups 配置正确:程序正常放行
3.allow_outgoing_groups 配置错误:程序正常拦截
@ffinly ffinly changed the title fix: 修复http模式下outgoing机器人无法使用的问题 feat: 同步OpenAI更新,更新0613模型及3.5 16K模型及修复http模式下outgoing机器人无法使用的问题 Jun 15, 2023
@ffinly ffinly changed the title feat: 同步OpenAI更新,更新0613模型及3.5 16K模型及修复http模式下outgoing机器人无法使用的问题 feat: 同步OpenAI更新,更新0613模型及3.5 16K模型 及 修复stream模式引入的两个bug Jun 15, 2023
@eryajf
Copy link
Owner

eryajf commented Jun 16, 2023

看到他已发布了新的release,你这边方便的话,引用他这版的tag吧:

https://github.com/sashabaranov/go-openai/releases/tag/v1.11.1

操作流程是更改go.mod里边的版本为 v1.11.1
然后执行go mod tidy -v
检查一下是否有冲突性的更新,如果程序能正常运行,说明就没问题。

@ffinly
Copy link
Contributor Author

ffinly commented Jun 16, 2023

看到他已发布了新的release,你这边方便的话,引用他这版的tag吧:

https://github.com/sashabaranov/go-openai/releases/tag/v1.11.1

操作流程是更改go.mod里边的版本为 v1.11.1 然后执行go mod tidy -v 检查一下是否有冲突性的更新,如果程序能正常运行,说明就没问题。

好的,我下午试一下

@ffinly
Copy link
Contributor Author

ffinly commented Jun 16, 2023

看到他已发布了新的release,你这边方便的话,引用他这版的tag吧:

https://github.com/sashabaranov/go-openai/releases/tag/v1.11.1

操作流程是更改go.mod里边的版本为 v1.11.1 然后执行go mod tidy -v 检查一下是否有冲突性的更新,如果程序能正常运行,说明就没问题。

已更新并合并,经验证,正常使用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants