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

[Perf] 优化函数调用的底层逻辑 #533

Merged
merged 11 commits into from
Aug 6, 2023

Conversation

RockChinQ
Copy link
Owner

@RockChinQ RockChinQ commented Aug 6, 2023

概述

  • 优化了ChatCompletion底层保存messages的逻辑
  • 简单支持跟踪响应的每一步

以下内容可在起草PR后、合并PR前逐步完成

功能

  • 已编写完善的配置文件字段说明(若有新增)
  • 已编写面向用户的新功能说明(若有必要)
  • 已测试新功能或更改

兼容性

  • 已处理版本兼容性
  • 已处理插件兼容问题

风险

可能导致或已知的问题:

开启trace_function_calls后,会导致包括但不限于以下问题:

  • 回复内容不受敏感词检查
  • 回复内容不包含已设定的前缀
  • NormalMessagesResponded事件逻辑不正确

@RockChinQ RockChinQ marked this pull request as ready for review August 6, 2023 06:47
@RockChinQ RockChinQ changed the title Perf function call process [Perf] 优化函数调用的底层逻辑 Aug 6, 2023
@RockChinQ RockChinQ merged commit 634c7fb into master Aug 6, 2023
1 of 2 checks passed
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.

1 participant