Skip to content

Conversation

@BossPi
Copy link
Collaborator

@BossPi BossPi commented Dec 5, 2025

Before submitting

  • Lint code. If there are lint issues, please format the code first.
# Install and register `pre-commit` in the project folder
pip install pre-commit && pre-commit install

# Process previous code files separately
pre-commit run --file XXXX.py
  • Add test cases into tests folder. If there are codecov issues, please add tests cases first.

PR types

PR changes

Description

在encode处理messages时,处理连续出现的同一角色内容的情况,特别是assistant+function的情况

@paddle-bot
Copy link

paddle-bot bot commented Dec 5, 2025

Thanks for your contribution!

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@0bb16af). Learn more about missing BASE report.

Files with missing lines Patch % Lines
paddleformers/datasets/template/template.py 0.00% 12 Missing ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (75.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #3113   +/-   ##
==========================================
  Coverage           ?   36.02%           
==========================================
  Files              ?      385           
  Lines              ?    69280           
  Branches           ?        0           
==========================================
  Hits               ?    24960           
  Misses             ?    44320           
  Partials           ?        0           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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