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: extend anthropic header to support 8k context windows #1654

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

Laisky
Copy link
Collaborator

@Laisky Laisky commented Jul 16, 2024

claude-3-5-sonnet 支持 8k 输出,实际上就是加了一行 header

CleanShot 2024-07-16 at 09 36 23@2x

Copy link

codecov bot commented Jul 16, 2024

Codecov Report

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

Project coverage is 1.29%. Comparing base (6209ff9) to head (004d58c).

Files Patch % Lines
relay/adaptor/anthropic/adaptor.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #1654      +/-   ##
========================================
- Coverage   1.29%   1.29%   -0.01%     
========================================
  Files        142     142              
  Lines      10068   10070       +2     
========================================
  Hits         130     130              
- Misses      9924    9926       +2     
  Partials      14      14              

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

@zijiren233 zijiren233 changed the title fix: implement improved headers for anthropic to support 8k outputs feat: extend anthropic header to support 8k context windows Jul 16, 2024
@zijiren233
Copy link
Collaborator

@songquanpeng songquanpeng merged commit adba54a into songquanpeng:main Jul 16, 2024
3 of 4 checks passed
@Laisky Laisky deleted the patch/claude-8k branch July 17, 2024 01:03
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.

3 participants