Files
ChatGPT-Next-Web/app/api
AC fc9688a1f7 feat(bedrock): Integrate AWS Bedrock as a new LLM provider
Adds support for using models hosted on AWS Bedrock, specifically Anthropic Claude models.

Key changes:
- Added '@aws-sdk/client-bedrock-runtime' dependency.
- Updated constants, server config, and auth logic for Bedrock.
- Implemented backend API handler () to communicate with the Bedrock API, handling streaming and non-streaming responses, and formatting output to be OpenAI compatible.
- Updated dynamic API router () to dispatch requests to the Bedrock handler.
- Created frontend client () and updated client factory ().
- Updated  with necessary Bedrock environment variables (AWS keys, region, enable flag) and an example for using  to alias Bedrock models.
2025-04-06 00:46:35 +08:00
..
2024-07-26 15:50:26 +08:00
2024-09-15 20:17:02 +08:00
2024-11-29 15:47:28 +00:00
2024-11-29 15:47:28 +00:00
2024-09-15 20:17:02 +08:00
2024-11-29 15:47:28 +00:00
2024-11-29 15:47:28 +00:00
2024-11-29 15:47:28 +00:00
2024-09-29 15:51:28 +08:00
2024-11-29 15:47:28 +00:00
2024-11-29 15:47:28 +00:00
2024-11-11 12:59:29 +08:00
2024-11-29 15:47:28 +00:00