lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
40.97k stars 9.34k forks source link

[Request] add additional headers for Anthropic Claude-API #3596

Closed ladisa-33 closed 3 weeks ago

ladisa-33 commented 4 weeks ago

🥰 Feature Description

Please make it possible to add the header "anthropic-beta": "max-tokens-3-5-sonnet-2024-07-15" to API calls. So that we can use the new 8K output from Sonnet 3.5

🧐 Proposed Solution

Additional header option in API-requrest

📝 Additional Information

Bildschirmfoto 2024-08-24 um 21 22 56
lobehubbot commented 4 weeks ago

👀 @ladisa-33

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

arvinxx commented 3 weeks ago

duplicate of https://github.com/lobehub/lobe-chat/issues/3333

lobehubbot commented 3 weeks ago

✅ @ladisa-33

This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。