Mihail Klimin
8fa7c14f18
feat(tauri): Migrate from Tauri v1 to v2
...
# Summary
This commit completes the migration from Tauri v1 to v2, resolves configuration issues, upgrades Next.js, and adds test coverage for critical components to ensure stability during the transition.
# Details
## Tauri v2 Migration
- Updated Tauri dependencies to v2.3.0 series in package.json
- Restructured build configuration in `/app/config/build.ts` to align with Tauri v2 requirements
- Fixed imports and API usage patterns across the codebase
- Added compatibility layer for window.__TAURI__ references to maintain backward compatibility
## Next.js Issues
- Upgraded Next.js from 14.1.1 to 14.2.24
- Resolved caching problems with Server Actions
- Updated eslint-config-next to match the new version
- Cleared Next.js cache and temporary files to address build issues
## Testing & Stability
- Added comprehensive tests for `stream.ts` to verify streaming functionality
- Created mocks for Tauri API to support test environment
- Verified that critical functionality continues to work correctly
- Translated all comments to English for consistency
## Infrastructure
- Fixed peer dependency warnings during installation
- Ensured proper integration with Tauri v2 plugins (clipboard-manager, dialog, fs, http, notification, shell, updater, window-state)
# Approach
Prioritized stability by:
1. Making minimal necessary changes to configuration files
2. Preserving most `window.__TAURI__` calls as they still function in v2
3. Planning gradual migration to new APIs with test coverage for critical components
4. Documenting areas that will require future attention
# Testing
- Created unit tests for critical streaming functionality
- Performed manual testing of key application features
- Verified successful build and launch with Tauri v2
# Future Work
- Future PRs will gradually replace deprecated Tauri v1 API calls with v2 equivalents
- Additional test coverage will be added for other critical components
2025-03-16 02:14:47 +03: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
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
RiverRay
39b3487ea0
Merge branch 'main' into update_knowledge_cutoff_date
2025-02-04 09:37:55 +08:00