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

fix(server): solve the chat error #720

Merged
merged 3 commits into from
Feb 5, 2025
Merged

fix(server): solve the chat error #720

merged 3 commits into from
Feb 5, 2025

Conversation

xingwanying
Copy link
Contributor

线上百分百复现
image

Copy link

vercel bot commented Feb 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
petercat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 5, 2025 4:03am

Copy link

Walkthrough

此PR修复了服务器端的聊天错误,通过调整代码逻辑以确保消息的使用元数据正确处理。主要更改包括对生成内容的提取和错误处理的格式化。

Changes

文件 摘要
server/agent/base.py 修正了从生成内容中提取消息使用元数据的逻辑,并调整了错误处理的格式。

@xingwanying xingwanying requested a review from RaoHai February 5, 2025 04:03
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

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

Files with missing lines Patch % Lines
server/agent/base.py 0.00% 8 Missing ⚠️
Files with missing lines Coverage Δ
server/agent/base.py 23.07% <0.00%> (-0.61%) ⬇️

@RaoHai RaoHai merged commit 406973b into main Feb 5, 2025
4 of 5 checks passed
@RaoHai RaoHai deleted the fix_chart branch February 5, 2025 06:31
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