Skip to content

修复了系统提示和文件token无法被计算的问题 #41

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

Merged
merged 3 commits into from
Feb 8, 2025

Conversation

xinhai-ai
Copy link
Contributor

将inlet中的messages 与 outlet中的 messages 最后一个元素拼接作为新的 outlet messages 传递给 后端进行token计算,保证能正确计算到系统提示以及文件

修正前
image
修正后
image

将inlet中的messages 与 outlet中的 messages  最后一个元素拼接作为新的 outlet messages 传递给 后端进行token计算,保证能正确计算到系统提示以及文件
Copy link

vercel bot commented Feb 8, 2025

@xinhai-ai is attempting to deploy a commit to the variantconst's projects Team on Vercel.

A member of the Team first needs to authorize it.

@VariantConst VariantConst merged commit 1910192 into VariantConst:main Feb 8, 2025
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.

2 participants