AC
a5caf98db0
Enhance Bedrock API Logging for Request Details
...
- Updated logging in the Bedrock API handler to include detailed information about the request model, stream status, and message count for improved debugging and monitoring.
2025-04-06 17:04:55 +08:00
AC
4093e4c500
Improve AWS Bedrock Configuration Error Handling
...
- Enhanced error messages in `getAwsCredentials` to provide clearer feedback when AWS Bedrock is not configured properly.
- Added checks for missing Bedrock Access Key ID and Secret Access Key, with specific error messages for each case.
2025-04-06 17:03:53 +08:00
AC
04cbadb197
Enhance API and Chat Actions with Improved Provider Handling
...
- Added logging to `getClientApi` for better debugging of provider input and standardized provider names.
- Updated `ChatActions` to handle lowercase provider IDs, converting them to TitleCase for consistency with the ServiceProvider enum.
- Implemented defaulting to OpenAI when provider ID is missing and added relevant logging for session updates.
- Enhanced logging in `useChatStore` to track API call preparations and provider configurations.
2025-04-06 17:03:18 +08:00
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
RiverRay
f7cde17919
Merge pull request #6292 from Little-LittleProgrammer/feature/alibaba-omni-support
...
Run Tests / test (push) Has been cancelled
feat(alibaba): Added alibaba vision model and omni model support
2025-03-01 10:25:16 +08:00
Kadxy
2d4180f5be
fix: update request payload to use filtered messages in Deepseek API
2025-02-28 13:59:30 +08:00
Kadxy
9f0182b55e
fix: enforce that the first message (excluding system messages) is a user message in the Deepseek API
2025-02-28 13:54:58 +08:00
EvanWu
a2c4e468a0
fix(app/utils/chat.ts): fix type error
2025-02-26 19:58:32 +08:00
RiverRay
2167076652
Merge pull request #6293 from hyiip/main
...
Run Tests / test (push) Has been cancelled
claude 3.7 support
2025-02-26 18:41:28 +08:00
Rex Ng
ebcb4db245
Fix: Improve Mistral icon detection and remove redundant code.
...
- Added "codestral" to the list of acceptable names for the Mistral icon, ensuring proper detection.
- Removed duplicate `toLowerCase()` calls.
2025-02-25 14:30:18 +08:00
EvanWu
0a25a1a8cb
refacto(app/utils/chat.ts)r: optimize function preProcessImageContentBase
2025-02-25 09:22:47 +08:00
hyiip
f3154b20a5
claude 3.7 support
2025-02-25 03:55:24 +08:00
EvanWu
b709ee3983
feat(alibaba): Added alibaba vision model and omni model support
2025-02-24 20:18:07 +08:00
RiverRay
b966107117
Merge pull request #6235 from DBCDK/danish-locale
...
Run Tests / test (push) Has been cancelled
Translation to danish
2025-02-17 22:58:01 +08:00
river
377480b448
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web
Run Tests / test (push) Has been cancelled
2025-02-16 10:50:07 +08:00
river
8bd0d6a1a7
chore: Update NextChatAI domain from nextchat.dev to nextchat.club
2025-02-16 10:48:54 +08:00
Rasmus Erik Voel Jensen
90827fc593
danish rewording / improved button label
2025-02-15 13:08:58 +01:00
Rasmus Erik Voel Jensen
008e339b6d
danish locale
2025-02-15 12:52:44 +01:00
suruiqiang
cf140d4228
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web into ali_bytedance_reasoning_content
2025-02-12 17:54:50 +08:00
suruiqiang
476d946f96
fix bug (trim eats space or \n mistakenly), optimize timeout by model
2025-02-12 17:49:54 +08:00
suruiqiang
9714258322
support deepseek-r1@OpenAI's reasoning_content, parse <think></think> from stream
2025-02-11 18:57:16 +08:00
RiverRay
48cd4b11b5
Merge pull request #6190 from siliconflow/refine-emoji-siliconflow
...
Run Tests / test (push) Has been cancelled
Fix model icon on SiliconFlow
2025-02-11 18:37:47 +08:00
RiverRay
77c78b230a
Merge pull request #6193 from siliconflow/get-models-siliconflow
...
Model listing of SiliconFlow
2025-02-11 18:37:22 +08:00
RiverRay
b44686b887
Merge pull request #6189 from bestsanmao/bug_fix
...
fix avatar for export message preview and saved image
2025-02-11 18:36:50 +08:00
suruiqiang
b0758cccde
optimization
2025-02-11 16:08:30 +08:00
suruiqiang
98a11e56d2
support alibaba and bytedance's reasoning_content
2025-02-11 12:46:46 +08:00
Shenghang Tsai
86f86962fb
Support VLM on SiliconFlow
2025-02-10 13:39:06 +08:00
Shenghang Tsai
2137aa65bf
Model listing of SiliconFlow
2025-02-10 11:03:49 +08:00
Shenghang Tsai
18fa2cc30d
fix model icon on siliconflow
2025-02-09 18:49:26 +08:00
Shenghang Tsai
0bfc648085
fix model icon on siliconflow
2025-02-09 18:47:57 +08:00
suruiqiang
9f91c2d05c
fix avatar for export message preview and saved image
2025-02-09 16:52:46 +08:00
RiverRay
c2edfec16f
Merge pull request #6172 from bestsanmao/bug_fix
...
fix several bugs
2025-02-09 11:03:44 +08:00
suruiqiang
97a4aafc92
Merge remote-tracking branch 'remotes/origin/main' into bug_fix
2025-02-09 09:46:07 +08:00
GH Action - Upstream Sync
d8f533e1f3
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web
2025-02-09 01:22:47 +00:00
RiverRay
c6199dbf9f
Merge pull request #6186 from siliconflow/fix-truc-of-reasoning-model
...
Run Tests / test (push) Waiting to run
Fix formatting of reasoning model on SiliconFlow
2025-02-08 23:40:39 +08:00
Shenghang Tsai
acf75ce68f
Remove unnecessary trimming
2025-02-08 16:34:17 +08:00
suruiqiang
1ae5fdbf01
mini optimizations
2025-02-08 16:15:10 +08:00
Shenghang Tsai
2a3996e0d6
Update siliconflow.ts
2025-02-08 14:38:12 +08:00
GH Action - Upstream Sync
fdbaddde37
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web
2025-02-08 01:16:56 +00:00
suruiqiang
d74f79e9c5
Merge remote-tracking branch 'remotes/origin/HEAD' into bug_fix
2025-02-08 08:29:34 +08:00
itsevin
c4e9cb03a9
Add Xai model
2025-02-07 20:29:21 +08:00
RiverRay
bf265d3375
Merge pull request #6164 from ZhangYichi-ZYc/main
...
Run Tests / test (push) Has been cancelled
Fix: Set consistent fill color for OpenAI/MoonShot/Grok SVG to prevent color inversion in dark mode
2025-02-07 20:25:20 +08:00
RiverRay
17f391d929
Merge pull request #6158 from dupl/main
...
update the lastest Gemini models
2025-02-07 20:23:47 +08:00
suruiqiang
a5a9768245
change request timeout for thinking mode
2025-02-07 16:34:14 +08:00
suruiqiang
3fe55b4f7f
fix bug that gemini has multiple candidates part
2025-02-07 16:20:07 +08:00
suruiqiang
f156430cc5
fix emoji issue for doubao and glm's congview & congvideox
2025-02-07 16:18:15 +08:00
suruiqiang
f30c6a4348
fix doubao and grok not upload image
2025-02-07 16:14:19 +08:00
xiexin12138
a780b39c17
fix: 补充硅基流动对 DeepSeek 支持的付费模型
2025-02-07 15:43:50 +08:00
ZhangYichi
51384ddc5f
Fix: Set consistent fill color for OpenAI/MoonShot/Grok SVG to prevent color inversion in dark mode
2025-02-07 11:13:22 +08:00
dupl
e5e5fde924
update the lastest Gemini models
2025-02-07 06:50:31 +08:00