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

Enhancement: Add Custom Headers to Endpoints #3354

Open
1 task done
darkBuddha opened this issue Jul 16, 2024 · 8 comments
Open
1 task done

Enhancement: Add Custom Headers to Endpoints #3354

darkBuddha opened this issue Jul 16, 2024 · 8 comments
Labels
enhancement New feature or request

Comments

@darkBuddha
Copy link

darkBuddha commented Jul 16, 2024

What features would you like to see added?

Hi, it seems that there was an update: https://x.com/alexalbert__/status/1812921642143900036

More details

Adding a custom header is not possible currently AFAIK

Which components are impacted by your request?

No response

Pictures

Screenshot 2024-07-16 at 15 58 15

Code of Conduct

  • I agree to follow this project's Code of Conduct
@darkBuddha darkBuddha added the enhancement New feature or request label Jul 16, 2024
@danny-avila danny-avila changed the title Enhancement: Support full output token limit (Anthropic) Enhancement: Add Custom Headers to Endpoints Jul 17, 2024
@danny-avila
Copy link
Owner

renamed this issue to Enhancement: Add Custom Headers to Endpoints

@darkBuddha
Copy link
Author

Any ETA on this? I use only 3.5 Sonnet since it came out, really missing the context window. Don't want to look for LibreChat alternative

@danny-avila
Copy link
Owner

Handling the concern that opened this issue here: #3407

Adding custom headers is possible for azure/custom endpoints but not the other endpoints so will keep this open until then.

@darkBuddha
Copy link
Author

Thank you so much 🎉

@darkBuddha
Copy link
Author

@danny-avila
Copy link
Owner

https://x.com/alexalbert__/status/1825920737326281184

FYI

For your information, I'm already using that header as the default behavior for Anthropic, as well as prompt caching. The ability to customize headers for non-custom/non-openai endpoints remains.

@darkBuddha
Copy link
Author

They said the header is not needed any more :D Thought you can clean up the code ...

@danny-avila
Copy link
Owner

They said the header is not needed any more :D Thought you can clean up the code ...

it's still needed, it's just an abstraction for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants