AC
3aae552167
Refactor Bedrock API Configuration Check and Improve ChatActions Logging
...
- Removed redundant Bedrock configuration check in the API handler for cleaner code.
- Enhanced logging in `ChatActions` to provide clearer feedback when an unknown provider ID is encountered, defaulting to OpenAI when necessary.
2025-04-06 21:50:33 +08:00
AC
9a865fd76f
Update ChatActions to Assert Non-null Provider Name
...
- Modified the assignment of `providerName` in `ChatActions` to assert non-null, ensuring type safety and preventing potential runtime errors.
2025-04-06 17:22:45 +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
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
RiverRay
48cd4b11b5
Merge pull request #6190 from siliconflow/refine-emoji-siliconflow
...
Fix model icon on SiliconFlow
2025-02-11 18:37:47 +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
suruiqiang
1ae5fdbf01
mini optimizations
2025-02-08 16:15:10 +08:00
suruiqiang
f156430cc5
fix emoji issue for doubao and glm's congview & congvideox
2025-02-07 16:18:15 +08:00
Eric-2369
5225a6e192
feat: add more llm icons
2025-02-05 12:34:00 +08:00
Shenghang Tsai
ad9ab9d45a
New provider SiliconFlow and Its Latest DeekSeek Models
...
Update README.md
Update constant.ts
Update README_CN.md
2025-02-04 16:59:26 +08:00
Sky
8f12beb8f0
support o3-mini
2025-02-02 21:43:30 +00:00
Kadxy
f22cfd7b33
Update chat.tsx
2025-01-20 10:10:52 +08:00
Kadxy
a3d3ce3f4c
Merge branch 'main' into feat-mcp
2025-01-19 23:28:12 +08:00
Kadxy
bfeea4ed49
fix: prevent MCP operations from blocking chat interface
2025-01-19 01:02:01 +08:00
Kadxy
bc71ae247b
feat: add ENABLE_MCP env var to toggle MCP feature globally and in Docker
2025-01-18 21:19:01 +08:00
Kadxy
65810d918b
feat: improve async operations and UI feedback
2025-01-16 21:31:19 +08:00
Kadxy
588d81e8f1
feat: remove unused files
2025-01-16 09:17:08 +08:00
Kadxy
d4f499ee41
feat: adjust form style
2025-01-16 09:11:53 +08:00
Kadxy
4d63d73b2e
feat: load MCP preset data from server
2025-01-16 09:00:57 +08:00
Kadxy
07c63497dc
feat: support stop/start MCP servers
2025-01-16 08:52:54 +08:00
Kadxy
be59de56f0
feat: Display the number of clients instead of the number of available tools.
2025-01-15 17:24:04 +08:00
Kadxy
8aa9a500fd
feat: Optimize MCP configuration logic
2025-01-15 16:52:54 +08:00
Kadxy
e95c94d7be
fix: inaccurate content
2025-01-09 20:10:10 +08:00
Kadxy
125a71fead
fix: unnecessary initialization
2025-01-09 20:07:24 +08:00
Kadxy
b410ec399c
feat: auto scroll to bottom when MCP response
2025-01-09 20:02:27 +08:00
Kadxy
7d51bfd42e
feat: MCP market
2025-01-09 19:51:01 +08:00
Kadxy
77be190d76
feat: carry mcp primitives content as a system prompt
2025-01-09 10:09:46 +08:00
DDMeaqua
d184eb6458
chore: cmd + shift+ backspace
2024-12-31 14:50:54 +08:00
DDMeaqua
c5d9b1131e
fix: merge bug
2024-12-31 14:38:58 +08:00
DDMeaqua
e13408dd24
Merge branch 'main' into feat-shortcutkey
2024-12-31 14:30:09 +08:00
DDMeaqua
aba4baf384
chore: update
2024-12-31 14:25:43 +08:00
DDMeaqua
6d84f9d3ae
chore: update
2024-12-31 13:27:15 +08:00
suruiqiang
90c531c224
fix issue #6009 add setting items for deepseek
2024-12-30 18:23:18 +08:00
DDMeaqua
5b5dea1c59
chore: 更换快捷键
2024-12-30 12:11:50 +08:00
RiverRay
5f96804f3b
Merge pull request #5920 from fishshi/i18n
...
Use i18n for DISCOVERY
2024-12-28 22:05:37 +08:00
Dogtiti
0cb186846a
feature: support glm Cogview
2024-12-28 20:23:44 +08:00
fishshi
93c5320bf2
Use i18n for DISCOVERY
2024-12-10 15:56:04 +08:00
frostime
759a09a76c
🎨 style(setting): Place custom-model's input a seperated row.
2024-11-27 13:11:18 +08:00
code-october
23350c842b
fix o1 in disableGPT4
2024-11-21 03:45:07 +00:00
Dogtiti
a2adfbbd32
Merge pull request #5821 from Sherlocksuper/scroll
...
feat: support more user-friendly scrolling
2024-11-16 15:24:46 +08:00
opchips
e56216549e
fix: 代码块嵌入小代码块时渲染错误
2024-11-15 11:56:26 +08:00
Sherlock
19facc7c85
feat: support mort user-friendly scrolling
2024-11-14 21:31:45 +08:00
Lloyd Zhou
a392daab71
Merge pull request #5816 from ConnectAI-E/feature/artifacts-svg
...
artifacts support svg
2024-11-13 14:58:33 +08:00
opchips
9a86c42c95
update
2024-11-12 16:33:55 +08:00
Dogtiti
1d14a991ee
fix: use current session id to trigger rerender
2024-11-11 20:30:59 +08:00
Dogtiti
4629b39c29
chore: comment context history
2024-11-09 16:22:01 +08:00
Dogtiti
d33e772fa5
feat: voice print
2024-11-08 22:39:17 +08:00
Dogtiti
89136fba32
feat: voice print
2024-11-08 22:18:39 +08:00