Skip to content

Fix : Add anthropic version header with each request#33

Closed
insaaniManav wants to merge 1 commit into
Portkey-AI:mainfrom
insaaniManav:main
Closed

Fix : Add anthropic version header with each request#33
insaaniManav wants to merge 1 commit into
Portkey-AI:mainfrom
insaaniManav:main

Conversation

@insaaniManav
Copy link
Copy Markdown

The anthropic implementation was breaking so added a version header by default , we could potentially make this configurable but there is no publically available list of versions as per my research

@VisargD
Copy link
Copy Markdown
Collaborator

VisargD commented Nov 1, 2023

Hey @insaaniManav . The version that you added as default now supports incremental chunk streaming. But the implementation in Rubeus does the old stream where each chunk is a combination of all the old chunks + the new one. Let me sit on it today and fix it.

@VisargD
Copy link
Copy Markdown
Collaborator

VisargD commented Nov 1, 2023

Closing this PR as this requires some more changes than just hardcoding the version header. Raised a new PR #38

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