@lobehub/lobehub 2.0.0-next.15 → 2.0.0-next.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.console-log-whitelist.json +14 -0
- package/.cursor/rules/db-migrations.mdc +16 -1
- package/.cursor/rules/project-introduce.mdc +2 -2
- package/.cursor/rules/project-structure.mdc +20 -2
- package/.env.desktop +1 -2
- package/.env.example +176 -65
- package/.env.example.development +11 -10
- package/.github/workflows/claude-auto-testing.yml +73 -0
- package/.github/workflows/claude-translate-comments.yml +67 -0
- package/.github/workflows/claude-translator.yml +1 -0
- package/.github/workflows/e2e.yml +14 -0
- package/.github/workflows/issue-auto-comments.yml +0 -19
- package/.github/workflows/pr-build-desktop.yml +362 -0
- package/.github/workflows/pr-build-docker.yml +173 -0
- package/.github/workflows/release-desktop-beta.yml +4 -4
- package/.github/workflows/release-docker.yml +133 -0
- package/.github/workflows/release.yml +2 -3
- package/.github/workflows/sync.yml +2 -2
- package/.github/workflows/test.yml +47 -7
- package/AGENTS.md +6 -3
- package/CHANGELOG.md +3405 -0
- package/CLAUDE.md +43 -0
- package/Dockerfile +8 -6
- package/GEMINI.md +63 -0
- package/README.md +9 -52
- package/README.zh-CN.md +9 -52
- package/apps/desktop/package.json +25 -19
- package/apps/desktop/src/common/routes.ts +0 -6
- package/apps/desktop/src/main/appBrowsers.ts +0 -13
- package/apps/desktop/src/main/controllers/AuthCtr.ts +135 -63
- package/apps/desktop/src/main/controllers/BrowserWindowsCtr.ts +29 -48
- package/apps/desktop/src/main/controllers/LocalFileCtr.ts +80 -16
- package/apps/desktop/src/main/controllers/MenuCtr.ts +5 -5
- package/apps/desktop/src/main/controllers/NotificationCtr.ts +29 -29
- package/apps/desktop/src/main/controllers/RemoteServerConfigCtr.ts +115 -23
- package/apps/desktop/src/main/controllers/ShellCommandCtr.ts +242 -0
- package/apps/desktop/src/main/controllers/ShortcutCtr.ts +2 -2
- package/apps/desktop/src/main/controllers/TrayMenuCtr.ts +18 -18
- package/apps/desktop/src/main/controllers/UpdaterCtr.ts +4 -4
- package/apps/desktop/src/main/controllers/__tests__/AuthCtr.test.ts +706 -0
- package/apps/desktop/src/main/controllers/__tests__/BrowserWindowsCtr.test.ts +21 -72
- package/apps/desktop/src/main/controllers/__tests__/LocalFileCtr.test.ts +157 -1
- package/apps/desktop/src/main/controllers/__tests__/McpInstallCtr.test.ts +286 -0
- package/apps/desktop/src/main/controllers/__tests__/NotificationCtr.test.ts +347 -0
- package/apps/desktop/src/main/controllers/__tests__/RemoteServerConfigCtr.test.ts +682 -0
- package/apps/desktop/src/main/controllers/__tests__/RemoteServerSyncCtr.test.ts +372 -0
- package/apps/desktop/src/main/controllers/__tests__/ShellCommandCtr.test.ts +499 -0
- package/apps/desktop/src/main/controllers/__tests__/SystemCtr.test.ts +276 -0
- package/apps/desktop/src/main/controllers/__tests__/TrayMenuCtr.test.ts +5 -5
- package/apps/desktop/src/main/controllers/__tests__/UploadFileCtr.test.ts +167 -0
- package/apps/desktop/src/main/controllers/index.ts +4 -4
- package/apps/desktop/src/main/core/browser/Browser.ts +1 -0
- package/apps/desktop/src/main/core/browser/BrowserManager.ts +1 -56
- package/apps/desktop/src/main/core/browser/__tests__/Browser.test.ts +573 -0
- package/apps/desktop/src/main/core/browser/__tests__/BrowserManager.test.ts +415 -0
- package/apps/desktop/src/main/core/infrastructure/ProtocolManager.ts +9 -4
- package/apps/desktop/src/main/core/infrastructure/UpdaterManager.ts +23 -2
- package/apps/desktop/src/main/core/infrastructure/__tests__/I18nManager.test.ts +353 -0
- package/apps/desktop/src/main/core/infrastructure/__tests__/IoCContainer.test.ts +156 -0
- package/apps/desktop/src/main/core/infrastructure/__tests__/ProtocolManager.test.ts +349 -0
- package/apps/desktop/src/main/core/infrastructure/__tests__/StaticFileServerManager.test.ts +481 -0
- package/apps/desktop/src/main/core/infrastructure/__tests__/StoreManager.test.ts +164 -0
- package/apps/desktop/src/main/core/infrastructure/__tests__/UpdaterManager.test.ts +513 -0
- package/apps/desktop/src/main/core/ui/__tests__/MenuManager.test.ts +320 -0
- package/apps/desktop/src/main/core/ui/__tests__/Tray.test.ts +518 -0
- package/apps/desktop/src/main/core/ui/__tests__/TrayManager.test.ts +360 -0
- package/apps/desktop/src/main/menus/impls/BaseMenuPlatform.test.ts +49 -0
- package/apps/desktop/src/main/menus/impls/linux.test.ts +552 -0
- package/apps/desktop/src/main/menus/impls/macOS.test.ts +464 -0
- package/apps/desktop/src/main/menus/impls/macOS.ts +9 -3
- package/apps/desktop/src/main/menus/impls/windows.test.ts +429 -0
- package/apps/desktop/src/main/modules/fileSearch/__tests__/macOS.integration.test.ts +357 -0
- package/apps/desktop/src/main/modules/fileSearch/impl/macOS.ts +30 -22
- package/apps/desktop/src/main/modules/networkProxy/__tests__/dispatcher.test.ts +401 -0
- package/apps/desktop/src/main/modules/networkProxy/__tests__/tester.test.ts +531 -0
- package/apps/desktop/src/main/modules/networkProxy/__tests__/urlBuilder.test.ts +349 -0
- package/apps/desktop/src/main/modules/networkProxy/__tests__/validator.test.ts +492 -0
- package/apps/desktop/src/main/modules/networkProxy/dispatcher.ts +16 -16
- package/apps/desktop/src/main/modules/networkProxy/tester.ts +11 -11
- package/apps/desktop/src/main/modules/networkProxy/urlBuilder.ts +3 -3
- package/apps/desktop/src/main/modules/networkProxy/validator.ts +10 -10
- package/apps/desktop/src/main/services/__tests__/fileSearchSrv.test.ts +402 -0
- package/apps/desktop/src/main/services/__tests__/fileSrv.test.ts +603 -0
- package/apps/desktop/src/main/utils/__tests__/file-system.test.ts +91 -0
- package/apps/desktop/src/main/utils/__tests__/logger.test.ts +229 -0
- package/apps/desktop/src/main/utils/next-electron-rsc.ts +3 -1
- package/apps/desktop/src/preload/electronApi.test.ts +142 -0
- package/apps/desktop/src/preload/index.ts +2 -2
- package/apps/desktop/src/preload/invoke.test.ts +147 -0
- package/apps/desktop/src/preload/invoke.ts +1 -1
- package/apps/desktop/src/preload/routeInterceptor.test.ts +419 -0
- package/apps/desktop/src/preload/routeInterceptor.ts +41 -41
- package/apps/desktop/src/preload/streamer.test.ts +366 -0
- package/apps/desktop/vitest.config.mts +1 -0
- package/changelog/v1.json +1185 -0
- package/codecov.yml +1 -0
- package/docker-compose/local/.env.example +3 -0
- package/docker-compose/local/docker-compose.yml +24 -1
- package/docker-compose/local/logto/docker-compose.yml +25 -2
- package/docker-compose.development.yml +6 -0
- package/docs/development/database-schema.dbml +117 -23
- package/docs/self-hosting/advanced/auth.mdx +99 -2
- package/docs/self-hosting/advanced/auth.zh-CN.mdx +99 -2
- package/docs/self-hosting/advanced/feature-flags.mdx +0 -1
- package/docs/self-hosting/advanced/feature-flags.zh-CN.mdx +0 -1
- package/docs/self-hosting/environment-variables/auth.mdx +187 -1
- package/docs/self-hosting/environment-variables/auth.zh-CN.mdx +187 -1
- package/docs/self-hosting/environment-variables/basic.mdx +49 -3
- package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +49 -4
- package/docs/self-hosting/environment-variables/model-provider.mdx +31 -0
- package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +30 -0
- package/docs/self-hosting/server-database/docker-compose.mdx +29 -0
- package/docs/self-hosting/server-database/docker-compose.zh-CN.mdx +29 -0
- package/docs/usage/providers/comfyui.mdx +1 -1
- package/docs/usage/providers/comfyui.zh-CN.mdx +1 -1
- package/e2e/package.json +4 -4
- package/e2e/src/features/discover/detail-pages.feature +95 -0
- package/e2e/src/features/discover/interactions.feature +113 -0
- package/e2e/src/features/discover/smoke.feature +34 -1
- package/e2e/src/steps/discover/detail-pages.steps.ts +295 -0
- package/e2e/src/steps/discover/interactions.steps.ts +451 -0
- package/e2e/src/steps/discover/smoke.steps.ts +116 -4
- package/locales/ar/auth.json +159 -2
- package/locales/ar/chat.json +42 -0
- package/locales/ar/common.json +24 -0
- package/locales/ar/components.json +6 -0
- package/locales/ar/discover.json +45 -0
- package/locales/ar/error.json +2 -2
- package/locales/ar/file.json +88 -5
- package/locales/ar/hotkey.json +4 -0
- package/locales/ar/image.json +8 -0
- package/locales/ar/labs.json +4 -0
- package/locales/ar/marketAuth.json +55 -0
- package/locales/ar/modelProvider.json +16 -2
- package/locales/ar/models.json +404 -122
- package/locales/ar/oauth.json +1 -0
- package/locales/ar/plugin.json +36 -16
- package/locales/ar/providers.json +3 -0
- package/locales/ar/setting.json +100 -1
- package/locales/ar/tool.json +28 -1
- package/locales/ar/topic.json +1 -0
- package/locales/bg-BG/auth.json +159 -2
- package/locales/bg-BG/chat.json +42 -0
- package/locales/bg-BG/common.json +24 -0
- package/locales/bg-BG/components.json +6 -0
- package/locales/bg-BG/discover.json +45 -0
- package/locales/bg-BG/error.json +2 -2
- package/locales/bg-BG/file.json +88 -5
- package/locales/bg-BG/hotkey.json +4 -0
- package/locales/bg-BG/image.json +8 -0
- package/locales/bg-BG/labs.json +4 -0
- package/locales/bg-BG/marketAuth.json +55 -0
- package/locales/bg-BG/modelProvider.json +16 -2
- package/locales/bg-BG/models.json +404 -122
- package/locales/bg-BG/oauth.json +1 -0
- package/locales/bg-BG/plugin.json +36 -16
- package/locales/bg-BG/providers.json +3 -0
- package/locales/bg-BG/setting.json +100 -1
- package/locales/bg-BG/tool.json +28 -1
- package/locales/bg-BG/topic.json +1 -0
- package/locales/de-DE/auth.json +159 -2
- package/locales/de-DE/chat.json +42 -0
- package/locales/de-DE/common.json +24 -0
- package/locales/de-DE/components.json +6 -0
- package/locales/de-DE/discover.json +45 -0
- package/locales/de-DE/error.json +2 -2
- package/locales/de-DE/file.json +88 -5
- package/locales/de-DE/hotkey.json +4 -0
- package/locales/de-DE/image.json +8 -0
- package/locales/de-DE/labs.json +4 -0
- package/locales/de-DE/marketAuth.json +55 -0
- package/locales/de-DE/modelProvider.json +16 -2
- package/locales/de-DE/models.json +404 -122
- package/locales/de-DE/oauth.json +1 -0
- package/locales/de-DE/plugin.json +36 -16
- package/locales/de-DE/providers.json +3 -0
- package/locales/de-DE/setting.json +100 -1
- package/locales/de-DE/tool.json +28 -1
- package/locales/de-DE/topic.json +1 -0
- package/locales/en-US/auth.json +159 -2
- package/locales/en-US/chat.json +42 -0
- package/locales/en-US/common.json +24 -0
- package/locales/en-US/components.json +6 -0
- package/locales/en-US/discover.json +45 -0
- package/locales/en-US/error.json +2 -2
- package/locales/en-US/file.json +88 -5
- package/locales/en-US/hotkey.json +4 -0
- package/locales/en-US/image.json +8 -0
- package/locales/en-US/labs.json +4 -0
- package/locales/en-US/marketAuth.json +55 -0
- package/locales/en-US/modelProvider.json +16 -2
- package/locales/en-US/models.json +404 -122
- package/locales/en-US/oauth.json +1 -0
- package/locales/en-US/plugin.json +36 -16
- package/locales/en-US/providers.json +3 -0
- package/locales/en-US/setting.json +100 -1
- package/locales/en-US/tool.json +28 -1
- package/locales/en-US/topic.json +1 -0
- package/locales/es-ES/auth.json +159 -2
- package/locales/es-ES/chat.json +42 -0
- package/locales/es-ES/common.json +24 -0
- package/locales/es-ES/components.json +6 -0
- package/locales/es-ES/discover.json +45 -0
- package/locales/es-ES/error.json +2 -2
- package/locales/es-ES/file.json +88 -5
- package/locales/es-ES/hotkey.json +4 -0
- package/locales/es-ES/image.json +8 -0
- package/locales/es-ES/labs.json +4 -0
- package/locales/es-ES/marketAuth.json +55 -0
- package/locales/es-ES/modelProvider.json +16 -2
- package/locales/es-ES/models.json +404 -122
- package/locales/es-ES/oauth.json +1 -0
- package/locales/es-ES/plugin.json +36 -16
- package/locales/es-ES/providers.json +3 -0
- package/locales/es-ES/setting.json +100 -1
- package/locales/es-ES/tool.json +28 -1
- package/locales/es-ES/topic.json +1 -0
- package/locales/fa-IR/auth.json +159 -2
- package/locales/fa-IR/chat.json +42 -0
- package/locales/fa-IR/common.json +24 -0
- package/locales/fa-IR/components.json +6 -0
- package/locales/fa-IR/discover.json +45 -0
- package/locales/fa-IR/error.json +2 -2
- package/locales/fa-IR/file.json +88 -5
- package/locales/fa-IR/hotkey.json +4 -0
- package/locales/fa-IR/image.json +8 -0
- package/locales/fa-IR/labs.json +4 -0
- package/locales/fa-IR/marketAuth.json +55 -0
- package/locales/fa-IR/modelProvider.json +16 -2
- package/locales/fa-IR/models.json +404 -122
- package/locales/fa-IR/oauth.json +1 -0
- package/locales/fa-IR/plugin.json +36 -16
- package/locales/fa-IR/providers.json +3 -0
- package/locales/fa-IR/setting.json +100 -1
- package/locales/fa-IR/tool.json +28 -1
- package/locales/fa-IR/topic.json +1 -0
- package/locales/fr-FR/auth.json +159 -2
- package/locales/fr-FR/chat.json +42 -0
- package/locales/fr-FR/common.json +24 -0
- package/locales/fr-FR/components.json +6 -0
- package/locales/fr-FR/discover.json +45 -0
- package/locales/fr-FR/error.json +2 -2
- package/locales/fr-FR/file.json +88 -5
- package/locales/fr-FR/hotkey.json +4 -0
- package/locales/fr-FR/image.json +8 -0
- package/locales/fr-FR/labs.json +4 -0
- package/locales/fr-FR/marketAuth.json +55 -0
- package/locales/fr-FR/modelProvider.json +16 -2
- package/locales/fr-FR/models.json +404 -122
- package/locales/fr-FR/oauth.json +1 -0
- package/locales/fr-FR/plugin.json +36 -16
- package/locales/fr-FR/providers.json +3 -0
- package/locales/fr-FR/setting.json +100 -1
- package/locales/fr-FR/tool.json +28 -1
- package/locales/fr-FR/topic.json +1 -0
- package/locales/it-IT/auth.json +159 -2
- package/locales/it-IT/chat.json +42 -0
- package/locales/it-IT/common.json +24 -0
- package/locales/it-IT/components.json +6 -0
- package/locales/it-IT/discover.json +45 -0
- package/locales/it-IT/error.json +2 -2
- package/locales/it-IT/file.json +88 -5
- package/locales/it-IT/hotkey.json +4 -0
- package/locales/it-IT/image.json +8 -0
- package/locales/it-IT/labs.json +4 -0
- package/locales/it-IT/marketAuth.json +55 -0
- package/locales/it-IT/modelProvider.json +16 -2
- package/locales/it-IT/models.json +404 -122
- package/locales/it-IT/oauth.json +1 -0
- package/locales/it-IT/plugin.json +36 -16
- package/locales/it-IT/providers.json +3 -0
- package/locales/it-IT/setting.json +100 -1
- package/locales/it-IT/tool.json +28 -1
- package/locales/it-IT/topic.json +1 -0
- package/locales/ja-JP/auth.json +159 -2
- package/locales/ja-JP/chat.json +42 -0
- package/locales/ja-JP/common.json +24 -0
- package/locales/ja-JP/components.json +6 -0
- package/locales/ja-JP/discover.json +45 -0
- package/locales/ja-JP/error.json +2 -2
- package/locales/ja-JP/file.json +88 -5
- package/locales/ja-JP/hotkey.json +4 -0
- package/locales/ja-JP/image.json +8 -0
- package/locales/ja-JP/labs.json +4 -0
- package/locales/ja-JP/marketAuth.json +55 -0
- package/locales/ja-JP/modelProvider.json +16 -2
- package/locales/ja-JP/models.json +404 -122
- package/locales/ja-JP/oauth.json +1 -0
- package/locales/ja-JP/plugin.json +36 -16
- package/locales/ja-JP/providers.json +3 -0
- package/locales/ja-JP/setting.json +100 -1
- package/locales/ja-JP/tool.json +28 -1
- package/locales/ja-JP/topic.json +1 -0
- package/locales/ko-KR/auth.json +159 -2
- package/locales/ko-KR/chat.json +42 -0
- package/locales/ko-KR/common.json +24 -0
- package/locales/ko-KR/components.json +6 -0
- package/locales/ko-KR/discover.json +45 -0
- package/locales/ko-KR/error.json +2 -2
- package/locales/ko-KR/file.json +88 -5
- package/locales/ko-KR/hotkey.json +4 -0
- package/locales/ko-KR/image.json +8 -0
- package/locales/ko-KR/labs.json +4 -0
- package/locales/ko-KR/marketAuth.json +55 -0
- package/locales/ko-KR/modelProvider.json +16 -2
- package/locales/ko-KR/models.json +404 -122
- package/locales/ko-KR/oauth.json +1 -0
- package/locales/ko-KR/plugin.json +36 -16
- package/locales/ko-KR/providers.json +3 -0
- package/locales/ko-KR/setting.json +100 -1
- package/locales/ko-KR/tool.json +28 -1
- package/locales/ko-KR/topic.json +1 -0
- package/locales/nl-NL/auth.json +159 -2
- package/locales/nl-NL/chat.json +42 -0
- package/locales/nl-NL/common.json +24 -0
- package/locales/nl-NL/components.json +6 -0
- package/locales/nl-NL/discover.json +45 -0
- package/locales/nl-NL/error.json +2 -2
- package/locales/nl-NL/file.json +88 -5
- package/locales/nl-NL/hotkey.json +4 -0
- package/locales/nl-NL/image.json +8 -0
- package/locales/nl-NL/labs.json +4 -0
- package/locales/nl-NL/marketAuth.json +55 -0
- package/locales/nl-NL/modelProvider.json +16 -2
- package/locales/nl-NL/models.json +404 -122
- package/locales/nl-NL/oauth.json +1 -0
- package/locales/nl-NL/plugin.json +36 -16
- package/locales/nl-NL/providers.json +3 -0
- package/locales/nl-NL/setting.json +100 -1
- package/locales/nl-NL/tool.json +28 -1
- package/locales/nl-NL/topic.json +1 -0
- package/locales/pl-PL/auth.json +159 -2
- package/locales/pl-PL/chat.json +42 -0
- package/locales/pl-PL/common.json +24 -0
- package/locales/pl-PL/components.json +6 -0
- package/locales/pl-PL/discover.json +45 -0
- package/locales/pl-PL/error.json +2 -2
- package/locales/pl-PL/file.json +88 -5
- package/locales/pl-PL/hotkey.json +4 -0
- package/locales/pl-PL/image.json +8 -0
- package/locales/pl-PL/labs.json +4 -0
- package/locales/pl-PL/marketAuth.json +55 -0
- package/locales/pl-PL/modelProvider.json +16 -2
- package/locales/pl-PL/models.json +404 -122
- package/locales/pl-PL/oauth.json +1 -0
- package/locales/pl-PL/plugin.json +36 -16
- package/locales/pl-PL/providers.json +3 -0
- package/locales/pl-PL/setting.json +100 -1
- package/locales/pl-PL/tool.json +28 -1
- package/locales/pl-PL/topic.json +1 -0
- package/locales/pt-BR/auth.json +159 -2
- package/locales/pt-BR/chat.json +42 -0
- package/locales/pt-BR/common.json +24 -0
- package/locales/pt-BR/components.json +6 -0
- package/locales/pt-BR/discover.json +45 -0
- package/locales/pt-BR/error.json +2 -2
- package/locales/pt-BR/file.json +88 -5
- package/locales/pt-BR/hotkey.json +4 -0
- package/locales/pt-BR/image.json +8 -0
- package/locales/pt-BR/labs.json +4 -0
- package/locales/pt-BR/marketAuth.json +55 -0
- package/locales/pt-BR/modelProvider.json +16 -2
- package/locales/pt-BR/models.json +404 -122
- package/locales/pt-BR/oauth.json +1 -0
- package/locales/pt-BR/plugin.json +36 -16
- package/locales/pt-BR/providers.json +3 -0
- package/locales/pt-BR/setting.json +100 -1
- package/locales/pt-BR/tool.json +28 -1
- package/locales/pt-BR/topic.json +1 -0
- package/locales/ru-RU/auth.json +159 -2
- package/locales/ru-RU/chat.json +42 -0
- package/locales/ru-RU/common.json +24 -0
- package/locales/ru-RU/components.json +6 -0
- package/locales/ru-RU/discover.json +45 -0
- package/locales/ru-RU/error.json +2 -2
- package/locales/ru-RU/file.json +88 -5
- package/locales/ru-RU/hotkey.json +4 -0
- package/locales/ru-RU/image.json +8 -0
- package/locales/ru-RU/labs.json +4 -0
- package/locales/ru-RU/marketAuth.json +55 -0
- package/locales/ru-RU/modelProvider.json +16 -2
- package/locales/ru-RU/models.json +404 -122
- package/locales/ru-RU/oauth.json +1 -0
- package/locales/ru-RU/plugin.json +36 -16
- package/locales/ru-RU/providers.json +3 -0
- package/locales/ru-RU/setting.json +100 -1
- package/locales/ru-RU/tool.json +28 -1
- package/locales/ru-RU/topic.json +1 -0
- package/locales/tr-TR/auth.json +159 -2
- package/locales/tr-TR/chat.json +42 -0
- package/locales/tr-TR/common.json +24 -0
- package/locales/tr-TR/components.json +6 -0
- package/locales/tr-TR/discover.json +45 -0
- package/locales/tr-TR/error.json +2 -2
- package/locales/tr-TR/file.json +88 -5
- package/locales/tr-TR/hotkey.json +4 -0
- package/locales/tr-TR/image.json +8 -0
- package/locales/tr-TR/labs.json +4 -0
- package/locales/tr-TR/marketAuth.json +55 -0
- package/locales/tr-TR/modelProvider.json +16 -2
- package/locales/tr-TR/models.json +404 -122
- package/locales/tr-TR/oauth.json +1 -0
- package/locales/tr-TR/plugin.json +36 -16
- package/locales/tr-TR/providers.json +3 -0
- package/locales/tr-TR/setting.json +100 -1
- package/locales/tr-TR/tool.json +28 -1
- package/locales/tr-TR/topic.json +1 -0
- package/locales/vi-VN/auth.json +159 -2
- package/locales/vi-VN/chat.json +42 -0
- package/locales/vi-VN/common.json +24 -0
- package/locales/vi-VN/components.json +6 -0
- package/locales/vi-VN/discover.json +45 -0
- package/locales/vi-VN/error.json +2 -2
- package/locales/vi-VN/file.json +88 -5
- package/locales/vi-VN/hotkey.json +4 -0
- package/locales/vi-VN/image.json +8 -0
- package/locales/vi-VN/labs.json +4 -0
- package/locales/vi-VN/marketAuth.json +55 -0
- package/locales/vi-VN/modelProvider.json +16 -2
- package/locales/vi-VN/models.json +404 -122
- package/locales/vi-VN/oauth.json +1 -0
- package/locales/vi-VN/plugin.json +36 -16
- package/locales/vi-VN/providers.json +3 -0
- package/locales/vi-VN/setting.json +100 -1
- package/locales/vi-VN/tool.json +28 -1
- package/locales/vi-VN/topic.json +1 -0
- package/locales/zh-CN/auth.json +159 -2
- package/locales/zh-CN/chat.json +42 -0
- package/locales/zh-CN/common.json +24 -0
- package/locales/zh-CN/components.json +6 -0
- package/locales/zh-CN/discover.json +45 -0
- package/locales/zh-CN/error.json +2 -2
- package/locales/zh-CN/file.json +88 -5
- package/locales/zh-CN/hotkey.json +4 -0
- package/locales/zh-CN/image.json +8 -0
- package/locales/zh-CN/labs.json +4 -0
- package/locales/zh-CN/marketAuth.json +55 -0
- package/locales/zh-CN/modelProvider.json +16 -2
- package/locales/zh-CN/models.json +404 -122
- package/locales/zh-CN/oauth.json +1 -0
- package/locales/zh-CN/plugin.json +36 -16
- package/locales/zh-CN/providers.json +3 -0
- package/locales/zh-CN/setting.json +100 -1
- package/locales/zh-CN/tool.json +28 -1
- package/locales/zh-CN/topic.json +1 -0
- package/locales/zh-TW/auth.json +159 -2
- package/locales/zh-TW/chat.json +42 -0
- package/locales/zh-TW/common.json +24 -0
- package/locales/zh-TW/components.json +6 -0
- package/locales/zh-TW/discover.json +45 -0
- package/locales/zh-TW/error.json +2 -2
- package/locales/zh-TW/file.json +88 -5
- package/locales/zh-TW/hotkey.json +4 -0
- package/locales/zh-TW/image.json +8 -0
- package/locales/zh-TW/labs.json +4 -0
- package/locales/zh-TW/marketAuth.json +55 -0
- package/locales/zh-TW/modelProvider.json +16 -2
- package/locales/zh-TW/models.json +404 -122
- package/locales/zh-TW/oauth.json +1 -0
- package/locales/zh-TW/plugin.json +36 -16
- package/locales/zh-TW/providers.json +3 -0
- package/locales/zh-TW/setting.json +100 -1
- package/locales/zh-TW/tool.json +28 -1
- package/locales/zh-TW/topic.json +1 -0
- package/next.config.ts +10 -12
- package/package.json +86 -70
- package/packages/agent-runtime/package.json +1 -1
- package/packages/agent-runtime/src/core/InterventionChecker.ts +88 -14
- package/packages/agent-runtime/src/core/__tests__/InterventionChecker.test.ts +504 -87
- package/packages/agent-runtime/src/core/__tests__/runtime.test.ts +141 -87
- package/packages/agent-runtime/src/core/defaultSecurityBlacklist.ts +335 -0
- package/packages/agent-runtime/src/core/index.ts +1 -0
- package/packages/agent-runtime/src/core/runtime.ts +104 -20
- package/packages/agent-runtime/src/types/event.ts +4 -1
- package/packages/agent-runtime/src/types/generalAgent.ts +72 -0
- package/packages/agent-runtime/src/types/index.ts +1 -0
- package/packages/agent-runtime/src/types/instruction.ts +50 -7
- package/packages/agent-runtime/src/types/runtime.ts +7 -0
- package/packages/agent-runtime/src/types/state.ts +18 -1
- package/packages/const/package.json +1 -1
- package/packages/const/src/auth.ts +6 -2
- package/packages/const/src/hotkeys.ts +9 -3
- package/packages/const/src/settings/common.ts +1 -0
- package/packages/const/src/settings/tool.ts +1 -5
- package/packages/const/src/url.ts +1 -0
- package/packages/const/src/user.ts +4 -2
- package/packages/const/src/utils/merge.ts +3 -3
- package/packages/const/src/version.ts +0 -5
- package/packages/context-engine/package.json +2 -2
- package/packages/context-engine/src/base/BaseProcessor.ts +13 -13
- package/packages/context-engine/src/base/BaseProvider.ts +2 -2
- package/packages/context-engine/src/base/__tests__/BaseProcessor.test.ts +5 -5
- package/packages/context-engine/src/index.ts +1 -1
- package/packages/context-engine/src/processors/GroupMessageFlatten.ts +8 -6
- package/packages/context-engine/src/processors/MessageCleanup.ts +7 -6
- package/packages/context-engine/src/processors/MessageContent.ts +115 -21
- package/packages/context-engine/src/processors/PlaceholderVariables.ts +4 -4
- package/packages/context-engine/src/processors/ToolCall.ts +19 -18
- package/packages/context-engine/src/processors/ToolMessageReorder.ts +10 -10
- package/packages/context-engine/src/processors/__tests__/GroupMessageFlatten.test.ts +12 -12
- package/packages/context-engine/src/processors/__tests__/MessageCleanup.test.ts +28 -0
- package/packages/context-engine/src/processors/__tests__/MessageContent.test.ts +239 -0
- package/packages/context-engine/src/processors/__tests__/ToolCall.test.ts +59 -0
- package/packages/context-engine/src/providers/HistorySummary.ts +6 -6
- package/packages/context-engine/src/providers/KnowledgeInjector.ts +78 -0
- package/packages/context-engine/src/providers/ToolSystemRole.ts +7 -7
- package/packages/context-engine/src/providers/index.ts +2 -0
- package/packages/context-engine/src/tools/ToolNameResolver.ts +1 -0
- package/packages/context-engine/src/tools/ToolsEngine.ts +8 -8
- package/packages/context-engine/src/tools/__tests__/ToolNameResolver.test.ts +57 -0
- package/packages/context-engine/src/types.ts +36 -35
- package/packages/conversation-flow/package.json +13 -0
- package/packages/conversation-flow/src/__tests__/fixtures/index.ts +44 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistant-chain-with-followup.json +56 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistantGroup/assistant-with-tools.json +145 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistantGroup/index.ts +8 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistantGroup/tools-with-branches.json +107 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/active-index-1.json +131 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/assistant-branch.json +96 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/assistant-group-branches.json +249 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/assistant-user-branch.json +123 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/conversation.json +128 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/index.ts +18 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/multi-assistant-group.json +260 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/nested.json +179 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/compare/index.ts +8 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/compare/simple.json +85 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/compare/with-tools.json +169 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/index.ts +12 -0
- package/packages/conversation-flow/src/__tests__/fixtures/inputs/linear-conversation.json +59 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistant-chain-with-followup.json +135 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistantGroup/assistant-with-tools.json +340 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistantGroup/index.ts +8 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistantGroup/tools-with-branches.json +261 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/active-index-1.json +246 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/assistant-branch.json +208 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/assistant-group-branches.json +481 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/assistant-user-branch.json +254 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/conversation.json +264 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/index.ts +18 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/multi-assistant-group.json +407 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/nested.json +405 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/compare/index.ts +8 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/compare/simple.json +224 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/compare/with-tools.json +418 -0
- package/packages/conversation-flow/src/__tests__/fixtures/outputs/linear-conversation.json +138 -0
- package/packages/conversation-flow/src/__tests__/indexing.test.ts +513 -0
- package/packages/conversation-flow/src/__tests__/parse.test.ts +132 -0
- package/packages/conversation-flow/src/__tests__/structuring.test.ts +600 -0
- package/packages/conversation-flow/src/index.ts +17 -0
- package/packages/conversation-flow/src/indexing.ts +58 -0
- package/packages/conversation-flow/src/parse.ts +97 -0
- package/packages/conversation-flow/src/structuring.ts +38 -0
- package/packages/conversation-flow/src/transformation/BranchResolver.ts +76 -0
- package/packages/conversation-flow/src/transformation/ContextTreeBuilder.ts +297 -0
- package/packages/conversation-flow/src/transformation/FlatListBuilder.ts +581 -0
- package/packages/conversation-flow/src/transformation/MessageCollector.ts +166 -0
- package/packages/conversation-flow/src/transformation/MessageTransformer.ts +177 -0
- package/packages/conversation-flow/src/transformation/__tests__/BranchResolver.test.ts +214 -0
- package/packages/conversation-flow/src/transformation/__tests__/ContextTreeBuilder.test.ts +449 -0
- package/packages/conversation-flow/src/transformation/__tests__/FlatListBuilder.test.ts +558 -0
- package/packages/conversation-flow/src/transformation/__tests__/MessageCollector.test.ts +220 -0
- package/packages/conversation-flow/src/transformation/__tests__/MessageTransformer.test.ts +286 -0
- package/packages/conversation-flow/src/transformation/index.ts +78 -0
- package/packages/conversation-flow/src/types/contextTree.ts +65 -0
- package/packages/conversation-flow/src/types/flatMessageList.ts +54 -0
- package/packages/conversation-flow/src/types/index.ts +25 -0
- package/packages/conversation-flow/src/types/shared.ts +63 -0
- package/packages/conversation-flow/vitest.config.mts +10 -0
- package/packages/database/migrations/0042_improve_agent_index.sql +1 -0
- package/packages/database/migrations/0043_add_ai_model_settings.sql +1 -0
- package/packages/database/migrations/0044_high_toxin.sql +1 -0
- package/packages/database/migrations/0045_add_tool_intervention.sql +1 -0
- package/packages/database/migrations/0046_add_parent_id.sql +15 -0
- package/packages/database/migrations/0047_add_slug_document.sql +2 -0
- package/packages/database/migrations/0048_add_editor_data.sql +1 -0
- package/packages/database/migrations/0049_better_auth.sql +49 -0
- package/packages/database/migrations/0050_thread_and_user_id.sql +18 -0
- package/packages/database/migrations/0051_add_market_into_user_settings.sql +1 -0
- package/packages/database/migrations/0052_topic_and_messages.sql +9 -0
- package/packages/database/migrations/0053_better_auth_admin.sql +5 -0
- package/packages/database/migrations/0054_better_auth_two_factor.sql +49 -0
- package/packages/database/migrations/0055_rename_phone_number_to_phone.sql +4 -0
- package/packages/database/migrations/0056_update_agent_slug_index.sql +2 -0
- package/packages/database/migrations/meta/0039_snapshot.json +1 -1
- package/packages/database/migrations/meta/0042_snapshot.json +7800 -0
- package/packages/database/migrations/meta/0043_snapshot.json +8419 -0
- package/packages/database/migrations/meta/0044_snapshot.json +7813 -0
- package/packages/database/migrations/meta/0045_snapshot.json +8431 -0
- package/packages/database/migrations/meta/0046_snapshot.json +7879 -0
- package/packages/database/migrations/meta/0047_snapshot.json +7907 -0
- package/packages/database/migrations/meta/0048_snapshot.json +7913 -0
- package/packages/database/migrations/meta/0049_snapshot.json +8151 -0
- package/packages/database/migrations/meta/0050_snapshot.json +8792 -0
- package/packages/database/migrations/meta/0051_snapshot.json +8168 -0
- package/packages/database/migrations/meta/0052_snapshot.json +8850 -0
- package/packages/database/migrations/meta/0053_snapshot.json +8247 -0
- package/packages/database/migrations/meta/0054_snapshot.json +8402 -0
- package/packages/database/migrations/meta/0055_snapshot.json +8396 -0
- package/packages/database/migrations/meta/0056_snapshot.json +8411 -0
- package/packages/database/migrations/meta/_journal.json +105 -0
- package/packages/database/package.json +3 -3
- package/packages/database/src/client/db.test.ts +1 -2
- package/packages/database/src/client/db.ts +39 -39
- package/packages/database/src/client/pglite.ts +1 -1
- package/packages/database/src/core/db-adaptor.ts +4 -4
- package/packages/database/src/core/electron.ts +1 -1
- package/packages/database/src/core/migrations.json +164 -0
- package/packages/database/src/core/web-server.ts +2 -1
- package/packages/database/src/index.ts +2 -0
- package/packages/database/src/models/__tests__/agent.test.ts +274 -6
- package/packages/database/src/models/__tests__/apiKey.test.ts +444 -0
- package/packages/database/src/models/__tests__/asyncTask.test.ts +1 -2
- package/packages/database/src/models/__tests__/chunk.test.ts +38 -0
- package/packages/database/src/models/__tests__/document.test.ts +312 -0
- package/packages/database/src/models/__tests__/embedding.test.ts +294 -0
- package/packages/database/src/models/__tests__/file.test.ts +95 -31
- package/packages/database/src/models/__tests__/generation.test.ts +1 -2
- package/packages/database/src/models/__tests__/generationBatch.test.ts +1 -2
- package/packages/database/src/models/__tests__/messages/message.create.test.ts +549 -0
- package/packages/database/src/models/__tests__/messages/message.delete.test.ts +481 -0
- package/packages/database/src/models/__tests__/messages/message.query.test.ts +1187 -0
- package/packages/database/src/models/__tests__/messages/message.stats.test.ts +633 -0
- package/packages/database/src/models/__tests__/messages/message.update.test.ts +757 -0
- package/packages/database/src/models/__tests__/oauthHandoff.test.ts +261 -0
- package/packages/database/src/models/__tests__/session.test.ts +1 -2
- package/packages/database/src/models/__tests__/thread.test.ts +327 -0
- package/packages/database/src/models/__tests__/topic.test.ts +12 -6
- package/packages/database/src/models/__tests__/user.test.ts +372 -0
- package/packages/database/src/models/__tests__/userMemories.test.ts +1382 -0
- package/packages/database/src/models/agent.ts +38 -14
- package/packages/database/src/models/aiModel.ts +1 -0
- package/packages/database/src/models/aiProvider.ts +7 -7
- package/packages/database/src/models/apiKey.ts +2 -2
- package/packages/database/src/models/chunk.ts +4 -2
- package/packages/database/src/models/document.ts +15 -10
- package/packages/database/src/models/drizzleMigration.ts +1 -1
- package/packages/database/src/models/file.ts +67 -42
- package/packages/database/src/models/message.ts +21 -93
- package/packages/database/src/models/oauthHandoff.ts +19 -19
- package/packages/database/src/models/session.ts +74 -21
- package/packages/database/src/models/topic.ts +10 -10
- package/packages/database/src/models/user.ts +38 -14
- package/packages/database/src/models/userMemory.ts +993 -0
- package/packages/database/src/repositories/aiInfra/index.test.ts +205 -7
- package/packages/database/src/repositories/aiInfra/index.ts +9 -8
- package/packages/database/src/repositories/dataExporter/index.test.ts +1 -1
- package/packages/database/src/repositories/dataImporter/__tests__/index.test.ts +1 -2
- package/packages/database/src/repositories/dataImporter/deprecated/__tests__/index.test.ts +1 -1
- package/packages/database/src/repositories/dataImporter/deprecated/index.ts +6 -6
- package/packages/database/src/repositories/dataImporter/index.ts +70 -71
- package/packages/database/src/repositories/knowledge/index.test.ts +312 -0
- package/packages/database/src/repositories/knowledge/index.ts +417 -0
- package/packages/database/src/repositories/tableViewer/index.test.ts +3 -3
- package/packages/database/src/repositories/tableViewer/index.ts +4 -5
- package/packages/database/src/schemas/agent.ts +9 -6
- package/packages/database/src/schemas/aiInfra.ts +3 -2
- package/packages/database/src/schemas/betterAuth.ts +120 -0
- package/packages/database/src/schemas/file.ts +80 -0
- package/packages/database/src/schemas/generation.ts +16 -16
- package/packages/database/src/schemas/index.ts +1 -1
- package/packages/database/src/schemas/message.ts +14 -14
- package/packages/database/src/schemas/nextauth.ts +3 -3
- package/packages/database/src/schemas/oidc.ts +36 -36
- package/packages/database/src/schemas/rag.ts +32 -2
- package/packages/database/src/schemas/ragEvals.ts +1 -2
- package/packages/database/src/schemas/relations.ts +2 -3
- package/packages/database/src/schemas/topic.ts +16 -7
- package/packages/database/src/schemas/user.ts +19 -5
- package/packages/database/src/schemas/userMemories.ts +22 -5
- package/packages/database/src/server/models/__tests__/adapter.test.ts +97 -69
- package/packages/database/src/server/models/__tests__/user.test.ts +2 -5
- package/packages/database/src/server/models/ragEval/evaluation.ts +1 -1
- package/packages/database/src/utils/genWhere.test.ts +243 -0
- package/packages/electron-client-ipc/package.json +1 -1
- package/packages/electron-client-ipc/src/events/index.ts +6 -1
- package/packages/electron-client-ipc/src/events/remoteServer.ts +8 -0
- package/packages/electron-client-ipc/src/events/system.ts +1 -3
- package/packages/electron-client-ipc/src/types/localSystem.ts +30 -2
- package/packages/electron-client-ipc/src/types/system.ts +1 -0
- package/packages/electron-server-ipc/package.json +2 -2
- package/packages/electron-server-ipc/src/ipcClient.ts +31 -31
- package/packages/electron-server-ipc/src/ipcServer.ts +15 -15
- package/packages/fetch-sse/package.json +29 -0
- package/packages/fetch-sse/src/__tests__/fetchSSE.test.ts +708 -0
- package/packages/fetch-sse/src/__tests__/headers.test.ts +367 -0
- package/packages/fetch-sse/src/__tests__/parseError.test.ts +91 -0
- package/packages/fetch-sse/src/fetchSSE.ts +536 -0
- package/packages/fetch-sse/src/headers.ts +27 -0
- package/packages/fetch-sse/src/parseError.ts +24 -0
- package/packages/fetch-sse/src/request.ts +28 -0
- package/packages/file-loaders/package.json +3 -3
- package/packages/file-loaders/src/loaders/docx/index.ts +1 -1
- package/packages/memory-extract/package.json +4 -4
- package/packages/model-bank/package.json +1 -0
- package/packages/model-bank/src/aiModels/aihubmix.ts +246 -34
- package/packages/model-bank/src/aiModels/anthropic.ts +37 -2
- package/packages/model-bank/src/aiModels/bedrock.ts +55 -12
- package/packages/model-bank/src/aiModels/cometapi.ts +8 -8
- package/packages/model-bank/src/aiModels/deepseek.ts +2 -2
- package/packages/model-bank/src/aiModels/fal.ts +2 -2
- package/packages/model-bank/src/aiModels/google.ts +155 -93
- package/packages/model-bank/src/aiModels/index.ts +3 -0
- package/packages/model-bank/src/aiModels/infiniai.ts +5 -22
- package/packages/model-bank/src/aiModels/mistral.ts +2 -1
- package/packages/model-bank/src/aiModels/moonshot.ts +46 -0
- package/packages/model-bank/src/aiModels/nebius.ts +1 -1
- package/packages/model-bank/src/aiModels/newapi.ts +3 -3
- package/packages/model-bank/src/aiModels/novita.ts +3 -2
- package/packages/model-bank/src/aiModels/nvidia.ts +14 -0
- package/packages/model-bank/src/aiModels/ollamacloud.ts +38 -4
- package/packages/model-bank/src/aiModels/openai.ts +113 -42
- package/packages/model-bank/src/aiModels/openrouter.ts +29 -1
- package/packages/model-bank/src/aiModels/qiniu.ts +126 -0
- package/packages/model-bank/src/aiModels/qwen.ts +210 -13
- package/packages/model-bank/src/aiModels/siliconcloud.ts +20 -61
- package/packages/model-bank/src/aiModels/stepfun.ts +1 -1
- package/packages/model-bank/src/aiModels/vercelaigateway.ts +1 -18
- package/packages/model-bank/src/aiModels/vertexai.ts +92 -1
- package/packages/model-bank/src/aiModels/volcengine.ts +4 -4
- package/packages/model-bank/src/aiModels/wenxin.ts +1348 -291
- package/packages/model-bank/src/aiModels/xai.ts +85 -6
- package/packages/model-bank/src/aiModels/zenmux.ts +1455 -0
- package/packages/model-bank/src/aiModels/zhipu.ts +1 -1
- package/packages/model-bank/src/const/modelProvider.ts +1 -0
- package/packages/model-bank/src/standard-parameters/index.ts +23 -14
- package/packages/model-bank/src/types/aiModel.ts +29 -10
- package/packages/model-runtime/package.json +3 -3
- package/packages/model-runtime/src/const/models.ts +62 -24
- package/packages/model-runtime/src/core/RouterRuntime/baseRuntimeMap.ts +2 -0
- package/packages/model-runtime/src/core/RouterRuntime/createRuntime.ts +42 -18
- package/packages/model-runtime/src/core/contextBuilders/anthropic.test.ts +17 -11
- package/packages/model-runtime/src/core/contextBuilders/anthropic.ts +15 -1
- package/packages/model-runtime/src/core/contextBuilders/google.test.ts +548 -15
- package/packages/model-runtime/src/core/contextBuilders/google.ts +57 -9
- package/packages/model-runtime/src/core/contextBuilders/openai.test.ts +93 -7
- package/packages/model-runtime/src/core/contextBuilders/openai.ts +47 -14
- package/packages/model-runtime/src/core/openaiCompatibleFactory/createImage.test.ts +1 -1
- package/packages/model-runtime/src/core/openaiCompatibleFactory/createImage.ts +1 -1
- package/packages/model-runtime/src/core/openaiCompatibleFactory/index.test.ts +113 -72
- package/packages/model-runtime/src/core/openaiCompatibleFactory/index.ts +159 -109
- package/packages/model-runtime/src/core/parameterResolver.test.ts +34 -50
- package/packages/model-runtime/src/core/parameterResolver.ts +0 -38
- package/packages/model-runtime/src/core/streams/bedrock/claude.ts +17 -3
- package/packages/model-runtime/src/core/streams/google/google-ai.test.ts +1600 -807
- package/packages/model-runtime/src/core/streams/google/index.ts +139 -10
- package/packages/model-runtime/src/core/streams/ollama.test.ts +67 -0
- package/packages/model-runtime/src/core/streams/ollama.ts +5 -5
- package/packages/model-runtime/src/core/streams/openai/__snapshots__/responsesStream.test.ts.snap +1007 -0
- package/packages/model-runtime/src/core/streams/openai/openai.test.ts +310 -0
- package/packages/model-runtime/src/core/streams/openai/openai.ts +67 -0
- package/packages/model-runtime/src/core/streams/openai/responsesStream.test.ts +1 -1
- package/packages/model-runtime/src/core/streams/protocol.ts +20 -0
- package/packages/model-runtime/src/core/streams/vertex-ai.ts +1 -2
- package/packages/model-runtime/src/core/usageConverters/index.ts +1 -0
- package/packages/model-runtime/src/core/usageConverters/utils/resolveImageSinglePrice.ts +34 -0
- package/packages/model-runtime/src/helpers/mergeChatMethodOptions.ts +2 -1
- package/packages/model-runtime/src/index.ts +2 -1
- package/packages/model-runtime/src/providers/aihubmix/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/aihubmix/index.ts +5 -0
- package/packages/model-runtime/src/providers/anthropic/generateObject.test.ts +1 -1
- package/packages/model-runtime/src/providers/anthropic/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/anthropic/index.ts +21 -70
- package/packages/model-runtime/src/providers/anthropic/resolveCacheTTL.ts +44 -0
- package/packages/model-runtime/src/providers/anthropic/resolveMaxTokens.ts +35 -0
- package/packages/model-runtime/src/providers/azureOpenai/index.ts +3 -1
- package/packages/model-runtime/src/providers/azureai/index.ts +37 -3
- package/packages/model-runtime/src/providers/baichuan/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/bedrock/index.test.ts +133 -19
- package/packages/model-runtime/src/providers/bedrock/index.ts +89 -16
- package/packages/model-runtime/src/providers/bfl/createImage.test.ts +4 -4
- package/packages/model-runtime/src/providers/bfl/createImage.ts +1 -1
- package/packages/model-runtime/src/providers/cloudflare/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/cloudflare/index.ts +3 -1
- package/packages/model-runtime/src/providers/cohere/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/comfyui/__tests__/index.test.ts +1 -2
- package/packages/model-runtime/src/providers/comfyui/auth/AuthManager.ts +1 -2
- package/packages/model-runtime/src/providers/comfyui/index.ts +2 -7
- package/packages/model-runtime/src/providers/deepseek/index.test.ts +86 -0
- package/packages/model-runtime/src/providers/deepseek/index.ts +24 -0
- package/packages/model-runtime/src/providers/google/createImage.test.ts +8 -7
- package/packages/model-runtime/src/providers/google/createImage.ts +14 -9
- package/packages/model-runtime/src/providers/google/generateObject.test.ts +1 -1
- package/packages/model-runtime/src/providers/google/index.test.ts +98 -5
- package/packages/model-runtime/src/providers/google/index.ts +36 -11
- package/packages/model-runtime/src/providers/groq/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/hunyuan/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/minimax/createImage.test.ts +1 -1
- package/packages/model-runtime/src/providers/minimax/index.ts +36 -6
- package/packages/model-runtime/src/providers/mistral/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/moonshot/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/moonshot/index.ts +17 -4
- package/packages/model-runtime/src/providers/newapi/index.test.ts +3 -75
- package/packages/model-runtime/src/providers/newapi/index.ts +59 -29
- package/packages/model-runtime/src/providers/novita/__snapshots__/index.test.ts.snap +584 -0
- package/packages/model-runtime/src/providers/novita/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/ollama/index.test.ts +43 -32
- package/packages/model-runtime/src/providers/ollama/index.ts +31 -7
- package/packages/model-runtime/src/providers/openai/__snapshots__/index.test.ts.snap +517 -0
- package/packages/model-runtime/src/providers/openai/index.test.ts +44 -0
- package/packages/model-runtime/src/providers/openrouter/index.test.ts +4 -3
- package/packages/model-runtime/src/providers/openrouter/index.ts +1 -1
- package/packages/model-runtime/src/providers/perplexity/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/ppio/__snapshots__/index.test.ts.snap +27 -0
- package/packages/model-runtime/src/providers/ppio/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/qwen/createImage.test.ts +1 -1
- package/packages/model-runtime/src/providers/qwen/index.ts +9 -3
- package/packages/model-runtime/src/providers/search1api/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/siliconcloud/createImage.ts +1 -1
- package/packages/model-runtime/src/providers/taichu/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/wenxin/index.test.ts +1 -1
- package/packages/model-runtime/src/providers/wenxin/index.ts +22 -1
- package/packages/model-runtime/src/providers/zenmux/index.test.ts +320 -0
- package/packages/model-runtime/src/providers/zenmux/index.ts +84 -0
- package/packages/model-runtime/src/providers/zhipu/index.test.ts +1 -1
- package/packages/model-runtime/src/runtimeMap.ts +3 -0
- package/packages/model-runtime/src/types/chat.ts +16 -0
- package/packages/model-runtime/src/types/error.ts +11 -8
- package/packages/model-runtime/src/types/toolsCalling.ts +3 -1
- package/packages/model-runtime/src/utils/errorResponse.test.ts +1 -1
- package/packages/model-runtime/src/utils/googleErrorParser.test.ts +125 -0
- package/packages/model-runtime/src/utils/googleErrorParser.ts +108 -77
- package/packages/model-runtime/src/utils/modelParse.ts +6 -0
- package/packages/model-runtime/src/utils/postProcessModelList.ts +15 -13
- package/packages/obervability-otel/package.json +15 -15
- package/packages/obervability-otel/src/api.ts +2 -0
- package/packages/obervability-otel/src/node.ts +17 -7
- package/packages/obervability-otel/src/trpc/convention.ts +16 -0
- package/packages/obervability-otel/src/trpc/index.test.ts +38 -0
- package/packages/obervability-otel/src/trpc/index.ts +62 -0
- package/packages/obervability-otel/src/trpc/metrics.ts +31 -0
- package/packages/prompts/package.json +1 -1
- package/packages/prompts/src/prompts/files/__snapshots__/knowledgeBase.test.ts.snap +103 -0
- package/packages/prompts/src/prompts/files/index.ts +3 -0
- package/packages/prompts/src/prompts/files/knowledgeBase.test.ts +167 -0
- package/packages/prompts/src/prompts/files/knowledgeBase.ts +85 -0
- package/packages/prompts/src/prompts/knowledgeBaseQA/__snapshots__/formatFileContents.test.ts.snap +75 -0
- package/packages/prompts/src/prompts/knowledgeBaseQA/__snapshots__/formatNoSearchResults.test.ts.snap +45 -0
- package/packages/prompts/src/prompts/knowledgeBaseQA/__snapshots__/formatSearchResults.test.ts.snap +82 -0
- package/packages/prompts/src/prompts/knowledgeBaseQA/formatFileContents.test.ts +118 -0
- package/packages/prompts/src/prompts/knowledgeBaseQA/formatFileContents.ts +31 -0
- package/packages/prompts/src/prompts/knowledgeBaseQA/formatNoSearchResults.test.ts +25 -0
- package/packages/prompts/src/prompts/knowledgeBaseQA/formatNoSearchResults.ts +13 -0
- package/packages/prompts/src/prompts/knowledgeBaseQA/formatSearchResults.test.ts +191 -0
- package/packages/prompts/src/prompts/knowledgeBaseQA/formatSearchResults.ts +50 -0
- package/packages/prompts/src/prompts/knowledgeBaseQA/index.ts +6 -0
- package/packages/python-interpreter/src/worker.ts +18 -18
- package/packages/ssrf-safe-fetch/index.browser.ts +14 -0
- package/packages/ssrf-safe-fetch/index.ts +4 -1
- package/packages/ssrf-safe-fetch/package.json +9 -2
- package/packages/types/src/agent/chatConfig.ts +29 -8
- package/packages/types/src/aiChat.ts +2 -0
- package/packages/types/src/aiProvider.ts +1 -1
- package/packages/types/src/discover/assistants.ts +16 -0
- package/packages/types/src/discover/mcp.ts +7 -0
- package/packages/types/src/document/index.ts +50 -38
- package/packages/types/src/exportConfig.ts +15 -15
- package/packages/types/src/fetch.ts +9 -9
- package/packages/types/src/files/index.ts +3 -0
- package/packages/types/src/files/list.ts +11 -1
- package/packages/types/src/files/upload.ts +1 -1
- package/packages/types/src/generation/index.ts +5 -5
- package/packages/types/src/hotkey.ts +6 -5
- package/packages/types/src/importer.ts +6 -6
- package/packages/types/src/index.ts +6 -1
- package/packages/types/src/knowledgeBase/index.ts +1 -0
- package/packages/types/src/llm.ts +1 -1
- package/packages/types/src/message/common/base.ts +28 -2
- package/packages/types/src/message/common/metadata.ts +29 -2
- package/packages/types/src/message/common/tools.ts +20 -1
- package/packages/types/src/message/db/item.ts +15 -1
- package/packages/types/src/message/ui/chat.ts +25 -2
- package/packages/types/src/message/ui/extra.ts +2 -2
- package/packages/types/src/message/ui/params.ts +66 -7
- package/packages/types/src/meta.ts +7 -3
- package/packages/types/src/openai/chat.ts +15 -15
- package/packages/types/src/openai/image.ts +1 -1
- package/packages/types/src/plugins/mcp.ts +33 -30
- package/packages/types/src/plugins/protocol.ts +43 -43
- package/packages/types/src/rag.ts +13 -4
- package/packages/types/src/search.ts +4 -4
- package/packages/types/src/serverConfig.ts +2 -6
- package/packages/types/src/session/agentSession.ts +2 -0
- package/packages/types/src/tool/builtin.ts +15 -4
- package/packages/types/src/tool/intervention.ts +70 -3
- package/packages/types/src/tool/plugin.ts +5 -4
- package/packages/types/src/tool/search/index.ts +8 -2
- package/packages/types/src/topic/thread.ts +3 -3
- package/packages/types/src/topic/topic.ts +16 -2
- package/packages/types/src/usage/usageRecord.ts +54 -0
- package/packages/types/src/user/index.ts +2 -76
- package/packages/types/src/user/preference.ts +112 -0
- package/packages/types/src/user/settings/general.ts +3 -0
- package/packages/types/src/user/settings/hotkey.ts +1 -1
- package/packages/types/src/user/settings/index.ts +26 -0
- package/packages/types/src/user/settings/keyVaults.ts +0 -67
- package/packages/types/src/user/settings/market.ts +17 -0
- package/packages/types/src/user/settings/tool.ts +2 -39
- package/packages/types/src/userMemory/index.ts +3 -0
- package/packages/types/src/userMemory/layers.ts +54 -0
- package/packages/types/src/userMemory/shared.ts +64 -0
- package/packages/types/src/userMemory/tools.ts +240 -0
- package/packages/utils/package.json +2 -2
- package/packages/utils/src/apiKey.test.ts +139 -0
- package/packages/utils/src/client/clipboard.ts +2 -2
- package/packages/utils/src/client/exportFile.ts +10 -10
- package/packages/utils/src/client/parserPlaceholder.ts +19 -19
- package/packages/utils/src/client/topic.ts +10 -10
- package/packages/utils/src/client/xor-obfuscation.ts +11 -11
- package/packages/utils/src/clientIP.ts +6 -6
- package/packages/utils/src/colorUtils.test.ts +167 -0
- package/packages/utils/src/compass.ts +11 -11
- package/packages/utils/src/compressImage.ts +3 -3
- package/packages/utils/src/format.ts +2 -2
- package/packages/utils/src/imageToBase64.ts +17 -10
- package/packages/utils/src/index.ts +2 -1
- package/packages/utils/src/merge.ts +3 -3
- package/packages/utils/src/multimodalContent.ts +25 -0
- package/packages/utils/src/object.ts +3 -3
- package/packages/utils/src/sanitizeUTF8.ts +4 -4
- package/packages/utils/src/server/__tests__/auth.test.ts +52 -0
- package/packages/utils/src/server/__tests__/response.test.ts +79 -0
- package/packages/utils/src/server/auth.ts +24 -7
- package/packages/utils/src/server/geo.ts +9 -9
- package/packages/utils/src/server/index.ts +1 -0
- package/packages/utils/src/server/response.ts +110 -0
- package/packages/utils/src/server/validateRedirectHost.test.ts +352 -0
- package/packages/utils/src/server/xor.ts +7 -7
- package/packages/utils/src/time.ts +4 -0
- package/packages/utils/src/tokenizer/index.ts +3 -11
- package/packages/utils/src/toolManifest.ts +4 -4
- package/packages/utils/src/trace.test.ts +359 -0
- package/packages/utils/src/uriParser.ts +4 -4
- package/packages/web-crawler/package.json +2 -2
- package/packages/web-crawler/src/crawImpl/browserless.ts +1 -1
- package/packages/web-crawler/src/crawImpl/naive.ts +9 -9
- package/packages/web-crawler/src/crawler.ts +5 -5
- package/packages/web-crawler/src/type.ts +4 -4
- package/packages/web-crawler/src/urlRules.ts +13 -13
- package/packages/web-crawler/src/utils/appUrlRules.ts +5 -5
- package/renovate.json +40 -1
- package/scripts/checkConsoleLog.mts +148 -0
- package/scripts/migrateServerDB/errorHint.js +26 -6
- package/scripts/migrateServerDB/index.ts +5 -1
- package/scripts/prebuild.mts +20 -10
- package/src/app/(backend)/api/auth/[...all]/route.ts +19 -0
- package/src/app/(backend)/api/auth/check-user/route.ts +62 -0
- package/src/app/(backend)/api/webhooks/clerk/route.ts +1 -2
- package/src/app/(backend)/f/[id]/route.ts +55 -0
- package/src/app/(backend)/market/agent/[[...segments]]/route.ts +153 -0
- package/src/app/(backend)/market/oidc/[[...segments]]/route.ts +207 -0
- package/src/app/(backend)/middleware/auth/index.ts +22 -4
- package/src/app/(backend)/middleware/auth/utils.test.ts +16 -0
- package/src/app/(backend)/middleware/auth/utils.ts +13 -10
- package/src/app/(backend)/trpc/async/[trpc]/route.ts +9 -3
- package/src/app/(backend)/trpc/desktop/[trpc]/route.ts +15 -9
- package/src/app/(backend)/trpc/lambda/[trpc]/route.ts +9 -3
- package/src/app/(backend)/trpc/mobile/[trpc]/route.ts +9 -3
- package/src/app/(backend)/trpc/tools/[trpc]/route.ts +9 -3
- package/src/app/(backend)/webapi/chat/[provider]/route.test.ts +1 -0
- package/src/app/(backend)/webapi/chat/[provider]/route.ts +1 -1
- package/src/app/(backend)/webapi/models/[provider]/pull/route.ts +1 -1
- package/src/app/(backend)/webapi/models/[provider]/route.ts +1 -1
- package/src/app/(backend)/webapi/stt/openai/route.ts +0 -2
- package/src/app/(backend)/webapi/text-to-image/[provider]/route.ts +1 -1
- package/src/app/(backend)/webapi/tts/edge/route.ts +8 -2
- package/src/app/(backend)/webapi/tts/microsoft/route.ts +8 -2
- package/src/app/(backend)/webapi/tts/openai/route.ts +15 -3
- package/src/app/[variants]/(auth)/reset-password/layout.tsx +12 -0
- package/src/app/[variants]/(auth)/reset-password/page.tsx +209 -0
- package/src/app/[variants]/(auth)/signin/layout.tsx +12 -0
- package/src/app/[variants]/(auth)/signin/page.tsx +448 -0
- package/src/app/[variants]/(auth)/signup/[[...signup]]/BetterAuthSignUpForm.tsx +192 -0
- package/src/app/[variants]/(auth)/signup/[[...signup]]/page.tsx +30 -12
- package/src/app/[variants]/(auth)/verify-email/layout.tsx +12 -0
- package/src/app/[variants]/(auth)/verify-email/page.tsx +164 -0
- package/src/app/[variants]/(main)/(mobile)/me/(home)/__tests__/UserBanner.test.tsx +19 -14
- package/src/app/[variants]/(main)/(mobile)/me/(home)/__tests__/useCategory.test.tsx +15 -33
- package/src/app/[variants]/(main)/(mobile)/me/(home)/features/UserBanner.tsx +7 -11
- package/src/app/[variants]/(main)/(mobile)/me/(home)/features/useCategory.tsx +9 -41
- package/src/app/[variants]/(main)/(mobile)/me/(home)/index.tsx +25 -0
- package/src/app/[variants]/(main)/(mobile)/me/(home)/layout.tsx +13 -16
- package/src/app/[variants]/(main)/(mobile)/me/profile/features/Category.tsx +22 -27
- package/src/app/[variants]/(main)/(mobile)/me/profile/features/Header.tsx +3 -3
- package/src/app/[variants]/(main)/(mobile)/me/profile/index.tsx +16 -0
- package/src/app/[variants]/(main)/(mobile)/me/profile/layout.tsx +9 -11
- package/src/app/[variants]/(main)/(mobile)/me/settings/features/Header.tsx +3 -3
- package/src/app/[variants]/(main)/(mobile)/me/settings/features/useCategory.tsx +8 -18
- package/src/app/[variants]/(main)/(mobile)/me/settings/index.tsx +16 -0
- package/src/app/[variants]/(main)/(mobile)/me/settings/layout.tsx +15 -13
- package/src/app/[variants]/(main)/changelog/_layout/Desktop/index.tsx +6 -5
- package/src/app/[variants]/(main)/changelog/_layout/Mobile/Header.tsx +3 -3
- package/src/app/[variants]/(main)/changelog/_layout/Mobile/index.tsx +5 -5
- package/src/app/[variants]/(main)/changelog/features/Post.tsx +7 -4
- package/src/app/[variants]/(main)/changelog/index.tsx +55 -0
- package/src/app/[variants]/(main)/chat/_layout/Desktop/SessionPanel.tsx +12 -7
- package/src/app/[variants]/(main)/chat/_layout/Desktop/index.tsx +7 -8
- package/src/app/[variants]/(main)/chat/_layout/FeatureFlagsProvider.tsx +24 -0
- package/src/app/[variants]/(main)/chat/_layout/Mobile.tsx +5 -4
- package/src/app/[variants]/(main)/chat/_layout/type.ts +0 -1
- package/src/app/[variants]/(main)/chat/components/ConversationArea.tsx +29 -0
- package/src/app/[variants]/(main)/chat/components/PortalPanel.tsx +28 -0
- package/src/app/[variants]/(main)/chat/components/SessionPanel.tsx +33 -0
- package/src/app/[variants]/(main)/chat/components/TopicSidebar.tsx +30 -0
- package/src/app/[variants]/(main)/chat/components/WorkspaceLayout.tsx +60 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatHydration/index.tsx +42 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/ClassicChat.tsx +81 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/GroupChat.tsx +126 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/MessageFromUrl.tsx +30 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/index.tsx +16 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/V1Mobile/index.tsx +89 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/V1Mobile/useSend.ts +109 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/useSend.ts +322 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/ChatItem/Thread.tsx +62 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/ChatItem/index.tsx +85 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/Content.tsx +45 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/WelcomeChatItem/AgentWelcome/OpeningQuestions.tsx +75 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/WelcomeChatItem/GroupWelcome/GroupUsageSuggest.tsx +164 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/index.tsx +28 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ChatMinimap/index.tsx +380 -0
- package/src/app/[variants]/(main)/chat/components/conversation/features/ThreadHydration.tsx +45 -0
- package/src/app/[variants]/(main)/chat/components/topic/features/Topic/TopicListContent/TopicItem/TopicContent.tsx +258 -0
- package/src/app/[variants]/(main)/chat/components/topic/features/Topic/TopicListContent/TopicItem/index.tsx +116 -0
- package/src/app/[variants]/(main)/chat/features/PageTitle/index.tsx +1 -2
- package/src/app/[variants]/(main)/chat/index.tsx +29 -0
- package/src/app/[variants]/(main)/chat/session/features/SessionHydration.tsx +47 -0
- package/src/app/[variants]/(main)/chat/session/features/SessionListContent/Inbox/index.tsx +61 -0
- package/src/app/[variants]/(main)/chat/session/features/SessionListContent/List/Item/Actions.tsx +204 -0
- package/src/app/[variants]/(main)/chat/session/features/SessionListContent/List/Item/index.tsx +157 -0
- package/src/app/[variants]/(main)/chat/session/features/SessionListContent/List/index.tsx +100 -0
- package/src/app/[variants]/(main)/chat/session/layout/Mobile/SessionHeader.tsx +44 -0
- package/src/app/[variants]/(main)/chat/settings/_layout/Desktop/Header.tsx +3 -3
- package/src/app/[variants]/(main)/chat/settings/_layout/Mobile/Header.tsx +3 -3
- package/src/app/[variants]/(main)/chat/settings/features/AgentInfoDescription/index.tsx +349 -0
- package/src/app/[variants]/(main)/chat/settings/features/HeaderContent.tsx +2 -2
- package/src/app/[variants]/(main)/chat/settings/features/PublishResultModal/index.tsx +64 -0
- package/src/app/[variants]/(main)/chat/settings/features/SmartAgentActionButton/MarketPublishButton.tsx +194 -0
- package/src/app/[variants]/(main)/chat/settings/features/SmartAgentActionButton/MarketPublishModal.tsx +376 -0
- package/src/app/[variants]/(main)/chat/settings/features/SmartAgentActionButton/index.tsx +75 -0
- package/src/app/[variants]/(main)/chat/settings/index.tsx +65 -0
- package/src/app/[variants]/(main)/components/Link.tsx +21 -0
- package/src/app/[variants]/(main)/discover/(detail)/_layout/Desktop/index.tsx +38 -0
- package/src/app/[variants]/(main)/discover/(detail)/_layout/Mobile/index.tsx +3 -3
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Capabilities/Block.tsx +27 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Capabilities/Plugins.tsx +37 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Nav.tsx +129 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Overview/TagList.tsx +56 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Overview/index.tsx +98 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Related/index.tsx +40 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/SystemRole/TagList.tsx +56 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/SystemRole/index.tsx +68 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Versions/index.tsx +137 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/index.tsx +51 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Header.tsx +176 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/ActionButton/AddAgent.tsx +178 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/ActionButton/index.tsx +31 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/Related/index.tsx +57 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/TocList/index.tsx +77 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/features/StatusPage/index.tsx +113 -0
- package/src/app/[variants]/(main)/discover/(detail)/assistant/index.tsx +63 -0
- package/src/app/[variants]/(main)/discover/(detail)/features/Breadcrumb.tsx +4 -3
- package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Details/Related/index.tsx +32 -0
- package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Details/Versions/index.tsx +76 -0
- package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Details/index.tsx +59 -0
- package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Sidebar/ActionButton/index.tsx +109 -0
- package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Sidebar/Related/index.tsx +44 -0
- package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Sidebar/ServerConfig.tsx +36 -0
- package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Sidebar/TocList/index.tsx +98 -0
- package/src/app/[variants]/(main)/discover/(detail)/mcp/index.tsx +59 -0
- package/src/app/[variants]/(main)/discover/(detail)/mcp/loading.tsx +1 -0
- package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/Overview/index.tsx +22 -0
- package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/Parameter/ParameterItem.tsx +71 -0
- package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/Related/index.tsx +31 -0
- package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/index.tsx +47 -0
- package/src/app/[variants]/(main)/discover/(detail)/model/features/Header.tsx +112 -0
- package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/ActionButton/ChatWithModel.tsx +92 -0
- package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/ActionButton/index.tsx +32 -0
- package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/Related/index.tsx +43 -0
- package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/RelatedProviders/index.tsx +34 -0
- package/src/app/[variants]/(main)/discover/(detail)/model/index.tsx +51 -0
- package/src/app/[variants]/(main)/discover/(detail)/model/loading.tsx +1 -0
- package/src/app/[variants]/(main)/discover/(detail)/provider/features/Details/Related/index.tsx +22 -0
- package/src/app/[variants]/(main)/discover/(detail)/provider/features/Details/index.tsx +47 -0
- package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/ActionButton/ProviderConfig.tsx +91 -0
- package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/ActionButton/index.tsx +45 -0
- package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/Related/index.tsx +34 -0
- package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/RelatedModels/index.tsx +43 -0
- package/src/app/[variants]/(main)/discover/(detail)/provider/index.tsx +51 -0
- package/src/app/[variants]/(main)/discover/(detail)/provider/loading.tsx +1 -0
- package/src/app/[variants]/(main)/discover/(list)/(home)/index.tsx +59 -0
- package/src/app/[variants]/(main)/discover/(list)/_layout/Desktop/Nav.tsx +5 -4
- package/src/app/[variants]/(main)/discover/(list)/_layout/Desktop/index.tsx +4 -3
- package/src/app/[variants]/(main)/discover/(list)/_layout/Mobile/Nav.tsx +3 -4
- package/src/app/[variants]/(main)/discover/(list)/_layout/Mobile/index.tsx +4 -3
- package/src/app/[variants]/(main)/discover/(list)/assistant/Client.tsx +6 -2
- package/src/app/[variants]/(main)/discover/(list)/assistant/_layout/Desktop.tsx +3 -4
- package/src/app/[variants]/(main)/discover/(list)/assistant/_layout/Mobile.tsx +3 -3
- package/src/app/[variants]/(main)/discover/(list)/assistant/features/Category/index.tsx +8 -4
- package/src/app/[variants]/(main)/discover/(list)/assistant/features/List/Item.tsx +13 -2
- package/src/app/[variants]/(main)/discover/(list)/assistant/features/MarketSourceSwitch.tsx +64 -0
- package/src/app/[variants]/(main)/discover/(list)/assistant/index.tsx +61 -0
- package/src/app/[variants]/(main)/discover/(list)/features/Pagination.tsx +2 -1
- package/src/app/[variants]/(main)/discover/(list)/features/SortButton/index.tsx +29 -10
- package/src/app/[variants]/(main)/discover/(list)/mcp/_layout/Desktop.tsx +3 -3
- package/src/app/[variants]/(main)/discover/(list)/mcp/_layout/Mobile.tsx +3 -3
- package/src/app/[variants]/(main)/discover/(list)/mcp/features/Category/index.tsx +1 -1
- package/src/app/[variants]/(main)/discover/(list)/mcp/features/List/Item.tsx +2 -1
- package/src/app/[variants]/(main)/discover/(list)/mcp/index.tsx +51 -0
- package/src/app/[variants]/(main)/discover/(list)/model/_layout/Desktop.tsx +3 -3
- package/src/app/[variants]/(main)/discover/(list)/model/_layout/Mobile.tsx +3 -3
- package/src/app/[variants]/(main)/discover/(list)/model/features/Category/index.tsx +1 -1
- package/src/app/[variants]/(main)/discover/(list)/model/features/List/Item.tsx +2 -1
- package/src/app/[variants]/(main)/discover/(list)/model/index.tsx +51 -0
- package/src/app/[variants]/(main)/discover/(list)/provider/features/List/Item.tsx +2 -1
- package/src/app/[variants]/(main)/discover/(list)/provider/index.tsx +50 -0
- package/src/app/[variants]/(main)/discover/_layout/Desktop/index.tsx +4 -4
- package/src/app/[variants]/(main)/discover/_layout/Mobile/index.tsx +3 -3
- package/src/app/[variants]/(main)/discover/components/CategoryMenu.tsx +9 -1
- package/src/app/[variants]/(main)/discover/components/Title.tsx +1 -1
- package/src/app/[variants]/(main)/discover/features/Search.tsx +2 -2
- package/src/app/[variants]/(main)/discover/features/useNav.tsx +11 -12
- package/src/app/[variants]/(main)/hooks/useActiveTabKey.ts +40 -0
- package/src/app/[variants]/(main)/hooks/usePathname.ts +10 -0
- package/src/app/[variants]/(main)/hooks/useQuery.ts +12 -0
- package/src/app/[variants]/(main)/hooks/useRouter.ts +22 -0
- package/src/app/[variants]/(main)/hooks/useSearchParams.ts +11 -0
- package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ModelSelect/ImageModelItem.tsx +108 -0
- package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ModelSelect/index.tsx +162 -0
- package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ResolutionSelect.tsx +88 -0
- package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/index.tsx +9 -0
- package/src/app/[variants]/(main)/image/@topic/features/Topics/TopicUrlSync.tsx +1 -1
- package/src/app/[variants]/(main)/image/ComingSoon.tsx +15 -0
- package/src/app/[variants]/(main)/image/_layout/Desktop/index.tsx +5 -2
- package/src/app/[variants]/(main)/image/_layout/DesktopWrapper.tsx +15 -0
- package/src/app/[variants]/(main)/image/_layout/Mobile/index.tsx +3 -1
- package/src/app/[variants]/(main)/image/features/ImageWorkspace/index.tsx +1 -2
- package/src/app/[variants]/(main)/image/index.tsx +18 -0
- package/src/app/[variants]/(main)/knowledge/_layout/Desktop.tsx +17 -0
- package/src/app/[variants]/(main)/knowledge/_layout/Mobile.tsx +17 -0
- package/src/app/[variants]/(main)/knowledge/components/KnowledgeBaseItem/index.tsx +1 -3
- package/src/app/[variants]/(main)/knowledge/components/modal/ModalPageClient.tsx +4 -4
- package/src/app/[variants]/(main)/knowledge/hooks/useFileCategory.ts +6 -3
- package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/index.tsx +7 -10
- package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/CategoryMenu.tsx +35 -0
- package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/Head.tsx +1 -1
- package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/Menu.tsx +2 -2
- package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/index.tsx +40 -18
- package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/layout/Container.tsx +1 -1
- package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/menu/CategoryMenu.tsx +148 -0
- package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/menu/KnowledgeBase.tsx +21 -8
- package/src/app/[variants]/(main)/labs/components/LabCard.tsx +8 -6
- package/src/app/[variants]/(main)/labs/index.tsx +74 -0
- package/src/app/[variants]/(main)/layouts/desktop/DesktopLayoutContainer.tsx +30 -0
- package/src/app/[variants]/(main)/layouts/desktop/SideBar/BottomActions.tsx +46 -0
- package/src/app/[variants]/(main)/layouts/desktop/SideBar/PinList/index.tsx +128 -0
- package/src/app/[variants]/(main)/layouts/desktop/SideBar/TopActions.test.tsx +141 -0
- package/src/app/[variants]/(main)/layouts/desktop/SideBar/TopActions.tsx +116 -0
- package/src/app/[variants]/(main)/layouts/desktop/index.tsx +73 -0
- package/src/app/[variants]/(main)/layouts/index.tsx +11 -0
- package/src/app/[variants]/(main)/layouts/mobile/NavBar.tsx +88 -0
- package/src/app/[variants]/(main)/layouts/mobile/index.tsx +46 -0
- package/src/app/[variants]/(main)/profile/(home)/Client.tsx +306 -52
- package/src/app/[variants]/(main)/profile/(home)/desktop.tsx +26 -0
- package/src/app/[variants]/(main)/profile/(home)/features/SSOProvidersList/index.tsx +89 -47
- package/src/app/[variants]/(main)/profile/(home)/index.tsx +26 -0
- package/src/app/[variants]/(main)/profile/@category/features/CategoryContent.tsx +5 -7
- package/src/app/[variants]/(main)/profile/_layout/Desktop/index.tsx +12 -11
- package/src/app/[variants]/(main)/profile/_layout/DesktopWrapper.tsx +14 -0
- package/src/app/[variants]/(main)/profile/_layout/Mobile/Header.tsx +3 -3
- package/src/app/[variants]/(main)/profile/_layout/Mobile/index.tsx +4 -3
- package/src/app/[variants]/(main)/profile/apikey/index.tsx +18 -0
- package/src/app/[variants]/(main)/profile/hooks/useCategory.tsx +24 -18
- package/src/app/[variants]/(main)/profile/security/index.tsx +29 -0
- package/src/app/[variants]/(main)/profile/stats/features/AssistantsRank.tsx +4 -4
- package/src/app/[variants]/(main)/profile/stats/features/ShareButton/Preview.tsx +2 -14
- package/src/app/[variants]/(main)/profile/stats/features/TopicsRank.tsx +4 -4
- package/src/app/[variants]/(main)/profile/stats/index.tsx +20 -0
- package/src/app/[variants]/(main)/profile/usage/Client.tsx +114 -0
- package/src/app/[variants]/(main)/profile/usage/features/UsageCards/ActiveModels/ModelTable.tsx +175 -0
- package/src/app/[variants]/(main)/profile/usage/features/UsageCards/ActiveModels/index.tsx +126 -0
- package/src/app/[variants]/(main)/profile/usage/features/UsageCards/MonthSpend.tsx +53 -0
- package/src/app/[variants]/(main)/profile/usage/features/UsageCards/TodaySpend.tsx +67 -0
- package/src/app/[variants]/(main)/profile/usage/features/UsageCards/index.tsx +19 -0
- package/src/app/[variants]/(main)/profile/usage/features/UsageTable.tsx +143 -0
- package/src/app/[variants]/(main)/profile/usage/features/UsageTrends.tsx +107 -0
- package/src/app/[variants]/(main)/profile/usage/features/components/UsageBarChart.tsx +48 -0
- package/src/app/[variants]/(main)/profile/usage/index.tsx +13 -0
- package/src/app/[variants]/(main)/settings/_layout/Desktop/Header.tsx +2 -2
- package/src/app/[variants]/(main)/settings/_layout/Desktop/index.tsx +45 -9
- package/src/app/[variants]/(main)/settings/_layout/DesktopWrapper.tsx +23 -0
- package/src/app/[variants]/(main)/settings/_layout/Mobile/Header.tsx +8 -7
- package/src/app/[variants]/(main)/settings/_layout/Mobile/index.tsx +2 -5
- package/src/app/[variants]/(main)/settings/_layout/MobileWrapper.tsx +23 -0
- package/src/app/[variants]/(main)/settings/_layout/SettingsContent.tsx +1 -12
- package/src/app/[variants]/(main)/settings/_layout/type.ts +0 -1
- package/src/app/[variants]/(main)/settings/agent/AgentMenu/Menu.tsx +2 -4
- package/src/app/[variants]/(main)/settings/agent/index.tsx +13 -14
- package/src/app/[variants]/(main)/settings/common/features/Common/Common.tsx +23 -1
- package/src/app/[variants]/(main)/settings/common/index.tsx +1 -1
- package/src/app/[variants]/(main)/settings/hooks/useCategory.tsx +8 -16
- package/src/app/[variants]/(main)/settings/provider/(list)/ProviderGrid/Card.tsx +9 -4
- package/src/app/[variants]/(main)/settings/provider/(list)/ProviderGrid/index.tsx +35 -4
- package/src/app/[variants]/(main)/settings/provider/(list)/index.tsx +15 -3
- package/src/app/[variants]/(main)/settings/provider/ProviderMenu/All.tsx +2 -2
- package/src/app/[variants]/(main)/settings/provider/ProviderMenu/Item.tsx +2 -2
- package/src/app/[variants]/(main)/settings/provider/ProviderMenu/List.tsx +251 -34
- package/src/app/[variants]/(main)/settings/provider/ProviderMenu/SearchResult.tsx +5 -5
- package/src/app/[variants]/(main)/settings/provider/_layout/Desktop/Container.tsx +10 -4
- package/src/app/[variants]/(main)/settings/provider/_layout/Mobile.tsx +2 -2
- package/src/app/[variants]/(main)/settings/provider/detail/azure/index.tsx +6 -8
- package/src/app/[variants]/(main)/settings/provider/detail/azureai/index.tsx +1 -1
- package/src/app/[variants]/(main)/settings/provider/detail/bedrock/index.tsx +1 -1
- package/src/app/[variants]/(main)/settings/provider/detail/cloudflare/index.tsx +1 -1
- package/src/app/[variants]/(main)/settings/provider/detail/comfyui/index.tsx +1 -1
- package/src/app/[variants]/(main)/settings/provider/detail/default/ClientMode.tsx +1 -1
- package/src/app/[variants]/(main)/settings/provider/detail/github/index.tsx +1 -1
- package/src/app/[variants]/(main)/settings/provider/detail/index.tsx +36 -14
- package/src/app/[variants]/(main)/settings/provider/detail/vertexai/index.tsx +1 -1
- package/src/app/[variants]/(main)/settings/provider/features/CreateNewProvider/index.tsx +22 -9
- package/src/app/[variants]/(main)/settings/provider/features/ModelList/DisabledModels.tsx +144 -8
- package/src/app/[variants]/(main)/settings/provider/features/ModelList/ModelItem.tsx +69 -97
- package/src/app/[variants]/(main)/settings/provider/features/ProviderConfig/UpdateProviderInfo/SettingModal.tsx +13 -9
- package/src/app/[variants]/(main)/settings/provider/features/ProviderConfig/index.tsx +4 -8
- package/src/app/[variants]/(main)/settings/provider/features/customProviderSdkOptions.ts +1 -0
- package/src/app/[variants]/(main)/settings/storage/index.tsx +1 -9
- package/src/app/[variants]/(main)/settings/system-agent/index.tsx +1 -2
- package/src/app/[variants]/DesktopClientRouter.tsx +20 -0
- package/src/app/[variants]/DesktopRouter.tsx +20 -0
- package/src/app/[variants]/MobileClientRouter.tsx +20 -0
- package/src/app/[variants]/MobileRouter.tsx +20 -0
- package/src/app/[variants]/desktopRouter.config.tsx +502 -0
- package/src/app/[variants]/layout.tsx +1 -3
- package/src/app/[variants]/loaders/routeParams.ts +45 -0
- package/src/app/[variants]/loading/Server/Redirect.tsx +1 -1
- package/src/app/[variants]/mobileRouter.config.tsx +546 -0
- package/src/app/[variants]/oauth/ResultLayout.tsx +47 -0
- package/src/app/[variants]/oauth/callback/error/page.tsx +20 -33
- package/src/app/[variants]/oauth/callback/layout.tsx +1 -0
- package/src/app/[variants]/oauth/callback/success/page.tsx +8 -22
- package/src/app/[variants]/oauth/consent/[uid]/Consent/BuiltinConsent.tsx +47 -0
- package/src/app/[variants]/oauth/consent/[uid]/Consent/index.tsx +198 -0
- package/src/app/[variants]/oauth/consent/[uid]/Login.tsx +19 -4
- package/src/app/[variants]/page.tsx +18 -6
- package/src/app/desktop/devtools/page.tsx +1 -1
- package/src/app/desktop/layout.tsx +1 -1
- package/src/app/market-auth-callback/layout.tsx +39 -0
- package/src/app/market-auth-callback/page.tsx +196 -0
- package/src/auth.ts +185 -0
- package/src/components/Analytics/MainInterfaceTracker.tsx +2 -2
- package/src/components/BootErrorBoundary/index.tsx +129 -0
- package/src/components/FileIcon/index.tsx +1 -1
- package/src/components/InvalidAPIKey/APIKeyForm/Bedrock.tsx +9 -14
- package/src/components/InvalidAPIKey/APIKeyForm/ComfyUIForm.tsx +1 -1
- package/src/components/InvalidAPIKey/APIKeyForm/ProviderApiKeyForm.tsx +1 -1
- package/src/components/InvalidAPIKey/APIKeyForm/__tests__/ComfyUIForm.test.tsx +1 -1
- package/src/components/InvalidAPIKey/APIKeyForm/useApiKey.ts +0 -12
- package/src/components/InvalidAPIKey/index.tsx +1 -1
- package/src/components/ModelSelect/NewModelBadge.tsx +23 -0
- package/src/components/ModelSelect/index.tsx +4 -0
- package/src/components/NextAuth/AuthIcons.tsx +5 -1
- package/src/components/Skeleton/SkeletonSwitch.tsx +13 -0
- package/src/components/Skeleton/index.ts +2 -0
- package/src/components/Thinking/index.tsx +3 -3
- package/src/components/mdx/constants.ts +1 -0
- package/src/config/db.ts +0 -5
- package/src/config/featureFlags/schema.test.ts +1 -5
- package/src/config/featureFlags/schema.ts +0 -9
- package/src/config/modelProviders/ai21.ts +1 -16
- package/src/config/modelProviders/ai302.ts +1 -128
- package/src/config/modelProviders/ai360.ts +1 -32
- package/src/config/modelProviders/aihubmix.ts +1 -0
- package/src/config/modelProviders/anthropic.ts +1 -71
- package/src/config/modelProviders/azure.ts +1 -51
- package/src/config/modelProviders/baichuan.ts +1 -57
- package/src/config/modelProviders/bedrock.ts +1 -276
- package/src/config/modelProviders/cerebras.ts +3 -0
- package/src/config/modelProviders/cloudflare.ts +1 -64
- package/src/config/modelProviders/deepseek.ts +1 -19
- package/src/config/modelProviders/fireworksai.ts +1 -174
- package/src/config/modelProviders/giteeai.ts +1 -135
- package/src/config/modelProviders/github.ts +1 -254
- package/src/config/modelProviders/google.ts +1 -130
- package/src/config/modelProviders/groq.ts +1 -119
- package/src/config/modelProviders/higress.ts +1 -1713
- package/src/config/modelProviders/huggingface.ts +1 -54
- package/src/config/modelProviders/hunyuan.ts +1 -83
- package/src/config/modelProviders/index.ts +3 -0
- package/src/config/modelProviders/infiniai.ts +1 -74
- package/src/config/modelProviders/internlm.ts +1 -20
- package/src/config/modelProviders/mistral.ts +1 -95
- package/src/config/modelProviders/modelscope.ts +1 -27
- package/src/config/modelProviders/moonshot.ts +1 -29
- package/src/config/modelProviders/newapi.ts +1 -0
- package/src/config/modelProviders/novita.ts +1 -105
- package/src/config/modelProviders/ollama.ts +1 -325
- package/src/config/modelProviders/openai.ts +1 -242
- package/src/config/modelProviders/openrouter.ts +1 -240
- package/src/config/modelProviders/perplexity.ts +1 -45
- package/src/config/modelProviders/ppio.ts +1 -152
- package/src/config/modelProviders/qiniu.ts +1 -18
- package/src/config/modelProviders/qwen.ts +1 -245
- package/src/config/modelProviders/search1api.ts +1 -34
- package/src/config/modelProviders/sensenova.ts +1 -69
- package/src/config/modelProviders/siliconcloud.ts +1 -417
- package/src/config/modelProviders/spark.ts +1 -59
- package/src/config/modelProviders/stepfun.ts +1 -98
- package/src/config/modelProviders/taichu.ts +1 -18
- package/src/config/modelProviders/togetherai.ts +1 -274
- package/src/config/modelProviders/upstage.ts +1 -28
- package/src/config/modelProviders/vertexai.ts +1 -1
- package/src/config/modelProviders/wenxin.ts +3 -143
- package/src/config/modelProviders/xai.ts +1 -38
- package/src/config/modelProviders/zenmux.ts +21 -0
- package/src/config/modelProviders/zeroone.ts +1 -81
- package/src/config/modelProviders/zhipu.ts +1 -108
- package/src/envs/__tests__/app.test.ts +47 -13
- package/src/envs/app.ts +10 -3
- package/src/envs/auth.test.ts +60 -0
- package/src/envs/auth.ts +313 -15
- package/src/envs/email.ts +48 -0
- package/src/envs/llm.ts +10 -0
- package/src/envs/redis.ts +106 -0
- package/src/features/AgentSetting/AgentPlugin/index.tsx +6 -2
- package/src/features/AgentSetting/AgentPrompt/TokenTag.tsx +3 -2
- package/src/features/AgentSetting/AgentTTS/SelectWithTTSPreview.tsx +1 -1
- package/src/features/AgentSetting/store/action.ts +1 -1
- package/src/features/ChangelogModal/index.tsx +3 -3
- package/src/features/ChatInput/ActionBar/Knowledge/index.tsx +4 -5
- package/src/features/ChatInput/ActionBar/Model/ControlsForm.tsx +47 -0
- package/src/features/ChatInput/ActionBar/Model/GPT51ReasoningEffortSlider.tsx +58 -0
- package/src/features/ChatInput/ActionBar/Model/ImageAspectRatioSelect.tsx +54 -0
- package/src/features/ChatInput/ActionBar/Model/ImageResolutionSlider.tsx +59 -0
- package/src/features/ChatInput/ActionBar/Model/ThinkingLevelSlider.tsx +56 -0
- package/src/features/ChatInput/ActionBar/STT/browser.tsx +6 -6
- package/src/features/ChatInput/ActionBar/STT/openai.tsx +6 -6
- package/src/features/ChatInput/ActionBar/Search/index.tsx +5 -7
- package/src/features/ChatInput/ActionBar/Token/TokenTag.tsx +4 -4
- package/src/features/ChatInput/ActionBar/Token/TokenTagForGroupChat.tsx +2 -2
- package/src/features/ChatInput/ActionBar/Upload/index.tsx +1 -3
- package/src/features/ChatInput/ActionBar/components/ActionDropdown.tsx +2 -17
- package/src/features/ChatInput/ActionBar/index.tsx +2 -2
- package/src/features/ChatInput/InputEditor/index.tsx +2 -2
- package/src/features/ChatItem/components/MessageContent.tsx +4 -1
- package/src/features/ChatItem/components/Title.tsx +20 -16
- package/src/features/ChatItem/style.ts +4 -0
- package/src/features/ChatList/Error/ChatInvalidApiKey.tsx +39 -0
- package/src/features/ChatList/Error/ClerkLogin/index.tsx +47 -0
- package/src/features/ChatList/Error/OAuthForm.tsx +97 -0
- package/src/features/ChatList/Error/index.tsx +144 -0
- package/src/features/ChatList/MarkdownElements/LobeThinking/Render.tsx +30 -0
- package/src/features/ChatList/MarkdownElements/Thinking/Render.tsx +42 -0
- package/src/features/ChatList/MarkdownElements/remarkPlugins/__snapshots__/createRemarkSelfClosingTagPlugin.test.ts.snap +393 -0
- package/src/features/ChatList/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.test.ts +277 -0
- package/src/features/ChatList/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.ts +162 -0
- package/src/features/ChatList/MarkdownElements/remarkPlugins/getNodeContent.test.ts +502 -0
- package/src/features/ChatList/Messages/Assistant/Actions/index.tsx +218 -0
- package/src/features/ChatList/Messages/Assistant/CollapsedMessage.tsx +37 -0
- package/src/features/ChatList/Messages/Assistant/DisplayContent.tsx +44 -0
- package/src/features/ChatList/Messages/Assistant/Extra/index.test.tsx +86 -0
- package/src/features/ChatList/Messages/Assistant/Extra/index.tsx +49 -0
- package/src/features/ChatList/Messages/Assistant/MessageBody.tsx +96 -0
- package/src/features/ChatList/Messages/Assistant/Reasoning/index.tsx +42 -0
- package/src/features/ChatList/Messages/Assistant/index.tsx +401 -0
- package/src/features/ChatList/Messages/Default.tsx +27 -0
- package/src/features/ChatList/Messages/Group/Actions/WithContentId.tsx +200 -0
- package/src/features/ChatList/Messages/Group/Actions/WithoutContentId.tsx +93 -0
- package/src/features/ChatList/Messages/Group/Actions/index.tsx +21 -0
- package/src/features/ChatList/Messages/Group/CollapsedMessage.tsx +37 -0
- package/src/features/ChatList/Messages/Group/ContentBlock.tsx +89 -0
- package/src/features/ChatList/Messages/Group/EditState.tsx +51 -0
- package/src/features/ChatList/Messages/Group/Error/index.tsx +55 -0
- package/src/features/ChatList/Messages/Group/Group.tsx +70 -0
- package/src/features/ChatList/Messages/Group/GroupContext.ts +15 -0
- package/src/features/ChatList/Messages/Group/GroupItem.tsx +42 -0
- package/src/features/ChatList/Messages/Group/MessageContent.tsx +45 -0
- package/src/features/ChatList/Messages/Group/Tool/Inspector/BuiltinPluginTitle.tsx +58 -0
- package/src/features/ChatList/Messages/Group/Tool/Inspector/Debug.tsx +70 -0
- package/src/features/ChatList/Messages/Group/Tool/Inspector/PluginResult.tsx +34 -0
- package/src/features/ChatList/Messages/Group/Tool/Inspector/PluginState.tsx +18 -0
- package/src/features/ChatList/Messages/Group/Tool/Inspector/StatusIndicator.tsx +41 -0
- package/src/features/ChatList/Messages/Group/Tool/Inspector/ToolTitle.tsx +82 -0
- package/src/features/ChatList/Messages/Group/Tool/Inspector/index.tsx +221 -0
- package/src/features/ChatList/Messages/Group/Tool/Render/AbortResponse.tsx +37 -0
- package/src/features/ChatList/Messages/Group/Tool/Render/Arguments/index.tsx +136 -0
- package/src/features/ChatList/Messages/Group/Tool/Render/CustomRender.tsx +88 -0
- package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/ApprovalActions.tsx +164 -0
- package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/Fallback.tsx +98 -0
- package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/KeyValueEditor.tsx +213 -0
- package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/ModeSelector.tsx +133 -0
- package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/index.tsx +103 -0
- package/src/features/ChatList/Messages/Group/Tool/Render/LoadingPlaceholder/index.tsx +29 -0
- package/src/features/ChatList/Messages/Group/Tool/Render/PluginSettings.tsx +66 -0
- package/src/features/ChatList/Messages/Group/Tool/Render/RejectedResponse.tsx +45 -0
- package/src/features/ChatList/Messages/Group/Tool/Render/index.tsx +139 -0
- package/src/features/ChatList/Messages/Group/Tool/index.tsx +98 -0
- package/src/features/ChatList/Messages/Group/Tools.tsx +48 -0
- package/src/features/ChatList/Messages/Group/index.tsx +210 -0
- package/src/features/ChatList/Messages/Supervisor/index.tsx +194 -0
- package/src/features/ChatList/Messages/Tool/Inspector/PluginResult.tsx +39 -0
- package/src/features/ChatList/Messages/Tool/Inspector/PluginState.tsx +23 -0
- package/src/features/ChatList/Messages/Tool/Inspector/Settings.tsx +40 -0
- package/src/features/ChatList/Messages/Tool/Inspector/ToolTitle.tsx +68 -0
- package/src/features/ChatList/Messages/Tool/Inspector/index.tsx +134 -0
- package/src/features/ChatList/Messages/Tool/Render/Arguments/ObjectEntity.tsx +81 -0
- package/src/features/ChatList/Messages/Tool/Render/Arguments/ValueCell.tsx +43 -0
- package/src/features/ChatList/Messages/Tool/Render/CustomRender.tsx +144 -0
- package/src/features/ChatList/Messages/Tool/Render/ErrorResponse.tsx +35 -0
- package/src/features/ChatList/Messages/Tool/Render/PluginSettings.tsx +69 -0
- package/src/features/ChatList/Messages/Tool/Render/index.tsx +46 -0
- package/src/features/ChatList/Messages/Tool/ToolItem.tsx +51 -0
- package/src/features/ChatList/Messages/Tool/index.tsx +58 -0
- package/src/features/ChatList/Messages/User/Actions/ActionsBar.tsx +159 -0
- package/src/features/ChatList/Messages/User/Actions/MessageBranch.tsx +107 -0
- package/src/features/ChatList/Messages/User/Actions/index.tsx +42 -0
- package/src/features/ChatList/Messages/User/Extra.tsx +39 -0
- package/src/features/ChatList/Messages/User/index.tsx +193 -0
- package/src/features/ChatList/Messages/index.tsx +238 -0
- package/src/features/ChatList/components/AutoScroll.tsx +27 -0
- package/src/features/ChatList/components/ContextMenu.tsx +398 -0
- package/src/features/ChatList/components/Extras/TTS/InitPlayer.tsx +93 -0
- package/src/features/ChatList/components/Extras/Usage/UsageDetail/AnimatedNumber.tsx +55 -0
- package/src/features/ChatList/components/Extras/Usage/UsageDetail/index.tsx +257 -0
- package/src/features/ChatList/components/Extras/Usage/UsageDetail/tokens.ts +129 -0
- package/src/features/ChatList/components/Extras/Usage/index.tsx +52 -0
- package/src/features/ChatList/components/RichContentRenderer.tsx +35 -0
- package/src/features/ChatList/components/ShareMessageModal/ShareImage/Preview.tsx +90 -0
- package/src/features/ChatList/components/ShareMessageModal/index.tsx +91 -0
- package/src/features/ChatList/components/SkeletonList.tsx +58 -0
- package/src/features/ChatList/components/VirtualizedList/VirtuosoContext.ts +92 -0
- package/src/features/ChatList/components/VirtualizedList/index.tsx +172 -0
- package/src/features/ChatList/components/WideScreenContainer/index.tsx +50 -0
- package/src/features/ChatList/hooks/useChatItemContextMenu.tsx +136 -0
- package/src/features/ChatList/hooks/useChatListActionsBar.tsx +145 -0
- package/src/features/ChatList/hooks/useDoubleClickEdit.ts +42 -0
- package/src/features/DataImporter/index.tsx +2 -2
- package/src/features/DevPanel/PostgresViewer/usePgTable.ts +3 -11
- package/src/features/FileSidePanel/index.tsx +1 -1
- package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/Item/MasonryItem.tsx +80 -0
- package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/Item/MasonryItemWrapper.tsx +27 -0
- package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/List.tsx +104 -23
- package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/MasonrySkeleton.tsx +62 -0
- package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/index.tsx +3 -2
- package/src/features/KnowledgeBaseModal/CreateNew/CreateForm.tsx +1 -1
- package/src/features/KnowledgeManager/DocumentExplorer/DocumentActions.tsx +111 -0
- package/src/features/KnowledgeManager/DocumentExplorer/DocumentEditor.tsx +723 -0
- package/src/features/KnowledgeManager/DocumentExplorer/DocumentEditorPlaceholder.tsx +169 -0
- package/src/features/KnowledgeManager/DocumentExplorer/DocumentListItem.tsx +148 -0
- package/src/features/KnowledgeManager/DocumentExplorer/DocumentListSkeleton.tsx +39 -0
- package/src/features/KnowledgeManager/DocumentExplorer/NoteEditorModal.tsx +328 -0
- package/src/features/KnowledgeManager/DocumentExplorer/RenamePopover.tsx +163 -0
- package/src/features/KnowledgeManager/DocumentExplorer/index.tsx +318 -0
- package/src/features/KnowledgeManager/FileExplorer/FileListItem/index.tsx +270 -0
- package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/DefaultFileItem.tsx +149 -0
- package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/ImageFileItem.tsx +245 -0
- package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/MarkdownFileItem.tsx +232 -0
- package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/NoteFileItem.tsx +230 -0
- package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/index.tsx +378 -0
- package/src/features/KnowledgeManager/FileExplorer/ToolBar/ViewSwitcher.tsx +45 -0
- package/src/features/KnowledgeManager/FileExplorer/index.tsx +305 -0
- package/src/features/KnowledgeManager/Header/AddButton.tsx +117 -0
- package/src/features/KnowledgeManager/Header/FilesSearchBar.tsx +45 -0
- package/src/features/KnowledgeManager/Header/NewNoteButton.tsx +33 -0
- package/src/features/KnowledgeManager/Header/TogglePanelButton.tsx +42 -0
- package/src/features/KnowledgeManager/Header/index.tsx +21 -0
- package/src/features/KnowledgeManager/Home/RecentDocumentCard.tsx +116 -0
- package/src/features/KnowledgeManager/Home/RecentDocuments.tsx +77 -0
- package/src/features/KnowledgeManager/Home/RecentFileCard.tsx +121 -0
- package/src/features/KnowledgeManager/Home/RecentFiles.tsx +73 -0
- package/src/features/KnowledgeManager/Home/RecentFilesSkeleton.tsx +81 -0
- package/src/features/KnowledgeManager/Home/UploadEntries.tsx +208 -0
- package/src/features/KnowledgeManager/Home/index.tsx +221 -0
- package/src/features/KnowledgeManager/index.tsx +75 -0
- package/src/features/LocalFile/LocalFile.tsx +55 -5
- package/src/features/MCP/utils.test.ts +91 -0
- package/src/features/MCP/utils.ts +20 -2
- package/src/features/ModelSwitchPanel/index.tsx +15 -29
- package/src/features/OllamaSetupGuide/index.tsx +1 -1
- package/src/features/PluginStore/Content.tsx +2 -3
- package/src/features/PluginStore/McpList/List/Action.tsx +20 -1
- package/src/features/PluginStore/McpList/index.tsx +6 -2
- package/src/features/PluginTag/PluginStatus.tsx +1 -1
- package/src/features/PluginsUI/Render/BuiltinType/index.test.tsx +10 -4
- package/src/features/PluginsUI/Render/BuiltinType/index.tsx +4 -4
- package/src/features/PluginsUI/Render/MCPType/index.tsx +72 -0
- package/src/features/PluginsUI/Render/StandaloneType/Iframe.tsx +5 -5
- package/src/features/PluginsUI/Render/index.tsx +17 -0
- package/src/features/Portal/Artifacts/Body/Renderer/SVG.tsx +23 -6
- package/src/features/Portal/FilePreview/Body/index.tsx +1 -1
- package/src/features/Portal/FilePreview/Header.tsx +1 -1
- package/src/features/Portal/GroupThread/Body/ThreadChatItem.tsx +1 -1
- package/src/features/Portal/GroupThread/Body/ThreadChatList.tsx +1 -1
- package/src/features/Portal/GroupThread/Body/index.tsx +1 -1
- package/src/features/Portal/Home/Body/Plugins/ArtifactList/index.tsx +3 -3
- package/src/features/Portal/Thread/Chat/ChatInput/index.tsx +1 -1
- package/src/features/Portal/Thread/Chat/ChatInput/useSend.ts +3 -3
- package/src/features/Portal/Thread/Chat/ChatItem.tsx +1 -1
- package/src/features/Portal/Thread/Chat/ChatList.tsx +1 -1
- package/src/features/Portal/Thread/Chat/index.tsx +1 -1
- package/src/features/ShareModal/ShareImage/ChatList/index.tsx +1 -1
- package/src/features/ShareModal/ShareImage/Preview.tsx +2 -2
- package/src/features/ShareModal/ShareImage/index.tsx +15 -1
- package/src/features/ShareModal/ShareImage/type.ts +6 -0
- package/src/features/ShareModal/ShareJSON/index.tsx +2 -2
- package/src/features/ShareModal/ShareText/index.tsx +3 -3
- package/src/features/ShareModal/index.tsx +7 -13
- package/src/features/ShareModal/style.ts +40 -30
- package/src/features/User/UserPanel/PanelContent.tsx +11 -11
- package/src/features/User/UserPanel/useMenu.tsx +24 -14
- package/src/features/User/__tests__/PanelContent.test.tsx +28 -13
- package/src/features/User/__tests__/UserAvatar.test.tsx +17 -6
- package/src/features/User/__tests__/useMenu.test.tsx +14 -12
- package/src/helpers/isCanUseFC.ts +0 -8
- package/src/helpers/toolEngineering/index.test.ts +3 -3
- package/src/helpers/toolEngineering/index.ts +13 -4
- package/src/hooks/useAgentOwnershipCheck.ts +151 -0
- package/src/hooks/useCheckPluginsIsInstalled.ts +1 -4
- package/src/hooks/useDiscoverTab.ts +2 -2
- package/src/hooks/useEnabledChatModels.ts +0 -8
- package/src/hooks/useFetchGroups.ts +1 -4
- package/src/hooks/useFetchInstalledPlugins.ts +1 -4
- package/src/hooks/useFetchMessages.ts +1 -4
- package/src/hooks/useFetchSessions.ts +1 -4
- package/src/hooks/useFetchThreads.ts +1 -5
- package/src/hooks/useFetchTopics.ts +1 -4
- package/src/hooks/useHotkeys/chatScope.ts +16 -8
- package/src/hooks/useInterceptingRoutes.test.ts +22 -44
- package/src/hooks/useInterceptingRoutes.ts +6 -11
- package/src/hooks/useModelContextWindowTokens.ts +0 -8
- package/src/hooks/useModelHasContextWindowToken.ts +1 -10
- package/src/hooks/useModelSupportFiles.ts +1 -11
- package/src/hooks/useModelSupportReasoning.ts +1 -11
- package/src/hooks/useModelSupportToolUse.ts +1 -11
- package/src/hooks/useModelSupportVision.ts +1 -11
- package/src/hooks/usePinnedAgentState.ts +23 -16
- package/src/hooks/useQuery.ts +5 -0
- package/src/hooks/useQueryParam.ts +324 -0
- package/src/hooks/useQueryRoute.test.ts +2 -12
- package/src/hooks/useQueryRoute.ts +5 -5
- package/src/hooks/useScreenshot.ts +44 -28
- package/src/hooks/useShowMobileWorkspace.ts +1 -1
- package/src/hooks/useSwitchSession.ts +4 -3
- package/src/instrumentation.node.ts +3 -2
- package/src/layout/AuthProvider/BetterAuth/UserUpdater.tsx +51 -0
- package/src/layout/AuthProvider/BetterAuth/index.tsx +14 -0
- package/src/layout/AuthProvider/Clerk/index.tsx +2 -16
- package/src/layout/AuthProvider/MarketAuth/MarketAuthConfirmModal.tsx +158 -0
- package/src/layout/AuthProvider/MarketAuth/MarketAuthProvider.tsx +599 -0
- package/src/layout/AuthProvider/MarketAuth/errors.ts +75 -0
- package/src/layout/AuthProvider/MarketAuth/index.ts +2 -0
- package/src/layout/AuthProvider/MarketAuth/oidc.ts +382 -0
- package/src/layout/AuthProvider/MarketAuth/types.ts +67 -0
- package/src/layout/AuthProvider/index.tsx +20 -4
- package/src/layout/GlobalProvider/Cmdk.tsx +470 -0
- package/src/layout/GlobalProvider/CmdkLazy.tsx +17 -0
- package/src/layout/GlobalProvider/ImportSettings.tsx +22 -9
- package/src/layout/GlobalProvider/StoreInitialization.tsx +12 -6
- package/src/layout/GlobalProvider/index.tsx +2 -0
- package/src/libs/better-auth/auth-client.ts +36 -0
- package/src/libs/better-auth/constants.ts +19 -0
- package/src/libs/better-auth/email-templates/index.ts +3 -0
- package/src/libs/better-auth/email-templates/magic-link.ts +98 -0
- package/src/libs/better-auth/email-templates/reset-password.ts +91 -0
- package/src/libs/better-auth/email-templates/verification.ts +108 -0
- package/src/libs/better-auth/sso/helpers.ts +61 -0
- package/src/libs/better-auth/sso/index.ts +118 -0
- package/src/libs/better-auth/sso/providers/apple.ts +33 -0
- package/src/libs/better-auth/sso/providers/auth0.ts +33 -0
- package/src/libs/better-auth/sso/providers/authelia.ts +35 -0
- package/src/libs/better-auth/sso/providers/authentik.ts +35 -0
- package/src/libs/better-auth/sso/providers/casdoor.ts +48 -0
- package/src/libs/better-auth/sso/providers/cloudflare-zero-trust.ts +41 -0
- package/src/libs/better-auth/sso/providers/cognito.ts +45 -0
- package/src/libs/better-auth/sso/providers/feishu.ts +181 -0
- package/src/libs/better-auth/sso/providers/generic-oidc.ts +44 -0
- package/src/libs/better-auth/sso/providers/github.ts +30 -0
- package/src/libs/better-auth/sso/providers/google.ts +30 -0
- package/src/libs/better-auth/sso/providers/keycloak.ts +35 -0
- package/src/libs/better-auth/sso/providers/logto.ts +38 -0
- package/src/libs/better-auth/sso/providers/microsoft.ts +65 -0
- package/src/libs/better-auth/sso/providers/okta.ts +37 -0
- package/src/libs/better-auth/sso/providers/wechat.ts +140 -0
- package/src/libs/better-auth/sso/providers/zitadel.ts +54 -0
- package/src/libs/better-auth/sso/types.ts +25 -0
- package/src/libs/better-auth/utils/client.ts +1 -0
- package/src/libs/better-auth/utils/common.ts +20 -0
- package/src/libs/better-auth/utils/server.test.ts +61 -0
- package/src/libs/better-auth/utils/server.ts +18 -0
- package/src/libs/mcp/__tests__/__snapshots__/index.test.ts.snap +9 -1
- package/src/libs/mcp/__tests__/index.test.ts +6 -6
- package/src/libs/mcp/client.ts +3 -2
- package/src/libs/mcp/types.ts +79 -0
- package/src/libs/next-auth/auth.config.ts +2 -5
- package/src/libs/oidc-provider/adapter.ts +42 -1
- package/src/libs/oidc-provider/provider.test.ts +2 -0
- package/src/libs/redis/index.ts +5 -0
- package/src/libs/redis/manager.test.ts +107 -0
- package/src/libs/redis/manager.ts +56 -0
- package/src/libs/redis/redis.test.ts +158 -0
- package/src/libs/redis/redis.ts +117 -0
- package/src/libs/redis/types.ts +71 -0
- package/src/libs/redis/upstash.test.ts +154 -0
- package/src/libs/redis/upstash.ts +109 -0
- package/src/libs/redis/utils.test.ts +46 -0
- package/src/libs/redis/utils.ts +53 -0
- package/src/libs/trpc/client/lambda.ts +5 -8
- package/src/libs/trpc/lambda/context.test.ts +116 -0
- package/src/libs/trpc/lambda/context.ts +27 -0
- package/src/libs/trpc/lambda/index.ts +5 -2
- package/src/libs/trpc/middleware/openTelemetry.ts +141 -0
- package/src/libs/trpc/middleware/userAuth.ts +4 -2
- package/src/libs/trpc/utils/request-adapter.ts +20 -0
- package/src/locales/default/auth.ts +159 -1
- package/src/locales/default/chat.ts +43 -0
- package/src/locales/default/common.ts +24 -0
- package/src/locales/default/components.ts +6 -0
- package/src/locales/default/discover.ts +46 -0
- package/src/locales/default/error.ts +2 -2
- package/src/locales/default/file.ts +88 -5
- package/src/locales/default/hotkey.ts +4 -0
- package/src/locales/default/image.ts +8 -0
- package/src/locales/default/index.ts +2 -0
- package/src/locales/default/labs.ts +4 -0
- package/src/locales/default/marketAuth.ts +55 -0
- package/src/locales/default/modelProvider.ts +18 -2
- package/src/locales/default/oauth.ts +1 -0
- package/src/locales/default/plugin.ts +37 -16
- package/src/locales/default/setting.ts +100 -1
- package/src/locales/default/tool.ts +32 -5
- package/src/locales/default/topic.ts +1 -0
- package/src/proxy.ts +81 -5
- package/src/server/globalConfig/genServerAiProviderConfig.test.ts +5 -5
- package/src/server/globalConfig/genServerAiProviderConfig.ts +4 -4
- package/src/server/globalConfig/index.ts +12 -24
- package/src/server/globalConfig/parseFilesConfig.ts +1 -1
- package/src/server/globalConfig/parseSystemAgent.ts +4 -4
- package/src/server/modules/ContentChunk/index.test.ts +372 -0
- package/src/server/modules/ModelRuntime/index.ts +4 -4
- package/src/server/modules/S3/index.test.ts +379 -0
- package/src/server/routers/async/__tests__/caller.test.ts +333 -0
- package/src/server/routers/async/caller.ts +2 -1
- package/src/server/routers/async/file.ts +2 -7
- package/src/server/routers/async/image.ts +20 -2
- package/src/server/routers/desktop/mcp.ts +22 -9
- package/src/server/routers/lambda/__tests__/aiChat.test.ts +1 -1
- package/src/server/routers/lambda/__tests__/file.test.ts +85 -6
- package/src/server/routers/lambda/__tests__/integration/message.integration.test.ts +771 -57
- package/src/server/routers/lambda/__tests__/user.test.ts +2 -0
- package/src/server/routers/lambda/aiChat.ts +3 -2
- package/src/server/routers/lambda/chunk.ts +173 -41
- package/src/server/routers/lambda/config/__snapshots__/index.test.ts.snap +175 -12
- package/src/server/routers/lambda/config/index.test.ts +36 -28
- package/src/server/routers/lambda/document.ts +57 -0
- package/src/server/routers/lambda/file.ts +89 -2
- package/src/server/routers/lambda/index.ts +2 -0
- package/src/server/routers/lambda/knowledge.ts +94 -0
- package/src/server/routers/lambda/market/index.ts +123 -16
- package/src/server/routers/lambda/message.ts +52 -60
- package/src/server/routers/lambda/topic.ts +7 -1
- package/src/server/routers/lambda/usage.ts +36 -0
- package/src/server/routers/lambda/user.ts +36 -31
- package/src/server/routers/mobile/index.ts +14 -2
- package/src/server/routers/tools/mcp.ts +23 -5
- package/src/server/services/discover/index.test.ts +153 -11
- package/src/server/services/discover/index.ts +422 -42
- package/src/server/services/document/index.ts +103 -0
- package/src/server/services/email/README.md +260 -0
- package/src/server/services/email/impls/index.test.ts +39 -0
- package/src/server/services/email/impls/index.ts +36 -0
- package/src/server/services/email/impls/nodemailer/index.ts +108 -0
- package/src/server/services/email/impls/nodemailer/type.ts +31 -0
- package/src/server/services/email/impls/resend/index.ts +120 -0
- package/src/server/services/email/impls/type.ts +61 -0
- package/src/server/services/email/index.test.ts +144 -0
- package/src/server/services/email/index.ts +48 -0
- package/src/server/services/file/impls/index.ts +3 -3
- package/src/server/services/file/impls/local.ts +39 -36
- package/src/server/services/file/impls/s3.ts +1 -1
- package/src/server/services/file/impls/type.ts +11 -11
- package/src/server/services/file/index.ts +108 -13
- package/src/server/services/mcp/contentProcessor.ts +101 -0
- package/src/server/services/mcp/deps/MCPSystemDepsCheckService.test.ts +541 -0
- package/src/server/services/mcp/deps/MCPSystemDepsCheckService.ts +3 -3
- package/src/server/services/mcp/deps/checkers/ManualInstallationChecker.test.ts +162 -0
- package/src/server/services/mcp/deps/checkers/NpmInstallationChecker.test.ts +374 -0
- package/src/server/services/mcp/deps/checkers/PythonInstallationChecker.test.ts +368 -0
- package/src/server/services/mcp/index.test.ts +80 -25
- package/src/server/services/mcp/index.ts +48 -34
- package/src/server/services/message/__tests__/index.test.ts +338 -0
- package/src/server/services/message/index.ts +187 -0
- package/src/server/services/oidc/index.test.ts +232 -0
- package/src/server/services/oidc/index.ts +24 -0
- package/src/server/services/usage/index.test.ts +310 -0
- package/src/server/services/usage/index.ts +164 -0
- package/src/server/sitemap.ts +49 -35
- package/src/server/utils/createSpeechResponse.ts +55 -0
- package/src/services/__tests__/_auth.test.ts +1 -4
- package/src/services/__tests__/upload.test.ts +92 -82
- package/src/services/_auth.ts +4 -14
- package/src/services/_header.ts +3 -18
- package/src/services/_url.ts +15 -1
- package/src/services/aiModel/index.test.ts +3 -3
- package/src/services/aiModel/index.ts +56 -2
- package/src/services/aiProvider/index.test.ts +2 -2
- package/src/services/aiProvider/index.ts +48 -2
- package/src/services/chat/chat.test.ts +73 -16
- package/src/services/chat/clientModelRuntime.test.ts +109 -173
- package/src/services/chat/contextEngineering.test.ts +4 -0
- package/src/services/chat/contextEngineering.ts +27 -7
- package/src/services/chat/helper.ts +7 -31
- package/src/services/chat/index.ts +37 -15
- package/src/services/chat/types.ts +1 -2
- package/src/services/chatGroup/index.ts +66 -2
- package/src/services/config.ts +2 -2
- package/src/services/debug.ts +4 -4
- package/src/services/discover.ts +29 -18
- package/src/services/document/index.ts +44 -0
- package/src/services/electron/desktopNotification.ts +6 -6
- package/src/services/electron/file.ts +6 -6
- package/src/services/electron/localFileService.ts +4 -0
- package/src/services/electron/remoteServer.ts +12 -5
- package/src/services/electron/settings.ts +6 -6
- package/src/services/export/index.ts +10 -2
- package/src/services/file/index.ts +72 -2
- package/src/services/import/index.ts +133 -2
- package/src/services/marketApi.ts +124 -0
- package/src/services/mcp.test.ts +783 -0
- package/src/services/mcp.ts +75 -25
- package/src/services/message/__tests__/metadata-race-condition.test.ts +157 -0
- package/src/services/message/index.ts +237 -2
- package/src/services/message/server.test.ts +44 -0
- package/src/services/models.ts +24 -32
- package/src/services/plugin/index.test.ts +8 -0
- package/src/services/plugin/index.ts +53 -2
- package/src/services/rag.ts +6 -2
- package/src/services/search.ts +2 -2
- package/src/services/session/index.test.ts +8 -0
- package/src/services/session/index.ts +131 -2
- package/src/services/thread/index.test.ts +8 -0
- package/src/services/thread/index.ts +38 -2
- package/src/services/topic/index.test.ts +8 -0
- package/src/services/topic/index.ts +76 -2
- package/src/services/upload.ts +14 -43
- package/src/services/usage.ts +13 -0
- package/src/services/user/index.test.ts +168 -0
- package/src/services/user/index.ts +56 -2
- package/src/services/utils/abortableRequest.test.ts +161 -0
- package/src/services/utils/abortableRequest.ts +67 -0
- package/src/store/agent/slices/chat/selectors/agent.ts +4 -0
- package/src/store/agent/slices/chat/selectors/chatConfig.ts +4 -3
- package/src/store/aiInfra/slices/aiModel/action.test.ts +17 -9
- package/src/store/aiInfra/slices/aiProvider/__tests__/action.test.ts +125 -229
- package/src/store/aiInfra/slices/aiProvider/__tests__/selectors.test.ts +77 -7
- package/src/store/aiInfra/slices/aiProvider/action.ts +139 -41
- package/src/store/aiInfra/slices/aiProvider/selectors.ts +7 -3
- package/src/store/chat/agents/GeneralChatAgent.ts +391 -0
- package/src/store/chat/agents/__tests__/GeneralChatAgent.test.ts +1144 -0
- package/src/store/chat/agents/__tests__/createAgentExecutors/call-llm.test.ts +1235 -0
- package/src/store/chat/agents/__tests__/createAgentExecutors/call-tool.test.ts +2005 -0
- package/src/store/chat/agents/__tests__/createAgentExecutors/finish.test.ts +453 -0
- package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/index.ts +4 -0
- package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockInstructions.ts +126 -0
- package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockMessages.ts +94 -0
- package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockOperations.ts +96 -0
- package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockStore.ts +138 -0
- package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/assertions.ts +188 -0
- package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/index.ts +3 -0
- package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/operationTestUtils.ts +94 -0
- package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/testExecutor.ts +136 -0
- package/src/store/chat/agents/__tests__/createAgentExecutors/request-human-approve.test.ts +560 -0
- package/src/store/chat/agents/__tests__/createAgentExecutors/resolve-aborted-tools.test.ts +712 -0
- package/src/store/chat/agents/createAgentExecutors.ts +770 -0
- package/src/store/chat/helpers.test.ts +0 -99
- package/src/store/chat/helpers.ts +0 -11
- package/src/store/chat/initialState.ts +4 -1
- package/src/store/chat/selectors.ts +1 -0
- package/src/store/chat/slices/aiChat/__tests__/ai-chat.integration.test.ts +667 -0
- package/src/store/chat/slices/aiChat/actions/__tests__/cancel-functionality.test.ts +137 -27
- package/src/store/chat/slices/aiChat/actions/__tests__/conversationControl.test.ts +370 -0
- package/src/store/chat/slices/aiChat/actions/__tests__/conversationLifecycle.test.ts +281 -0
- package/src/store/chat/slices/aiChat/actions/__tests__/fixtures.ts +0 -2
- package/src/store/chat/slices/aiChat/actions/__tests__/helpers.ts +16 -7
- package/src/store/chat/slices/aiChat/actions/__tests__/rag.test.ts +4 -91
- package/src/store/chat/slices/aiChat/actions/__tests__/streamingExecutor.test.ts +809 -0
- package/src/store/chat/slices/aiChat/actions/__tests__/streamingStates.test.ts +67 -0
- package/src/store/chat/slices/aiChat/actions/conversationControl.ts +220 -0
- package/src/store/chat/slices/aiChat/actions/conversationLifecycle.ts +415 -0
- package/src/store/chat/slices/aiChat/actions/generateAIGroupChat.ts +24 -39
- package/src/store/chat/slices/aiChat/actions/index.ts +12 -6
- package/src/store/chat/slices/aiChat/actions/rag.ts +4 -48
- package/src/store/chat/slices/aiChat/actions/streamingExecutor.ts +1075 -0
- package/src/store/chat/slices/aiChat/actions/streamingStates.ts +50 -0
- package/src/store/chat/slices/aiChat/initialState.ts +0 -28
- package/src/store/chat/slices/aiChat/selectors.test.ts +280 -0
- package/src/store/chat/slices/aiChat/selectors.ts +31 -7
- package/src/store/chat/slices/builtinTool/actions/__tests__/localSystem.test.ts +29 -39
- package/src/store/chat/slices/builtinTool/actions/__tests__/search.test.ts +236 -48
- package/src/store/chat/slices/builtinTool/actions/index.ts +4 -1
- package/src/store/chat/slices/builtinTool/actions/interpreter.ts +86 -51
- package/src/store/chat/slices/builtinTool/actions/knowledgeBase.ts +163 -0
- package/src/store/chat/slices/builtinTool/actions/localSystem.ts +119 -202
- package/src/store/chat/slices/builtinTool/actions/search.ts +174 -58
- package/src/store/chat/slices/builtinTool/selectors.test.ts +258 -0
- package/src/store/chat/slices/builtinTool/selectors.ts +25 -4
- package/src/store/chat/slices/message/action.test.ts +482 -63
- package/src/store/chat/slices/message/actions/index.ts +39 -0
- package/src/store/chat/slices/message/actions/internals.ts +103 -0
- package/src/store/chat/slices/message/actions/optimisticUpdate.ts +343 -0
- package/src/store/chat/slices/message/actions/publicApi.ts +284 -0
- package/src/store/chat/slices/message/actions/query.ts +135 -0
- package/src/store/chat/slices/message/actions/runtimeState.ts +108 -0
- package/src/store/chat/slices/message/initialState.ts +8 -0
- package/src/store/chat/slices/message/reducer.test.ts +48 -370
- package/src/store/chat/slices/message/reducer.ts +19 -82
- package/src/store/chat/slices/message/selectors/chat.test.ts +22 -639
- package/src/store/chat/slices/message/selectors/chat.ts +77 -243
- package/src/store/chat/slices/message/selectors/dbMessage.test.ts +51 -0
- package/src/store/chat/slices/message/selectors/dbMessage.ts +147 -0
- package/src/store/chat/slices/message/selectors/displayMessage.test.ts +818 -0
- package/src/store/chat/slices/message/selectors/displayMessage.ts +352 -0
- package/src/store/chat/slices/message/selectors/messageState.ts +46 -12
- package/src/store/chat/slices/operation/__tests__/actions.test.ts +1049 -0
- package/src/store/chat/slices/operation/__tests__/integration.test.ts +342 -0
- package/src/store/chat/slices/operation/__tests__/selectors.test.ts +601 -0
- package/src/store/chat/slices/operation/actions.ts +658 -0
- package/src/store/chat/slices/operation/index.ts +4 -0
- package/src/store/chat/slices/operation/initialState.ts +44 -0
- package/src/store/chat/slices/operation/selectors.ts +388 -0
- package/src/store/chat/slices/operation/types.ts +161 -0
- package/src/store/chat/slices/plugin/action.test.ts +320 -352
- package/src/store/chat/slices/plugin/actions/index.ts +39 -0
- package/src/store/chat/slices/plugin/actions/internals.ts +69 -0
- package/src/store/chat/slices/plugin/actions/optimisticUpdate.ts +258 -0
- package/src/store/chat/slices/plugin/actions/pluginTypes.ts +264 -0
- package/src/store/chat/slices/plugin/actions/publicApi.ts +119 -0
- package/src/store/chat/slices/plugin/actions/workflow.ts +77 -0
- package/src/store/chat/slices/portal/selectors.test.ts +7 -7
- package/src/store/chat/slices/portal/selectors.ts +2 -2
- package/src/store/chat/slices/thread/action.test.ts +38 -33
- package/src/store/chat/slices/thread/action.ts +20 -14
- package/src/store/chat/slices/thread/initialState.ts +1 -1
- package/src/store/chat/slices/thread/selectors/index.ts +12 -8
- package/src/store/chat/slices/thread/selectors/util.ts +1 -1
- package/src/store/chat/slices/topic/action.test.ts +1 -1
- package/src/store/chat/slices/topic/action.ts +4 -5
- package/src/store/chat/slices/topic/reducer.ts +12 -5
- package/src/store/chat/slices/translate/action.test.ts +26 -32
- package/src/store/chat/slices/translate/action.ts +57 -44
- package/src/store/chat/store.ts +6 -3
- package/src/store/discover/slices/assistant/action.ts +20 -7
- package/src/store/file/initialState.ts +6 -1
- package/src/store/file/slices/chat/action.ts +3 -6
- package/src/store/file/slices/document/action.ts +359 -0
- package/src/store/file/slices/document/index.ts +3 -0
- package/src/store/file/slices/document/initialState.ts +22 -0
- package/src/store/file/slices/document/selectors.ts +25 -0
- package/src/store/file/slices/fileManager/action.test.ts +16 -9
- package/src/store/file/slices/fileManager/action.ts +12 -13
- package/src/store/file/store.ts +3 -0
- package/src/store/global/action.test.ts +3 -3
- package/src/store/global/actions/workspacePane.ts +2 -1
- package/src/store/global/initialState.ts +16 -3
- package/src/store/global/selectors/systemStatus.test.ts +0 -98
- package/src/store/global/selectors/systemStatus.ts +9 -30
- package/src/store/global/store.ts +1 -7
- package/src/store/serverConfig/selectors.test.ts +2 -2
- package/src/store/serverConfig/store.test.ts +0 -1
- package/src/store/session/slices/session/action.ts +23 -0
- package/src/store/session/slices/session/initialState.ts +6 -0
- package/src/store/session/slices/sessionGroup/action.test.ts +5 -5
- package/src/store/tool/slices/mcpStore/action.test.ts +236 -3
- package/src/store/tool/slices/mcpStore/action.ts +320 -54
- package/src/store/tool/slices/oldStore/initialState.ts +1 -2
- package/src/store/urlHydration/action.ts +56 -0
- package/src/store/urlHydration/index.ts +1 -0
- package/src/store/urlHydration/initialState.ts +12 -0
- package/src/store/urlHydration/store.ts +28 -0
- package/src/store/user/initialState.ts +1 -7
- package/src/store/user/selectors.ts +2 -5
- package/src/store/user/slices/auth/action.test.ts +213 -16
- package/src/store/user/slices/auth/action.ts +86 -1
- package/src/store/user/slices/auth/initialState.ts +13 -2
- package/src/store/user/slices/auth/selectors.ts +6 -2
- package/src/store/user/slices/common/action.test.ts +1 -1
- package/src/store/user/slices/common/action.ts +14 -5
- package/src/store/user/slices/preference/action.ts +8 -1
- package/src/store/user/slices/preference/selectors/index.ts +2 -0
- package/src/store/user/slices/preference/selectors/labPrefer.ts +10 -0
- package/src/store/user/slices/preference/selectors/preference.ts +32 -0
- package/src/store/user/slices/settings/action.ts +27 -0
- package/src/store/user/slices/settings/selectors/__snapshots__/settings.test.ts.snap +0 -7
- package/src/store/user/slices/settings/selectors/general.ts +8 -0
- package/src/store/user/slices/settings/selectors/index.ts +2 -0
- package/src/store/user/slices/settings/selectors/keyVaults.ts +16 -0
- package/src/store/user/slices/settings/selectors/settings.test.ts +0 -37
- package/src/store/user/slices/settings/selectors/settings.ts +0 -5
- package/src/store/user/slices/settings/selectors/toolIntervention.ts +17 -0
- package/src/store/user/store.ts +0 -3
- package/src/tools/code-interpreter/Render/index.tsx +1 -1
- package/src/tools/executionRuntimes.ts +6 -0
- package/src/tools/identifiers.ts +13 -0
- package/src/tools/index.ts +7 -0
- package/src/tools/interventions.ts +30 -0
- package/src/tools/knowledge-base/ExecutionRuntime/index.ts +96 -0
- package/src/tools/knowledge-base/Render/ReadKnowledge/FileCard.tsx +135 -0
- package/src/tools/knowledge-base/Render/ReadKnowledge/index.tsx +27 -0
- package/src/tools/knowledge-base/Render/SearchKnowledgeBase/Item/index.tsx +54 -0
- package/src/tools/knowledge-base/Render/SearchKnowledgeBase/Item/style.ts +51 -0
- package/src/tools/knowledge-base/Render/SearchKnowledgeBase/index.tsx +23 -0
- package/src/tools/knowledge-base/Render/index.ts +7 -0
- package/src/tools/knowledge-base/index.ts +64 -0
- package/src/tools/knowledge-base/systemRole.ts +102 -0
- package/src/tools/knowledge-base/type.ts +25 -0
- package/src/tools/local-system/ExecutionRuntime/index.ts +407 -0
- package/src/tools/local-system/Intervention/EditLocalFile/index.tsx +89 -0
- package/src/tools/local-system/Intervention/MoveLocalFiles/MoveFileItem.tsx +56 -0
- package/src/tools/local-system/Intervention/MoveLocalFiles/index.tsx +26 -0
- package/src/tools/local-system/Intervention/RunCommand/index.tsx +54 -0
- package/src/tools/local-system/Intervention/WriteFile/index.tsx +72 -0
- package/src/tools/local-system/Intervention/index.ts +15 -0
- package/src/tools/local-system/Placeholder/ListFiles.tsx +3 -5
- package/src/tools/local-system/Placeholder/SearchFiles.tsx +2 -5
- package/src/tools/local-system/Render/EditLocalFile/index.tsx +67 -0
- package/src/tools/local-system/Render/ListFiles/index.tsx +16 -21
- package/src/tools/local-system/Render/MoveLocalFiles/MoveFileItem.tsx +56 -0
- package/src/tools/local-system/Render/MoveLocalFiles/index.tsx +26 -0
- package/src/tools/local-system/Render/ReadLocalFile/ReadFileView.tsx +55 -79
- package/src/tools/local-system/Render/RenameLocalFile/index.tsx +15 -20
- package/src/tools/local-system/Render/RunCommand/index.tsx +103 -27
- package/src/tools/local-system/Render/SearchFiles/SearchQuery/index.tsx +0 -1
- package/src/tools/local-system/Render/SearchFiles/index.tsx +15 -20
- package/src/tools/local-system/Render/WriteFile/index.tsx +2 -8
- package/src/tools/local-system/Render/index.ts +23 -0
- package/src/tools/local-system/index.ts +186 -4
- package/src/tools/local-system/systemRole.ts +62 -8
- package/src/tools/local-system/type.ts +4 -3
- package/src/tools/placeholders.ts +39 -8
- package/src/tools/renders.ts +39 -6
- package/src/tools/web-browsing/ExecutionRuntime/index.ts +5 -2
- package/src/tools/web-browsing/Placeholder/CrawlMultiPages.tsx +30 -0
- package/src/tools/web-browsing/Placeholder/CrawlSinglePage.tsx +12 -0
- package/src/tools/web-browsing/Placeholder/Search.tsx +4 -4
- package/src/tools/web-browsing/Portal/Search/Footer.tsx +11 -9
- package/src/tools/web-browsing/Render/CrawlMultiPages.tsx +15 -0
- package/src/tools/web-browsing/Render/CrawlSinglePage.tsx +15 -0
- package/src/tools/web-browsing/Render/Search/ConfigForm/Form.tsx +1 -1
- package/src/tools/web-browsing/Render/Search/index.tsx +39 -44
- package/src/tools/web-browsing/Render/index.ts +13 -0
- package/src/utils/electron/desktopRemoteRPCFetch.ts +87 -0
- package/src/utils/server/parseModels.ts +212 -0
- package/src/utils/server/routeVariants.test.ts +340 -0
- package/src/utils/server/routeVariants.ts +10 -10
- package/vitest.config.mts +2 -0
- package/.github/workflows/desktop-pr-build.yml +0 -358
- package/.github/workflows/docker.yml +0 -186
- package/Dockerfile.lite +0 -272
- package/packages/const/src/models.ts +0 -85
- package/packages/context-engine/ARCHITECTURE.md +0 -425
- package/packages/database/src/models/__tests__/message.grouping.test.ts +0 -812
- package/packages/database/src/models/__tests__/message.test.ts +0 -2704
- package/packages/database/src/schemas/document.ts +0 -106
- package/packages/database/src/utils/__tests__/groupMessages.test.ts +0 -1132
- package/packages/database/src/utils/groupMessages.ts +0 -361
- package/packages/model-runtime/src/utils/imageToBase64.test.ts +0 -91
- package/packages/model-runtime/src/utils/imageToBase64.ts +0 -62
- package/packages/utils/src/_deprecated/__snapshots__/parseModels.test.ts.snap +0 -104
- package/packages/utils/src/_deprecated/parseModels.test.ts +0 -287
- package/packages/utils/src/_deprecated/parseModels.ts +0 -165
- package/packages/utils/src/electron/desktopRemoteRPCFetch.ts +0 -87
- package/packages/utils/src/fetch/__tests__/fetchSSE.test.ts +0 -579
- package/packages/utils/src/fetch/__tests__/parseError.test.ts +0 -88
- package/packages/utils/src/fetch/fetchSSE.ts +0 -477
- package/packages/utils/src/fetch/headers.ts +0 -27
- package/packages/utils/src/fetch/parseError.ts +0 -24
- package/packages/utils/src/fetch/request.ts +0 -28
- package/packages/utils/src/parseModels.ts +0 -213
- package/packages/utils/src/tokenizer/client.ts +0 -35
- package/packages/utils/src/tokenizer/estimated.ts +0 -4
- package/packages/utils/src/tokenizer/server.ts +0 -11
- package/packages/utils/src/tokenizer/tokenizer.worker.ts +0 -12
- package/src/app/(backend)/api/auth/[...nextauth]/route.ts +0 -3
- package/src/app/(backend)/webapi/chat/azureai/route.test.ts +0 -25
- package/src/app/(backend)/webapi/chat/azureai/route.ts +0 -6
- package/src/app/(backend)/webapi/tokenizer/index.test.ts +0 -32
- package/src/app/(backend)/webapi/tokenizer/route.ts +0 -8
- package/src/app/[variants]/(main)/(mobile)/me/(home)/loading.tsx +0 -38
- package/src/app/[variants]/(main)/(mobile)/me/(home)/page.tsx +0 -40
- package/src/app/[variants]/(main)/(mobile)/me/profile/loading.tsx +0 -5
- package/src/app/[variants]/(main)/(mobile)/me/profile/page.tsx +0 -30
- package/src/app/[variants]/(main)/(mobile)/me/settings/loading.tsx +0 -5
- package/src/app/[variants]/(main)/(mobile)/me/settings/page.tsx +0 -30
- package/src/app/[variants]/(main)/_layout/Desktop/DesktopLayoutContainer.tsx +0 -32
- package/src/app/[variants]/(main)/_layout/Desktop/SideBar/BottomActions.tsx +0 -46
- package/src/app/[variants]/(main)/_layout/Desktop/SideBar/PinList/index.tsx +0 -119
- package/src/app/[variants]/(main)/_layout/Desktop/SideBar/TopActions.test.tsx +0 -141
- package/src/app/[variants]/(main)/_layout/Desktop/SideBar/TopActions.tsx +0 -109
- package/src/app/[variants]/(main)/_layout/Desktop/index.tsx +0 -68
- package/src/app/[variants]/(main)/_layout/Mobile/NavBar.tsx +0 -88
- package/src/app/[variants]/(main)/_layout/Mobile/index.tsx +0 -43
- package/src/app/[variants]/(main)/changelog/layout.tsx +0 -10
- package/src/app/[variants]/(main)/changelog/modal/page.tsx +0 -23
- package/src/app/[variants]/(main)/changelog/page.tsx +0 -78
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatHydration/index.tsx +0 -42
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/ClassicChat.tsx +0 -81
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/GroupChat.tsx +0 -126
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/MessageFromUrl.tsx +0 -32
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/index.tsx +0 -17
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/V1Mobile/index.tsx +0 -89
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/V1Mobile/useSend.ts +0 -104
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/useSend.ts +0 -321
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/ChatItem/Thread.tsx +0 -62
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/ChatItem/index.tsx +0 -91
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/Content.tsx +0 -43
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/AgentWelcome/OpeningQuestions.tsx +0 -75
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/GroupWelcome/GroupUsageSuggest.tsx +0 -164
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/index.tsx +0 -28
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatMinimap/index.tsx +0 -385
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ThreadHydration.tsx +0 -45
- package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/Topic/TopicListContent/TopicItem/TopicContent.tsx +0 -241
- package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/Topic/TopicListContent/TopicItem/index.tsx +0 -97
- package/src/app/[variants]/(main)/chat/(workspace)/layout.ts +0 -11
- package/src/app/[variants]/(main)/chat/(workspace)/page.tsx +0 -53
- package/src/app/[variants]/(main)/chat/@session/_layout/Mobile/SessionHeader.tsx +0 -44
- package/src/app/[variants]/(main)/chat/@session/default.tsx +0 -31
- package/src/app/[variants]/(main)/chat/@session/features/SessionHydration.tsx +0 -45
- package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/Inbox/index.tsx +0 -63
- package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/List/Item/Actions.tsx +0 -204
- package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/List/Item/index.tsx +0 -158
- package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/List/index.tsx +0 -100
- package/src/app/[variants]/(main)/chat/error.tsx +0 -3
- package/src/app/[variants]/(main)/chat/layout.ts +0 -11
- package/src/app/[variants]/(main)/chat/not-found.tsx +0 -1
- package/src/app/[variants]/(main)/chat/settings/error.tsx +0 -3
- package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/SubmitAgentModal.tsx +0 -98
- package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/index.tsx +0 -35
- package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/style.ts +0 -47
- package/src/app/[variants]/(main)/chat/settings/layout.tsx +0 -21
- package/src/app/[variants]/(main)/chat/settings/loading.tsx +0 -3
- package/src/app/[variants]/(main)/chat/settings/not-found.tsx +0 -1
- package/src/app/[variants]/(main)/chat/settings/page.tsx +0 -62
- package/src/app/[variants]/(main)/discover/(detail)/_layout/Desktop.tsx +0 -30
- package/src/app/[variants]/(main)/discover/(detail)/_layout/DetailLayout.tsx +0 -22
- package/src/app/[variants]/(main)/discover/(detail)/assistant/AssistantDetailPage.tsx +0 -47
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/Client.tsx +0 -40
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Capabilities/Block.tsx +0 -27
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Capabilities/Plugins.tsx +0 -32
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Nav.tsx +0 -122
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Overview/TagList.tsx +0 -47
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Overview/index.tsx +0 -96
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Related/index.tsx +0 -31
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/SystemRole/TagList.tsx +0 -47
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/SystemRole/index.tsx +0 -54
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/index.tsx +0 -49
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Header.tsx +0 -177
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/ActionButton/AddAgent.tsx +0 -87
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/ActionButton/index.tsx +0 -31
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/Related/index.tsx +0 -43
- package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/TocList/index.tsx +0 -77
- package/src/app/[variants]/(main)/discover/(detail)/mcp/McpDetailPage.tsx +0 -51
- package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/Client.tsx +0 -43
- package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Details/Related/index.tsx +0 -32
- package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Details/Versions/index.tsx +0 -76
- package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Details/index.tsx +0 -59
- package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Sidebar/ActionButton/index.tsx +0 -83
- package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Sidebar/Related/index.tsx +0 -44
- package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Sidebar/ServerConfig.tsx +0 -36
- package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Sidebar/TocList/index.tsx +0 -98
- package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/loading.tsx +0 -1
- package/src/app/[variants]/(main)/discover/(detail)/model/ModelDetailPage.tsx +0 -44
- package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/Client.tsx +0 -40
- package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/Overview/index.tsx +0 -22
- package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/Parameter/ParameterItem.tsx +0 -71
- package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/Related/index.tsx +0 -31
- package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/index.tsx +0 -47
- package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Header.tsx +0 -112
- package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/ActionButton/ChatWithModel.tsx +0 -92
- package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/ActionButton/index.tsx +0 -32
- package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/Related/index.tsx +0 -43
- package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/RelatedProviders/index.tsx +0 -34
- package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/loading.tsx +0 -1
- package/src/app/[variants]/(main)/discover/(detail)/provider/ProviderDetailPage.tsx +0 -44
- package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/Client.tsx +0 -40
- package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Details/Related/index.tsx +0 -22
- package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Details/index.tsx +0 -47
- package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/ActionButton/ProviderConfig.tsx +0 -97
- package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/ActionButton/index.tsx +0 -45
- package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/Related/index.tsx +0 -34
- package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/RelatedModels/index.tsx +0 -43
- package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/loading.tsx +0 -1
- package/src/app/[variants]/(main)/discover/(list)/(home)/HomePage.tsx +0 -45
- package/src/app/[variants]/(main)/discover/(list)/_layout/ListLayout.tsx +0 -22
- package/src/app/[variants]/(main)/discover/(list)/assistant/AssistantLayout.tsx +0 -21
- package/src/app/[variants]/(main)/discover/(list)/assistant/AssistantPage.tsx +0 -44
- package/src/app/[variants]/(main)/discover/(list)/mcp/Client.tsx +0 -44
- package/src/app/[variants]/(main)/discover/(list)/mcp/McpLayout.tsx +0 -21
- package/src/app/[variants]/(main)/discover/(list)/mcp/McpPage.tsx +0 -44
- package/src/app/[variants]/(main)/discover/(list)/model/Client.tsx +0 -44
- package/src/app/[variants]/(main)/discover/(list)/model/ModelLayout.tsx +0 -21
- package/src/app/[variants]/(main)/discover/(list)/model/ModelPage.tsx +0 -44
- package/src/app/[variants]/(main)/discover/(list)/provider/Client.tsx +0 -43
- package/src/app/[variants]/(main)/discover/(list)/provider/ProviderPage.tsx +0 -43
- package/src/app/[variants]/(main)/discover/DiscoverRouter.tsx +0 -170
- package/src/app/[variants]/(main)/discover/[[...path]]/page.tsx +0 -12
- package/src/app/[variants]/(main)/discover/_layout/DiscoverLayout.tsx +0 -22
- package/src/app/[variants]/(main)/discover/error.tsx +0 -3
- package/src/app/[variants]/(main)/discover/not-found.tsx +0 -1
- package/src/app/[variants]/(main)/error.tsx +0 -3
- package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ModelSelect.tsx +0 -161
- package/src/app/[variants]/(main)/image/layout.tsx +0 -19
- package/src/app/[variants]/(main)/image/page.tsx +0 -45
- package/src/app/[variants]/(main)/knowledge/KnowledgeRouter.tsx +0 -73
- package/src/app/[variants]/(main)/knowledge/[[...path]]/page.tsx +0 -12
- package/src/app/[variants]/(main)/knowledge/components/modal/page.tsx +0 -13
- package/src/app/[variants]/(main)/knowledge/layout.tsx +0 -12
- package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/MenuItems.tsx +0 -35
- package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/menu/FileMenu.tsx +0 -75
- package/src/app/[variants]/(main)/labs/page.tsx +0 -86
- package/src/app/[variants]/(main)/layout.tsx +0 -10
- package/src/app/[variants]/(main)/not-found.tsx +0 -1
- package/src/app/[variants]/(main)/profile/(home)/[[...slugs]]/page.tsx +0 -40
- package/src/app/[variants]/(main)/profile/apikey/page.tsx +0 -32
- package/src/app/[variants]/(main)/profile/error.tsx +0 -3
- package/src/app/[variants]/(main)/profile/layout.tsx +0 -11
- package/src/app/[variants]/(main)/profile/loading.tsx +0 -3
- package/src/app/[variants]/(main)/profile/not-found.tsx +0 -1
- package/src/app/[variants]/(main)/profile/security/page.tsx +0 -28
- package/src/app/[variants]/(main)/profile/stats/page.tsx +0 -23
- package/src/app/[variants]/(main)/settings/error.tsx +0 -3
- package/src/app/[variants]/(main)/settings/loading.tsx +0 -3
- package/src/app/[variants]/(main)/settings/not-found.tsx +0 -1
- package/src/app/[variants]/(main)/settings/page.tsx +0 -42
- package/src/app/[variants]/(main)/settings/storage/IndexedDBStorage.tsx +0 -55
- package/src/app/[variants]/@modal/(.)changelog/modal/features/Cover.tsx +0 -48
- package/src/app/[variants]/@modal/(.)changelog/modal/features/Hero.tsx +0 -29
- package/src/app/[variants]/@modal/(.)changelog/modal/features/Post.tsx +0 -57
- package/src/app/[variants]/@modal/(.)changelog/modal/features/PublishedTime.tsx +0 -50
- package/src/app/[variants]/@modal/(.)changelog/modal/features/ReadDetail.tsx +0 -72
- package/src/app/[variants]/@modal/(.)changelog/modal/features/VersionTag.tsx +0 -26
- package/src/app/[variants]/@modal/(.)changelog/modal/layout.tsx +0 -41
- package/src/app/[variants]/@modal/(.)changelog/modal/loading.tsx +0 -10
- package/src/app/[variants]/@modal/(.)changelog/modal/page.tsx +0 -38
- package/src/app/[variants]/@modal/_layout/ModalLayout.tsx +0 -63
- package/src/app/[variants]/@modal/_layout/SettingModalLayout.tsx +0 -71
- package/src/app/[variants]/@modal/default.tsx +0 -3
- package/src/app/[variants]/@modal/error.tsx +0 -3
- package/src/app/[variants]/@modal/layout.tsx +0 -7
- package/src/app/[variants]/@modal/loading.tsx +0 -5
- package/src/app/[variants]/oauth/consent/[uid]/Consent.tsx +0 -189
- package/src/features/ChatInput/ActionBar/Upload/ClientMode.tsx +0 -62
- package/src/features/Conversation/Error/AccessCodeForm.tsx +0 -63
- package/src/features/Conversation/Error/ChatInvalidApiKey.tsx +0 -39
- package/src/features/Conversation/Error/ClerkLogin/index.tsx +0 -47
- package/src/features/Conversation/Error/InvalidAccessCode.tsx +0 -79
- package/src/features/Conversation/Error/OAuthForm.tsx +0 -97
- package/src/features/Conversation/Error/index.tsx +0 -149
- package/src/features/Conversation/MarkdownElements/LobeThinking/Render.tsx +0 -30
- package/src/features/Conversation/MarkdownElements/Thinking/Render.tsx +0 -42
- package/src/features/Conversation/MarkdownElements/remarkPlugins/__snapshots__/createRemarkSelfClosingTagPlugin.test.ts.snap +0 -260
- package/src/features/Conversation/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.test.ts +0 -204
- package/src/features/Conversation/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.ts +0 -133
- package/src/features/Conversation/MarkdownElements/remarkPlugins/getNodeContent.test.ts +0 -503
- package/src/features/Conversation/Messages/Assistant/Actions/index.tsx +0 -202
- package/src/features/Conversation/Messages/Assistant/Extra/index.test.tsx +0 -91
- package/src/features/Conversation/Messages/Assistant/Extra/index.tsx +0 -49
- package/src/features/Conversation/Messages/Assistant/MessageContent.tsx +0 -91
- package/src/features/Conversation/Messages/Assistant/Reasoning/index.tsx +0 -29
- package/src/features/Conversation/Messages/Assistant/Tool/Inspector/PluginResult.tsx +0 -39
- package/src/features/Conversation/Messages/Assistant/Tool/Inspector/PluginState.tsx +0 -23
- package/src/features/Conversation/Messages/Assistant/Tool/Inspector/ToolTitle.tsx +0 -94
- package/src/features/Conversation/Messages/Assistant/Tool/Inspector/index.tsx +0 -147
- package/src/features/Conversation/Messages/Assistant/Tool/Render/CustomRender.tsx +0 -144
- package/src/features/Conversation/Messages/Assistant/Tool/Render/LoadingPlaceholder/index.tsx +0 -29
- package/src/features/Conversation/Messages/Assistant/Tool/Render/PluginSettings.tsx +0 -66
- package/src/features/Conversation/Messages/Assistant/Tool/Render/index.tsx +0 -76
- package/src/features/Conversation/Messages/Assistant/Tool/index.tsx +0 -76
- package/src/features/Conversation/Messages/Assistant/index.tsx +0 -282
- package/src/features/Conversation/Messages/Default.tsx +0 -27
- package/src/features/Conversation/Messages/Supervisor/index.tsx +0 -185
- package/src/features/Conversation/Messages/User/Actions.tsx +0 -158
- package/src/features/Conversation/Messages/User/Extra.tsx +0 -39
- package/src/features/Conversation/Messages/User/index.tsx +0 -188
- package/src/features/Conversation/Messages/index.tsx +0 -164
- package/src/features/Conversation/components/AutoScroll.tsx +0 -27
- package/src/features/Conversation/components/Extras/TTS/InitPlayer.tsx +0 -93
- package/src/features/Conversation/components/Extras/Usage/UsageDetail/index.tsx +0 -224
- package/src/features/Conversation/components/Extras/Usage/UsageDetail/tokens.ts +0 -132
- package/src/features/Conversation/components/Extras/Usage/index.tsx +0 -45
- package/src/features/Conversation/components/ShareMessageModal/ShareImage/Preview.tsx +0 -90
- package/src/features/Conversation/components/ShareMessageModal/index.tsx +0 -96
- package/src/features/Conversation/components/SkeletonList.tsx +0 -58
- package/src/features/Conversation/components/VirtualizedList/VirtuosoContext.ts +0 -92
- package/src/features/Conversation/components/VirtualizedList/index.tsx +0 -128
- package/src/features/Conversation/components/WideScreenContainer/index.tsx +0 -46
- package/src/features/Conversation/hooks/useChatListActionsBar.tsx +0 -119
- package/src/features/Conversation/hooks/useDoubleClickEdit.ts +0 -42
- package/src/features/FileManager/FileList/FileListItem/index.tsx +0 -231
- package/src/features/FileManager/FileList/MasonryFileItem/index.tsx +0 -582
- package/src/features/FileManager/FileList/index.tsx +0 -266
- package/src/features/FileManager/Header/FilesSearchBar.tsx +0 -45
- package/src/features/FileManager/Header/TogglePanelButton.tsx +0 -42
- package/src/features/FileManager/Header/index.tsx +0 -27
- package/src/features/FileManager/index.tsx +0 -36
- package/src/hooks/_header.ts +0 -23
- package/src/server/globalConfig/_deprecated.test.ts +0 -92
- package/src/server/globalConfig/_deprecated.ts +0 -41
- package/src/services/__tests__/share.test.ts +0 -61
- package/src/services/aiModel/server.test.ts +0 -122
- package/src/services/aiModel/server.ts +0 -51
- package/src/services/aiModel/type.ts +0 -32
- package/src/services/aiProvider/server.ts +0 -43
- package/src/services/aiProvider/type.ts +0 -27
- package/src/services/chatGroup/server.ts +0 -67
- package/src/services/chatGroup/type.ts +0 -22
- package/src/services/export/server.ts +0 -9
- package/src/services/export/type.ts +0 -5
- package/src/services/file/ClientS3/index.test.ts +0 -115
- package/src/services/file/ClientS3/index.ts +0 -59
- package/src/services/file/server.ts +0 -53
- package/src/services/file/type.ts +0 -13
- package/src/services/import/server.ts +0 -133
- package/src/services/import/type.ts +0 -17
- package/src/services/message/__tests__/server.test.ts +0 -44
- package/src/services/message/server.ts +0 -155
- package/src/services/message/type.ts +0 -59
- package/src/services/plugin/server.ts +0 -42
- package/src/services/plugin/type.ts +0 -23
- package/src/services/session/server.test.ts +0 -260
- package/src/services/session/server.ts +0 -125
- package/src/services/session/type.ts +0 -82
- package/src/services/thread/server.ts +0 -32
- package/src/services/thread/type.ts +0 -21
- package/src/services/topic/server.ts +0 -57
- package/src/services/topic/type.ts +0 -40
- package/src/services/user/server.test.ts +0 -149
- package/src/services/user/server.ts +0 -47
- package/src/services/user/type.ts +0 -21
- package/src/store/chat/slices/aiChat/actions/__tests__/generateAIChat.test.ts +0 -968
- package/src/store/chat/slices/aiChat/actions/__tests__/generateAIChatV2.test.ts +0 -743
- package/src/store/chat/slices/aiChat/actions/generateAIChat.ts +0 -712
- package/src/store/chat/slices/aiChat/actions/generateAIChatV2.ts +0 -591
- package/src/store/chat/slices/message/action.ts +0 -641
- package/src/store/chat/slices/plugin/action.ts +0 -505
- package/src/store/global/actions/clientDb.ts +0 -67
- package/src/store/middleware/createHyperStorage/index.test.ts +0 -341
- package/src/store/middleware/createHyperStorage/index.ts +0 -126
- package/src/store/middleware/createHyperStorage/indexedDB.test.ts +0 -64
- package/src/store/middleware/createHyperStorage/indexedDB.ts +0 -26
- package/src/store/middleware/createHyperStorage/keyMapper.ts +0 -57
- package/src/store/middleware/createHyperStorage/localStorage.ts +0 -18
- package/src/store/middleware/createHyperStorage/type.ts +0 -25
- package/src/store/middleware/createHyperStorage/urlStorage.test.ts +0 -84
- package/src/store/middleware/createHyperStorage/urlStorage.ts +0 -81
- package/src/store/user/slices/modelList/__snapshots__/action.test.ts.snap +0 -12
- package/src/store/user/slices/modelList/action.test.ts +0 -359
- package/src/store/user/slices/modelList/action.ts +0 -223
- package/src/store/user/slices/modelList/initialState.ts +0 -15
- package/src/store/user/slices/modelList/reducers/customModelCard.test.ts +0 -204
- package/src/store/user/slices/modelList/reducers/customModelCard.ts +0 -64
- package/src/store/user/slices/modelList/selectors/index.ts +0 -3
- package/src/store/user/slices/modelList/selectors/keyVaults.test.ts +0 -201
- package/src/store/user/slices/modelList/selectors/keyVaults.ts +0 -50
- package/src/store/user/slices/modelList/selectors/modelConfig.test.ts +0 -219
- package/src/store/user/slices/modelList/selectors/modelConfig.ts +0 -95
- package/src/store/user/slices/modelList/selectors/modelProvider.test.ts +0 -138
- package/src/store/user/slices/modelList/selectors/modelProvider.ts +0 -170
- package/src/store/user/slices/preference/selectors.ts +0 -34
- package/src/tools/local-system/Placeholder/index.tsx +0 -25
- package/src/tools/local-system/Render/index.tsx +0 -40
- package/src/tools/web-browsing/Placeholder/PageContent.tsx +0 -27
- package/src/tools/web-browsing/Placeholder/index.tsx +0 -40
- package/src/tools/web-browsing/Render/index.tsx +0 -57
- /package/packages/{utils/src/fetch → fetch-sse/src}/index.ts +0 -0
- /package/src/app/[variants]/{@modal/(.)changelog/modal → (main)/changelog}/features/Pagination.tsx +0 -0
- /package/src/app/[variants]/{@modal/(.)changelog/modal → (main)/changelog}/features/UpdateChangelogStatus.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/default.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Desktop/useSendMenuItems.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Mobile/MentionedUsers/MentionedUserItem.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Mobile/MentionedUsers/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Mobile/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/ActionBar.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/Files/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/InputArea/Container.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/InputArea/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/Send.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/ChatItem/OrchestratorThinking.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/ChatItem/ThreadItem.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/AgentWelcome/AddButton.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/AgentWelcome/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/GroupWelcome/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/GroupWelcome/useTemplateMatching.ts +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ZenModeToast/Toast.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ZenModeToast/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/AgentSettings/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/AgentTeamSettings/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/ChangelogModal.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/SettingButton.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/ShareButton/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/TelemetryNotification.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/HeaderAction.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Main.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/HistoryLimitTags.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/KnowledgeTag.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/MemberCountTag.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/SearchTags.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/Portal.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/TopicPanel.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/ChatHeader/ChatHeaderTitle.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/ChatHeader/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/TopicModal.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/type.ts +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/_layout/Desktop.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/_layout/Mobile.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/default.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/error.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/features/Body.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/loading.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/_layout/Desktop.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/_layout/Mobile.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/default.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/AgentConfig/SystemRole.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/AgentConfig/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/ConfigLayout.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/ConfigSwitcher.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/GroupMember.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/GroupMemberItem.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/GroupRole.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/style.ts +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/SkeletonList.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/Header.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ByTimeMode/GroupItem.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ByTimeMode/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/FlatMode/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/SearchResult/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ThreadItem/Content.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ThreadItem/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ThreadList/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/TopicItem/DefaultContent.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicSearchBar/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/CollapseGroup/Actions.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/CollapseGroup/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/DefaultMode.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/List/AddButton.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/ListItem/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/ConfigGroupModal/GroupItem.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/ConfigGroupModal/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/CreateGroupModal.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/RenameGroupModal.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/SearchMode.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionSearchBar.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session → session}/features/SkeletonList.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Desktop/PanelBody.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Desktop/SessionHeader.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Desktop/index.tsx +0 -0
- /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Mobile/index.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/DetailProvider.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Details/Capabilities/Knowledge.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Details/Capabilities/KnowledgeItem.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Details/Capabilities/PluginItem.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Details/Capabilities/index.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Sidebar/Related/Item.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Sidebar/Summary/index.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Sidebar/index.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/loading.tsx → loading.tsx} +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/mcp/{[slug]/features → features}/Sidebar/ConnectionTypeAlert.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/mcp/{[slug]/features → features}/Sidebar/Related/Item.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/mcp/{[slug]/features → features}/Sidebar/index.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/DetailProvider.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Details/Nav.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Details/Overview/ProviderList/index.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Details/Parameter/index.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Sidebar/Related/Item.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Sidebar/RelatedProviders/Item.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Sidebar/index.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/DetailProvider.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Guide/index.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Nav.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Overview/ModelList/index.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Overview/index.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Header.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Sidebar/Related/Item.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Sidebar/RelatedModels/Item.tsx +0 -0
- /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Sidebar/index.tsx +0 -0
- /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/RegisterHotkeys.tsx +0 -0
- /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/SideBar/Avatar.test.tsx +0 -0
- /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/SideBar/Avatar.tsx +0 -0
- /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/SideBar/index.tsx +0 -0
- /package/src/app/[variants]/(main)/settings/provider/detail/newapi/{page.tsx → index.tsx} +0 -0
- /package/src/app/[variants]/{(main)/chat/loading.tsx → loading.tsx} +0 -0
- /package/src/{app/[variants]/(main)/settings/provider/features/ProviderConfig → components/Skeleton}/SkeletonInput.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Error/ErrorJsonViewer.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Error/OllamaBizError/InvalidOllamaModel.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Error/OllamaBizError/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Error/style.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/Render/Icon.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/Render/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/rehypePlugin.test.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/rehypePlugin.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeThinking/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LocalFile/Render/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/LocalFile/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/Mention/Render.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/Mention/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/Thinking/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/createRemarkCustomTagPlugin.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/createRemarkCustomTagWithAttributesPlugin.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/getNodeContent.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/type.ts +0 -0
- /package/src/features/{Conversation → ChatList}/MarkdownElements/utils.ts +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Assistant/Actions/Error.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Assistant/FileChunks/Item/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Assistant/FileChunks/Item/style.ts +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Assistant/FileChunks/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Assistant/IntentUnderstanding.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Assistant/SearchGrounding.tsx +0 -0
- /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Inspector/Settings.tsx +0 -0
- /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Render/Arguments/ObjectEntity.tsx +0 -0
- /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Render/Arguments/ValueCell.tsx +0 -0
- /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Render/ErrorResponse.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/Supervisor/TodoList.tsx +0 -0
- /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Inspector/BuiltinPluginTitle.tsx +0 -0
- /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Inspector/Debug.tsx +0 -0
- /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Render/Arguments/index.tsx +0 -0
- /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Render/KeyValueEditor.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/BelowMessage.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/FileListViewer/Item.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/FileListViewer/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/ImageFileListViewer.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/MarkdownRender/ContentPreview.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/MarkdownRender/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/MessageContent.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/Messages/User/VideoFileListViewer.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/BackBottom/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/BackBottom/style.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/PdfPreview.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/style.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/template.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/usePdfGeneration.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/ExtraContainer.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/TTS/FilePlayer.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/TTS/Player.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/TTS/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/Translate.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/ModelCard.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/TokenProgress.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/pricing.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/tokens.test.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/History/HistoryDivider.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/History/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/OTPInput.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/style.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/type.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/Preview.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/template.test.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/template.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/type.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/style.ts +0 -0
- /package/src/features/{Conversation → ChatList}/components/ThreadDivider/index.tsx +0 -0
- /package/src/features/{Conversation → ChatList}/context/InPortalThreadContext.ts +0 -0
- /package/src/features/{Conversation → ChatList}/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/types/index.ts +0 -0
- /package/src/features/{Conversation → ChatList}/utils/markdown.test.ts +0 -0
- /package/src/features/{Conversation → ChatList}/utils/markdown.ts +0 -0
- /package/src/features/{FileManager/FileList/ToolBar → KnowledgeBaseModal/AssignKnowledgeBase}/ViewSwitcher.tsx +0 -0
- /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/ChunkList/ChunkItem.tsx +0 -0
- /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/ChunkList/index.tsx +0 -0
- /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/Content.tsx +0 -0
- /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/Loading/index.tsx +0 -0
- /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/SimilaritySearchList/Item.tsx +0 -0
- /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/SimilaritySearchList/index.tsx +0 -0
- /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/index.tsx +0 -0
- /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/EmptyStatus.tsx +0 -0
- /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/FileListItem/ChunkTag.tsx +0 -0
- /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/FileListItem/DropdownMenu.tsx +0 -0
- /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/FileSkeleton.tsx +0 -0
- /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/MasonryFileItem/MasonryItemWrapper.tsx +0 -0
- /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/MasonrySkeleton.tsx +0 -0
- /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/ToolBar/Config.tsx +0 -0
- /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/ToolBar/MultiSelectActions.tsx +0 -0
- /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/ToolBar/index.tsx +0 -0
- /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/useCheckTaskStatus.ts +0 -0
- /package/src/features/{FileManager → KnowledgeManager}/Header/UploadFileButton.tsx +0 -0
- /package/src/features/{FileManager → KnowledgeManager}/UploadDock/Item.tsx +0 -0
- /package/src/features/{FileManager → KnowledgeManager}/UploadDock/index.tsx +0 -0
- /package/{packages/utils/src → src/utils/server}/__snapshots__/parseModels.test.ts.snap +0 -0
- /package/{packages/utils/src → src/utils/server}/parseModels.test.ts +0 -0
|
@@ -236,6 +236,9 @@
|
|
|
236
236
|
"MiniMaxAI/MiniMax-M1-80k": {
|
|
237
237
|
"description": "MiniMax-M1 是開源權重的大規模混合注意力推理模型,擁有 4560 億參數,每個 Token 可激活約 459 億參數。模型原生支援 100 萬 Token 的超長上下文,並透過閃電注意力機制,在 10 萬 Token 的生成任務中相比 DeepSeek R1 節省 75% 的浮點運算量。同時,MiniMax-M1 採用 MoE(混合專家)架構,結合 CISPO 演算法與混合注意力設計的高效強化學習訓練,在長輸入推理與真實軟體工程場景中實現了業界領先的性能。"
|
|
238
238
|
},
|
|
239
|
+
"MiniMaxAI/MiniMax-M2": {
|
|
240
|
+
"description": "MiniMax-M2 為智慧體重新定義了效率。它是一款緊湊、快速且具高性價比的 MoE 模型,擁有 2300 億總參數與 100 億啟用參數,專為編碼與智慧體任務的頂級效能而打造,同時保有強大的通用智慧。僅需 100 億啟用參數,MiniMax-M2 即可提供媲美大型模型的效能,是高效率應用的理想選擇。"
|
|
241
|
+
},
|
|
239
242
|
"Moonshot-Kimi-K2-Instruct": {
|
|
240
243
|
"description": "總參數 1T,激活參數 32B。非思維模型中,在前沿知識、數學和編碼方面達到頂尖水平,更擅長通用 Agent 任務。針對代理任務進行了精心優化,不僅能回答問題,還能採取行動。最適用於即興、通用聊天和代理體驗,是一款無需長時間思考的反射級模型。"
|
|
241
244
|
},
|
|
@@ -717,25 +720,31 @@
|
|
|
717
720
|
"description": "Claude 3 Opus 是 Anthropic 最智能的模型,在高度複雜的任務上具有市場領先的性能。它能夠以卓越的流暢度和類人理解力駕馭開放式提示和前所未見的場景。"
|
|
718
721
|
},
|
|
719
722
|
"anthropic/claude-3.5-haiku": {
|
|
720
|
-
"description": "Claude 3.5 Haiku
|
|
723
|
+
"description": "Claude 3.5 Haiku 提升了速度、程式碼準確性與工具使用能力。適用於對速度與工具互動有高度需求的情境。"
|
|
721
724
|
},
|
|
722
725
|
"anthropic/claude-3.5-sonnet": {
|
|
723
|
-
"description": "Claude 3.5 Sonnet
|
|
726
|
+
"description": "Claude 3.5 Sonnet 是 Sonnet 系列中快速且高效的模型,提供更佳的編碼與推理效能,部分版本將逐步由 Sonnet 3.7 等取代。"
|
|
724
727
|
},
|
|
725
728
|
"anthropic/claude-3.7-sonnet": {
|
|
726
|
-
"description": "Claude 3.7 Sonnet
|
|
729
|
+
"description": "Claude 3.7 Sonnet 是 Sonnet 系列的升級版本,具備更強的推理與編碼能力,適用於企業級複雜任務。"
|
|
730
|
+
},
|
|
731
|
+
"anthropic/claude-haiku-4.5": {
|
|
732
|
+
"description": "Claude Haiku 4.5 是 Anthropic 的高效能快速模型,在維持高準確度的同時具備極低延遲。"
|
|
727
733
|
},
|
|
728
734
|
"anthropic/claude-opus-4": {
|
|
729
|
-
"description": "
|
|
735
|
+
"description": "Opus 4 是 Anthropic 的旗艦級模型,專為複雜任務與企業級應用設計。"
|
|
730
736
|
},
|
|
731
737
|
"anthropic/claude-opus-4.1": {
|
|
732
|
-
"description": "
|
|
738
|
+
"description": "Opus 4.1 是 Anthropic 的高階模型,針對程式設計、複雜推理與持續任務進行優化。"
|
|
739
|
+
},
|
|
740
|
+
"anthropic/claude-opus-4.5": {
|
|
741
|
+
"description": "Claude Opus 4.5 是 Anthropic 的旗艦模型,結合了卓越的智慧與可擴展的效能,適用於需要最高品質回應與推理能力的複雜任務。"
|
|
733
742
|
},
|
|
734
743
|
"anthropic/claude-sonnet-4": {
|
|
735
|
-
"description": "Claude Sonnet 4
|
|
744
|
+
"description": "Claude Sonnet 4 是 Anthropic 的混合推理版本,提供思考與非思考的混合能力。"
|
|
736
745
|
},
|
|
737
746
|
"anthropic/claude-sonnet-4.5": {
|
|
738
|
-
"description": "Claude Sonnet 4.5 是 Anthropic
|
|
747
|
+
"description": "Claude Sonnet 4.5 是 Anthropic 最新的混合推理模型,針對複雜推理與編碼進行優化。"
|
|
739
748
|
},
|
|
740
749
|
"ascend-tribe/pangu-pro-moe": {
|
|
741
750
|
"description": "Pangu-Pro-MoE 72B-A16B 是一款 720 億參數、激活 160 億參的稀疏大型語言模型,它基於分組混合專家(MoGE)架構,它在專家選擇階段對專家進行分組,並約束 token 在每個組內激活等量專家,從而實現專家負載均衡,顯著提升模型在昇騰平台的部署效率。"
|
|
@@ -758,6 +767,9 @@
|
|
|
758
767
|
"baidu/ERNIE-4.5-300B-A47B": {
|
|
759
768
|
"description": "ERNIE-4.5-300B-A47B 是由百度公司開發的一款基於混合專家(MoE)架構的大型語言模型。該模型總參數量為 3000 億,但在推理時每個 token 僅激活 470 億參數,從而在保證強大性能的同時兼顧了計算效率。作為 ERNIE 4.5 系列的核心模型之一,在文本理解、生成、推理和程式設計等任務上展現出卓越的能力。該模型採用了一種創新的多模態異構 MoE 預訓練方法,通過文本與視覺模態的聯合訓練,有效提升了模型的綜合能力,尤其在指令遵循和世界知識記憶方面效果突出。"
|
|
760
769
|
},
|
|
770
|
+
"baidu/ernie-5.0-thinking-preview": {
|
|
771
|
+
"description": "ERNIE 5.0 Thinking Preview 是百度新一代原生多模態文心模型,擅長多模態理解、指令遵循、創作、事實問答與工具調用。"
|
|
772
|
+
},
|
|
761
773
|
"c4ai-aya-expanse-32b": {
|
|
762
774
|
"description": "Aya Expanse 是一款高性能的 32B 多語言模型,旨在通過指令調優、數據套利、偏好訓練和模型合併的創新,挑戰單語言模型的表現。它支持 23 種語言。"
|
|
763
775
|
},
|
|
@@ -818,6 +830,9 @@
|
|
|
818
830
|
"claude-opus-4-20250514": {
|
|
819
831
|
"description": "Claude Opus 4 是 Anthropic 用於處理高度複雜任務的最強大模型。它在性能、智能、流暢性和理解力方面表現卓越。"
|
|
820
832
|
},
|
|
833
|
+
"claude-opus-4-5-20251101": {
|
|
834
|
+
"description": "Claude Opus 4.5 是 Anthropic 的旗艦模型,結合了卓越的智慧與可擴展的效能,適用於需要最高品質回應與推理能力的複雜任務。"
|
|
835
|
+
},
|
|
821
836
|
"claude-sonnet-4-20250514": {
|
|
822
837
|
"description": "Claude Sonnet 4 可以產生近乎即時的回應或延長的逐步思考,使用者可以清楚地看到這些過程。"
|
|
823
838
|
},
|
|
@@ -866,6 +881,9 @@
|
|
|
866
881
|
"codex-mini-latest": {
|
|
867
882
|
"description": "codex-mini-latest 是 o4-mini 的微調版本,專門用於 Codex CLI。對於直接透過 API 使用,我們推薦從 gpt-4.1 開始。"
|
|
868
883
|
},
|
|
884
|
+
"cogito-2.1:671b": {
|
|
885
|
+
"description": "Cogito v2.1 671B 是一款可免費商用的美國開源大型語言模型,具備媲美頂尖模型的效能、更高的 token 推理效率、128k 長上下文與強大的綜合能力。"
|
|
886
|
+
},
|
|
869
887
|
"cogview-4": {
|
|
870
888
|
"description": "CogView-4 是智譜首個支援生成漢字的開源文生圖模型,在語義理解、圖像生成質量、中英文字生成能力等方面全面提升,支援任意長度的中英雙語輸入,能夠生成在給定範圍內的任意解析度圖像。"
|
|
871
889
|
},
|
|
@@ -1049,6 +1067,9 @@
|
|
|
1049
1067
|
"deepseek-r1-0528": {
|
|
1050
1068
|
"description": "685B 滿血版模型,2025年5月28日發布。DeepSeek-R1 在後訓練階段大規模使用了強化學習技術,在僅有極少標註資料的情況下,大幅提升了模型推理能力。在數學、程式碼、自然語言推理等任務上,性能較高,能力較強。"
|
|
1051
1069
|
},
|
|
1070
|
+
"deepseek-r1-250528": {
|
|
1071
|
+
"description": "DeepSeek R1 250528,完整版 DeepSeek-R1 推理模型,適用於高難度數學與邏輯任務。"
|
|
1072
|
+
},
|
|
1052
1073
|
"deepseek-r1-70b-fast-online": {
|
|
1053
1074
|
"description": "DeepSeek R1 70B 快速版,支持即時聯網搜索,在保持模型性能的同時提供更快的響應速度。"
|
|
1054
1075
|
},
|
|
@@ -1059,31 +1080,34 @@
|
|
|
1059
1080
|
"description": "deepseek-r1-distill-llama 是基於 Llama 從 DeepSeek-R1 蒸餾而來的模型。"
|
|
1060
1081
|
},
|
|
1061
1082
|
"deepseek-r1-distill-llama-70b": {
|
|
1062
|
-
"description": "DeepSeek R1
|
|
1083
|
+
"description": "DeepSeek R1 Distill Llama 70B,結合通用 R1 推理能力與 Llama 生態的蒸餾模型。"
|
|
1063
1084
|
},
|
|
1064
1085
|
"deepseek-r1-distill-llama-8b": {
|
|
1065
|
-
"description": "DeepSeek-R1-Distill
|
|
1086
|
+
"description": "DeepSeek-R1-Distill-Llama-8B 是一款基於 Llama-3.1-8B 的蒸餾大型語言模型,採用 DeepSeek R1 的輸出。"
|
|
1066
1087
|
},
|
|
1067
|
-
"deepseek-r1-distill-qianfan-
|
|
1068
|
-
"description": "
|
|
1088
|
+
"deepseek-r1-distill-qianfan-70b": {
|
|
1089
|
+
"description": "DeepSeek R1 Distill Qianfan 70B,基於 Qianfan-70B 的 R1 蒸餾模型,具高性價比。"
|
|
1090
|
+
},
|
|
1091
|
+
"deepseek-r1-distill-qianfan-8b": {
|
|
1092
|
+
"description": "DeepSeek R1 Distill Qianfan 8B,基於 Qianfan-8B 的 R1 蒸餾模型,適用於中小型應用。"
|
|
1069
1093
|
},
|
|
1070
|
-
"deepseek-r1-distill-qianfan-llama-
|
|
1071
|
-
"description": "
|
|
1094
|
+
"deepseek-r1-distill-qianfan-llama-70b": {
|
|
1095
|
+
"description": "DeepSeek R1 Distill Qianfan Llama 70B,基於 Llama-70B 的 R1 蒸餾模型。"
|
|
1072
1096
|
},
|
|
1073
1097
|
"deepseek-r1-distill-qwen": {
|
|
1074
1098
|
"description": "deepseek-r1-distill-qwen 是基於 Qwen 從 DeepSeek-R1 蒸餾而來的模型。"
|
|
1075
1099
|
},
|
|
1076
1100
|
"deepseek-r1-distill-qwen-1.5b": {
|
|
1077
|
-
"description": "DeepSeek
|
|
1101
|
+
"description": "DeepSeek R1 Distill Qwen 1.5B,超輕量 R1 蒸餾模型,適用於極低資源環境。"
|
|
1078
1102
|
},
|
|
1079
1103
|
"deepseek-r1-distill-qwen-14b": {
|
|
1080
|
-
"description": "DeepSeek
|
|
1104
|
+
"description": "DeepSeek R1 Distill Qwen 14B,中等規模 R1 蒸餾模型,適合多場景部署。"
|
|
1081
1105
|
},
|
|
1082
1106
|
"deepseek-r1-distill-qwen-32b": {
|
|
1083
|
-
"description": "DeepSeek
|
|
1107
|
+
"description": "DeepSeek R1 Distill Qwen 32B,基於 Qwen-32B 的 R1 蒸餾模型,兼顧效能與成本。"
|
|
1084
1108
|
},
|
|
1085
1109
|
"deepseek-r1-distill-qwen-7b": {
|
|
1086
|
-
"description": "DeepSeek
|
|
1110
|
+
"description": "DeepSeek R1 Distill Qwen 7B,輕量級 R1 蒸餾模型,適合邊緣與企業私有化部署環境。"
|
|
1087
1111
|
},
|
|
1088
1112
|
"deepseek-r1-fast-online": {
|
|
1089
1113
|
"description": "DeepSeek R1 滿血快速版,支持即時聯網搜索,結合了 671B 參數的強大能力和更快的響應速度。"
|
|
@@ -1112,12 +1136,27 @@
|
|
|
1112
1136
|
"deepseek-v3.1-terminus": {
|
|
1113
1137
|
"description": "DeepSeek-V3.1-Terminus 是深度求索推出的終端優化版本大型語言模型,專為終端設備優化。"
|
|
1114
1138
|
},
|
|
1139
|
+
"deepseek-v3.1-think-250821": {
|
|
1140
|
+
"description": "DeepSeek V3.1 Think 250821,對應 Terminus 版本的深度思考模型,適用於高效能推理場景。"
|
|
1141
|
+
},
|
|
1115
1142
|
"deepseek-v3.1:671b": {
|
|
1116
1143
|
"description": "DeepSeek V3.1:下一代推理模型,提升了複雜推理與鏈路思考能力,適合需要深入分析的任務。"
|
|
1117
1144
|
},
|
|
1118
1145
|
"deepseek-v3.2-exp": {
|
|
1119
1146
|
"description": "deepseek-v3.2-exp 引入稀疏注意力機制,旨在提升處理長文本時的訓練與推理效率,價格低於 deepseek-v3.1。"
|
|
1120
1147
|
},
|
|
1148
|
+
"deepseek-v3.2-think": {
|
|
1149
|
+
"description": "DeepSeek V3.2 Think,完整版深度思考模型,強化長鏈推理能力。"
|
|
1150
|
+
},
|
|
1151
|
+
"deepseek-vl2": {
|
|
1152
|
+
"description": "DeepSeek VL2,多模態模型,支援圖文理解與細緻視覺問答。"
|
|
1153
|
+
},
|
|
1154
|
+
"deepseek-vl2-small": {
|
|
1155
|
+
"description": "DeepSeek VL2 Small,輕量多模態版本,適用於資源受限與高併發場景。"
|
|
1156
|
+
},
|
|
1157
|
+
"deepseek/deepseek-chat": {
|
|
1158
|
+
"description": "DeepSeek-V3 是 DeepSeek 團隊推出的高效能混合推理模型,適合處理複雜任務與工具整合。"
|
|
1159
|
+
},
|
|
1121
1160
|
"deepseek/deepseek-chat-v3-0324": {
|
|
1122
1161
|
"description": "DeepSeek V3 是一個 685B 參數的專家混合模型,是 DeepSeek 團隊旗艦聊天模型系列的最新迭代。\n\n它繼承了 [DeepSeek V3](/deepseek/deepseek-chat-v3) 模型,並在各種任務上表現出色。"
|
|
1123
1162
|
},
|
|
@@ -1125,19 +1164,19 @@
|
|
|
1125
1164
|
"description": "DeepSeek V3 是一個 685B 參數的專家混合模型,是 DeepSeek 團隊旗艦聊天模型系列的最新迭代。\n\n它繼承了 [DeepSeek V3](/deepseek/deepseek-chat-v3) 模型,並在各種任務上表現出色。"
|
|
1126
1165
|
},
|
|
1127
1166
|
"deepseek/deepseek-chat-v3.1": {
|
|
1128
|
-
"description": "DeepSeek-V3.1
|
|
1167
|
+
"description": "DeepSeek-V3.1 是 DeepSeek 的長上下文混合推理模型,支援思考/非思考混合模式與工具整合。"
|
|
1129
1168
|
},
|
|
1130
1169
|
"deepseek/deepseek-r1": {
|
|
1131
1170
|
"description": "DeepSeek R1 模型已經進行了小版本升級,當前版本為 DeepSeek-R1-0528。在最新更新中,DeepSeek R1 透過利用增加的計算資源和在訓練後引入演算法優化機制,顯著提高了推理深度和推理能力。該模型在數學、程式設計和一般邏輯等多個基準評估中表現出色,其整體性能現在正接近領先模型,如 O3 和 Gemini 2.5 Pro。"
|
|
1132
1171
|
},
|
|
1133
1172
|
"deepseek/deepseek-r1-0528": {
|
|
1134
|
-
"description": "DeepSeek
|
|
1173
|
+
"description": "DeepSeek R1 0528 是 DeepSeek 的更新版本,強調開源可用性與推理深度。"
|
|
1135
1174
|
},
|
|
1136
1175
|
"deepseek/deepseek-r1-0528:free": {
|
|
1137
1176
|
"description": "DeepSeek-R1 在僅有極少標註資料的情況下,極大提升了模型推理能力。在輸出最終回答之前,模型會先輸出一段思維鏈內容,以提升最終答案的準確性。"
|
|
1138
1177
|
},
|
|
1139
1178
|
"deepseek/deepseek-r1-distill-llama-70b": {
|
|
1140
|
-
"description": "DeepSeek
|
|
1179
|
+
"description": "DeepSeek R1 Distill Llama 70B 是一款基於 Llama3.3 70B 的大型語言模型,透過 DeepSeek R1 的微調輸出,實現了與最先進大型模型相當的競爭效能。"
|
|
1141
1180
|
},
|
|
1142
1181
|
"deepseek/deepseek-r1-distill-llama-8b": {
|
|
1143
1182
|
"description": "DeepSeek R1 Distill Llama 8B是一種基於Llama-3.1-8B-Instruct的蒸餾大語言模型,通過使用DeepSeek R1的輸出進行訓練而得。"
|
|
@@ -1154,6 +1193,9 @@
|
|
|
1154
1193
|
"deepseek/deepseek-r1:free": {
|
|
1155
1194
|
"description": "DeepSeek-R1 在僅有極少標註數據的情況下,極大提升了模型推理能力。在輸出最終回答之前,模型會先輸出一段思維鏈內容,以提升最終答案的準確性。"
|
|
1156
1195
|
},
|
|
1196
|
+
"deepseek/deepseek-reasoner": {
|
|
1197
|
+
"description": "DeepSeek-V3 Thinking(reasoner)是 DeepSeek 的實驗性推理模型,適合高複雜度推理任務。"
|
|
1198
|
+
},
|
|
1157
1199
|
"deepseek/deepseek-v3": {
|
|
1158
1200
|
"description": "具有增強推理能力的快速通用大型語言模型"
|
|
1159
1201
|
},
|
|
@@ -1253,83 +1295,89 @@
|
|
|
1253
1295
|
"emohaa": {
|
|
1254
1296
|
"description": "Emohaa是一個心理模型,具備專業諮詢能力,幫助用戶理解情感問題。"
|
|
1255
1297
|
},
|
|
1256
|
-
"ernie-
|
|
1257
|
-
"description": "
|
|
1258
|
-
},
|
|
1259
|
-
"ernie-3.5-8k": {
|
|
1260
|
-
"description": "百度自研的旗艦級大規模大語言模型,覆蓋海量中英文語料,具有強大的通用能力,可滿足絕大部分對話問答、創作生成、插件應用場景要求;支持自動對接百度搜索插件,保障問答信息時效。"
|
|
1261
|
-
},
|
|
1262
|
-
"ernie-3.5-8k-preview": {
|
|
1263
|
-
"description": "百度自研的旗艦級大規模大語言模型,覆蓋海量中英文語料,具有強大的通用能力,可滿足絕大部分對話問答、創作生成、插件應用場景要求;支持自動對接百度搜索插件,保障問答信息時效。"
|
|
1264
|
-
},
|
|
1265
|
-
"ernie-4.0-8k-latest": {
|
|
1266
|
-
"description": "百度自研的旗艦級超大規模大語言模型,相較ERNIE 3.5實現了模型能力全面升級,廣泛適用於各領域複雜任務場景;支持自動對接百度搜索插件,保障問答信息時效。"
|
|
1267
|
-
},
|
|
1268
|
-
"ernie-4.0-8k-preview": {
|
|
1269
|
-
"description": "百度自研的旗艦級超大規模大語言模型,相較ERNIE 3.5實現了模型能力全面升級,廣泛適用於各領域複雜任務場景;支持自動對接百度搜索插件,保障問答信息時效。"
|
|
1270
|
-
},
|
|
1271
|
-
"ernie-4.0-turbo-128k": {
|
|
1272
|
-
"description": "百度自研的旗艦級超大規模大語言模型,綜合效果表現出色,廣泛適用於各領域複雜任務場景;支持自動對接百度搜索插件,保障問答信息時效。相較於ERNIE 4.0在性能表現上更優秀"
|
|
1273
|
-
},
|
|
1274
|
-
"ernie-4.0-turbo-8k-latest": {
|
|
1275
|
-
"description": "百度自研的旗艦級超大規模大語言模型,綜合效果表現出色,廣泛適用於各領域複雜任務場景;支持自動對接百度搜索插件,保障問答信息時效。相較於ERNIE 4.0在性能表現上更優秀"
|
|
1276
|
-
},
|
|
1277
|
-
"ernie-4.0-turbo-8k-preview": {
|
|
1278
|
-
"description": "百度自研的旗艦級超大規模大語言模型,綜合效果表現出色,廣泛適用於各領域複雜任務場景;支持自動對接百度搜索插件,保障問答信息時效。相較於ERNIE 4.0在性能表現上更優秀"
|
|
1298
|
+
"ernie-4.5-0.3b": {
|
|
1299
|
+
"description": "ERNIE 4.5 0.3B,開源輕量版模型,適合作為本地與客製化部署方案。"
|
|
1279
1300
|
},
|
|
1280
1301
|
"ernie-4.5-21b-a3b": {
|
|
1281
|
-
"description": "ERNIE 4.5 21B A3B
|
|
1302
|
+
"description": "ERNIE 4.5 21B A3B,開源大參數模型,在理解與生成任務上表現更佳。"
|
|
1282
1303
|
},
|
|
1283
1304
|
"ernie-4.5-300b-a47b": {
|
|
1284
1305
|
"description": "ERNIE 4.5 300B A47B 是百度文心推出的超大規模混合專家模型,具備卓越的推理能力。"
|
|
1285
1306
|
},
|
|
1286
1307
|
"ernie-4.5-8k-preview": {
|
|
1287
|
-
"description": "
|
|
1308
|
+
"description": "ERNIE 4.5 8K Preview,8K 上下文預覽模型,用於體驗與測試文心 4.5 能力。"
|
|
1288
1309
|
},
|
|
1289
1310
|
"ernie-4.5-turbo-128k": {
|
|
1290
|
-
"description": "
|
|
1311
|
+
"description": "ERNIE 4.5 Turbo 128K,高效能通用模型,支援搜尋增強與工具調用,適用於問答、程式碼、智能體等多種業務場景。"
|
|
1312
|
+
},
|
|
1313
|
+
"ernie-4.5-turbo-128k-preview": {
|
|
1314
|
+
"description": "ERNIE 4.5 Turbo 128K 預覽版,提供與正式版一致的能力體驗,適合聯調與灰度測試。"
|
|
1291
1315
|
},
|
|
1292
1316
|
"ernie-4.5-turbo-32k": {
|
|
1293
|
-
"description": "
|
|
1317
|
+
"description": "ERNIE 4.5 Turbo 32K,中長上下文版本,適用於問答、知識庫檢索與多輪對話等場景。"
|
|
1318
|
+
},
|
|
1319
|
+
"ernie-4.5-turbo-latest": {
|
|
1320
|
+
"description": "ERNIE 4.5 Turbo 最新版,整體效能優化,適合作為生產環境通用主力模型。"
|
|
1321
|
+
},
|
|
1322
|
+
"ernie-4.5-turbo-vl": {
|
|
1323
|
+
"description": "ERNIE 4.5 Turbo VL,成熟多模態模型,適合生產環境中的圖文理解與識別任務。"
|
|
1294
1324
|
},
|
|
1295
1325
|
"ernie-4.5-turbo-vl-32k": {
|
|
1296
|
-
"description": "
|
|
1326
|
+
"description": "ERNIE 4.5 Turbo VL 32K,中長文本多模態版本,適用於長文檔與圖片的聯合理解。"
|
|
1327
|
+
},
|
|
1328
|
+
"ernie-4.5-turbo-vl-32k-preview": {
|
|
1329
|
+
"description": "ERNIE 4.5 Turbo VL 32K Preview,多模態 32K 預覽版,便於評估長上下文視覺能力。"
|
|
1330
|
+
},
|
|
1331
|
+
"ernie-4.5-turbo-vl-latest": {
|
|
1332
|
+
"description": "ERNIE 4.5 Turbo VL Latest,多模態最新版本,提供更佳圖文理解與推理效果。"
|
|
1333
|
+
},
|
|
1334
|
+
"ernie-4.5-turbo-vl-preview": {
|
|
1335
|
+
"description": "ERNIE 4.5 Turbo VL Preview,多模態預覽模型,支援圖文理解與生成,適合視覺問答與內容理解體驗。"
|
|
1336
|
+
},
|
|
1337
|
+
"ernie-4.5-vl-28b-a3b": {
|
|
1338
|
+
"description": "ERNIE 4.5 VL 28B A3B,多模態開源模型,支援圖文理解與推理任務。"
|
|
1339
|
+
},
|
|
1340
|
+
"ernie-5.0-thinking-preview": {
|
|
1341
|
+
"description": "文心 5.0 Thinking 預覽版,原生全模態旗艦模型,支援文字、圖像、音訊、影片統一建模,整體能力全面升級,適用於複雜問答、創作與智能體場景。"
|
|
1297
1342
|
},
|
|
1298
1343
|
"ernie-char-8k": {
|
|
1299
|
-
"description": "
|
|
1344
|
+
"description": "ERNIE Character 8K,角色人格對話模型,適合 IP 角色建構與長期陪伴對話。"
|
|
1300
1345
|
},
|
|
1301
1346
|
"ernie-char-fiction-8k": {
|
|
1302
|
-
"description": "
|
|
1347
|
+
"description": "ERNIE Character Fiction 8K,面向小說與劇情創作的人格模型,適合長文本故事生成。"
|
|
1348
|
+
},
|
|
1349
|
+
"ernie-char-fiction-8k-preview": {
|
|
1350
|
+
"description": "ERNIE Character Fiction 8K Preview,人物與劇情創作模型預覽版,用於功能體驗與測試。"
|
|
1303
1351
|
},
|
|
1304
1352
|
"ernie-irag-edit": {
|
|
1305
|
-
"description": "
|
|
1353
|
+
"description": "ERNIE iRAG Edit,支援圖片擦除、重繪與變體生成的圖像編輯模型。"
|
|
1306
1354
|
},
|
|
1307
1355
|
"ernie-lite-8k": {
|
|
1308
|
-
"description": "ERNIE Lite
|
|
1356
|
+
"description": "ERNIE Lite 8K,輕量級通用模型,適合對成本敏感的日常問答與內容生成場景。"
|
|
1309
1357
|
},
|
|
1310
1358
|
"ernie-lite-pro-128k": {
|
|
1311
|
-
"description": "
|
|
1359
|
+
"description": "ERNIE Lite Pro 128K,輕量高效能模型,適合對延遲與成本敏感的業務場景。"
|
|
1312
1360
|
},
|
|
1313
1361
|
"ernie-novel-8k": {
|
|
1314
|
-
"description": "
|
|
1362
|
+
"description": "ERNIE Novel 8K,長篇小說與 IP 劇情創作模型,擅長多角色、多線敘事。"
|
|
1315
1363
|
},
|
|
1316
1364
|
"ernie-speed-128k": {
|
|
1317
|
-
"description": "
|
|
1365
|
+
"description": "ERNIE Speed 128K,免輸入輸出費用的大模型,適合長文本理解與大規模試用場景。"
|
|
1366
|
+
},
|
|
1367
|
+
"ernie-speed-8k": {
|
|
1368
|
+
"description": "ERNIE Speed 8K,免費快速模型,適合日常對話與輕量文本任務。"
|
|
1318
1369
|
},
|
|
1319
1370
|
"ernie-speed-pro-128k": {
|
|
1320
|
-
"description": "
|
|
1371
|
+
"description": "ERNIE Speed Pro 128K,高併發高性價比模型,適合大規模線上服務與企業應用。"
|
|
1321
1372
|
},
|
|
1322
1373
|
"ernie-tiny-8k": {
|
|
1323
|
-
"description": "ERNIE Tiny
|
|
1324
|
-
},
|
|
1325
|
-
"ernie-x1-32k": {
|
|
1326
|
-
"description": "具備更強的理解、規劃、反思、進化能力。作為能力更全面的深度思考模型,文心X1兼具準確、創意和文采,在中文知識問答、文學創作、文稿寫作、日常對話、邏輯推理、複雜計算及工具調用等方面表現尤為出色。"
|
|
1327
|
-
},
|
|
1328
|
-
"ernie-x1-32k-preview": {
|
|
1329
|
-
"description": "文心大模型X1具備更強的理解、規劃、反思、進化能力。作為能力更全面的深度思考模型,文心X1兼具準確、創意和文采,在中文知識問答、文學創作、文稿寫作、日常對話、邏輯推理、複雜計算及工具調用等方面表現尤為出色。"
|
|
1374
|
+
"description": "ERNIE Tiny 8K,極輕量模型,適合簡單問答、分類等低成本推理場景。"
|
|
1330
1375
|
},
|
|
1331
1376
|
"ernie-x1-turbo-32k": {
|
|
1332
|
-
"description": "
|
|
1377
|
+
"description": "ERNIE X1 Turbo 32K,高速思考模型,32K 長上下文,適合複雜推理與多輪對話。"
|
|
1378
|
+
},
|
|
1379
|
+
"ernie-x1.1-preview": {
|
|
1380
|
+
"description": "ERNIE X1.1 Preview,ERNIE X1.1 思考模型預覽版,適合能力驗證與測試。"
|
|
1333
1381
|
},
|
|
1334
1382
|
"fal-ai/bytedance/seedream/v4": {
|
|
1335
1383
|
"description": "Seedream 4.0 圖片生成模型由字節跳動 Seed 團隊研發,支援文字與圖片輸入,提供高可控、高品質的圖片生成體驗。基於文字提示詞生成圖片。"
|
|
@@ -1389,7 +1437,7 @@
|
|
|
1389
1437
|
"description": "FLUX.1 [schnell] 作為目前開源最先進的少步模型,不僅超越了同類競爭者,甚至還優於諸如 Midjourney v6.0 和 DALL·E 3 (HD) 等強大的非精煉模型。該模型經過專門微調,以保留預訓練階段的全部輸出多樣性,相較於當前市場上的最先進模型,FLUX.1 [schnell] 顯著提升了在視覺品質、指令遵從、尺寸/比例變化、字體處理及輸出多樣性等方面的可能,為用戶帶來更為豐富多樣的創意圖像生成體驗。"
|
|
1390
1438
|
},
|
|
1391
1439
|
"flux.1-schnell": {
|
|
1392
|
-
"description": "
|
|
1440
|
+
"description": "FLUX.1-schnell,高效能圖像生成模型,適合快速生成多風格圖片。"
|
|
1393
1441
|
},
|
|
1394
1442
|
"gemini-1.0-pro-001": {
|
|
1395
1443
|
"description": "Gemini 1.0 Pro 001 (Tuning) 提供穩定並可調優的性能,是複雜任務解決方案的理想選擇。"
|
|
@@ -1454,9 +1502,6 @@
|
|
|
1454
1502
|
"gemini-2.0-flash-lite-001": {
|
|
1455
1503
|
"description": "Gemini 2.0 Flash 模型變體,針對成本效益和低延遲等目標進行了優化。"
|
|
1456
1504
|
},
|
|
1457
|
-
"gemini-2.0-flash-preview-image-generation": {
|
|
1458
|
-
"description": "Gemini 2.0 Flash 預覽模型,支持圖像生成"
|
|
1459
|
-
},
|
|
1460
1505
|
"gemini-2.5-flash": {
|
|
1461
1506
|
"description": "Gemini 2.5 Flash 是 Google 性價比最高的模型,提供全面的功能。"
|
|
1462
1507
|
},
|
|
@@ -1484,9 +1529,6 @@
|
|
|
1484
1529
|
"gemini-2.5-flash-preview-04-17": {
|
|
1485
1530
|
"description": "Gemini 2.5 Flash Preview 是 Google 性價比最高的模型,提供全面的功能。"
|
|
1486
1531
|
},
|
|
1487
|
-
"gemini-2.5-flash-preview-05-20": {
|
|
1488
|
-
"description": "Gemini 2.5 Flash Preview 是 Google 性價比最高的模型,提供全面的功能。"
|
|
1489
|
-
},
|
|
1490
1532
|
"gemini-2.5-flash-preview-09-2025": {
|
|
1491
1533
|
"description": "預覽版本(2025年9月25日)之 Gemini 2.5 Flash"
|
|
1492
1534
|
},
|
|
@@ -1502,6 +1544,15 @@
|
|
|
1502
1544
|
"gemini-2.5-pro-preview-06-05": {
|
|
1503
1545
|
"description": "Gemini 2.5 Pro Preview 是 Google 最先進的思維模型,能夠對程式碼、數學和STEM領域的複雜問題進行推理,以及使用長上下文分析大型資料集、程式碼庫和文件。"
|
|
1504
1546
|
},
|
|
1547
|
+
"gemini-3-pro-image-preview": {
|
|
1548
|
+
"description": "Gemini 3 Pro Image(Nano Banana Pro)是 Google 的圖像生成模型,同時支援多模態對話。"
|
|
1549
|
+
},
|
|
1550
|
+
"gemini-3-pro-image-preview:image": {
|
|
1551
|
+
"description": "Gemini 3 Pro Image(Nano Banana Pro)是 Google 的圖像生成模型,同時支援多模態對話。"
|
|
1552
|
+
},
|
|
1553
|
+
"gemini-3-pro-preview": {
|
|
1554
|
+
"description": "Gemini 3 Pro 是全球最佳的多模態理解模型,也是 Google 迄今最強大的智慧體與氛圍編程模型,提供更豐富的視覺效果與更深層的互動性,這一切皆建立於最先進的推理能力之上。"
|
|
1555
|
+
},
|
|
1505
1556
|
"gemini-flash-latest": {
|
|
1506
1557
|
"description": "Gemini Flash 最新版本"
|
|
1507
1558
|
},
|
|
@@ -1538,6 +1589,9 @@
|
|
|
1538
1589
|
"glm-4-0520": {
|
|
1539
1590
|
"description": "GLM-4-0520是最新模型版本,專為高度複雜和多樣化任務設計,表現卓越。"
|
|
1540
1591
|
},
|
|
1592
|
+
"glm-4-32b-0414": {
|
|
1593
|
+
"description": "GLM-4 32B 0414,GLM 系列通用大型模型版本,支援多任務文本生成與理解。"
|
|
1594
|
+
},
|
|
1541
1595
|
"glm-4-9b-chat": {
|
|
1542
1596
|
"description": "GLM-4-9B-Chat 在語意、數學、推理、程式碼與知識等多方面均展現出高效能。還具備網頁瀏覽、程式碼執行、自訂工具調用與長文本推理能力。支援包括日語、韓語、德語在內的 26 種語言。"
|
|
1543
1597
|
},
|
|
@@ -1622,8 +1676,11 @@
|
|
|
1622
1676
|
"glm-zero-preview": {
|
|
1623
1677
|
"description": "GLM-Zero-Preview具備強大的複雜推理能力,在邏輯推理、數學、程式設計等領域表現優異。"
|
|
1624
1678
|
},
|
|
1679
|
+
"global.anthropic.claude-opus-4-5-20251101-v1:0": {
|
|
1680
|
+
"description": "Claude Opus 4.5 是 Anthropic 的旗艦模型,結合了卓越的智慧與可擴展的效能,適用於需要最高品質回應與推理能力的複雜任務。"
|
|
1681
|
+
},
|
|
1625
1682
|
"google/gemini-2.0-flash": {
|
|
1626
|
-
"description": "Gemini 2.0 Flash
|
|
1683
|
+
"description": "Gemini 2.0 Flash 是 Google 的高效能推理模型,適用於延展性多模態任務。"
|
|
1627
1684
|
},
|
|
1628
1685
|
"google/gemini-2.0-flash-001": {
|
|
1629
1686
|
"description": "Gemini 2.0 Flash 提供下一代功能和改進,包括卓越的速度、原生工具使用、多模態生成和1M令牌上下文窗口。"
|
|
@@ -1634,14 +1691,23 @@
|
|
|
1634
1691
|
"google/gemini-2.0-flash-lite": {
|
|
1635
1692
|
"description": "Gemini 2.0 Flash Lite 提供下一代功能和改進的功能,包括卓越的速度、內建工具使用、多模態生成和 100 萬 token 的上下文視窗。"
|
|
1636
1693
|
},
|
|
1694
|
+
"google/gemini-2.0-flash-lite-001": {
|
|
1695
|
+
"description": "Gemini 2.0 Flash Lite 是 Gemini 系列的輕量版本,預設不啟用思考以提升延遲與成本表現,但可透過參數開啟。"
|
|
1696
|
+
},
|
|
1637
1697
|
"google/gemini-2.5-flash": {
|
|
1638
|
-
"description": "Gemini 2.5 Flash
|
|
1698
|
+
"description": "Gemini 2.5 Flash(Lite/Pro/Flash)系列是 Google 的中低延遲至高效能推理模型。"
|
|
1699
|
+
},
|
|
1700
|
+
"google/gemini-2.5-flash-image": {
|
|
1701
|
+
"description": "Gemini 2.5 Flash Image(Nano Banana)是 Google 的圖像生成模型,同時支援多模態對話。"
|
|
1702
|
+
},
|
|
1703
|
+
"google/gemini-2.5-flash-image-free": {
|
|
1704
|
+
"description": "Gemini 2.5 Flash Image 免費版,支援有限額度的多模態生成。"
|
|
1639
1705
|
},
|
|
1640
1706
|
"google/gemini-2.5-flash-image-preview": {
|
|
1641
1707
|
"description": "Gemini 2.5 Flash 實驗模型,支援圖像生成"
|
|
1642
1708
|
},
|
|
1643
1709
|
"google/gemini-2.5-flash-lite": {
|
|
1644
|
-
"description": "Gemini 2.5 Flash
|
|
1710
|
+
"description": "Gemini 2.5 Flash Lite 是 Gemini 2.5 的輕量版本,優化延遲與成本,適合高吞吐量場景。"
|
|
1645
1711
|
},
|
|
1646
1712
|
"google/gemini-2.5-flash-preview": {
|
|
1647
1713
|
"description": "Gemini 2.5 Flash 是 Google 最先進的主力模型,專為高級推理、編碼、數學和科學任務而設計。它包含內建的「思考」能力,使其能夠提供具有更高準確性和細緻上下文處理的回應。\n\n注意:此模型有兩個變體:思考和非思考。輸出定價根據思考能力是否啟用而有顯著差異。如果您選擇標準變體(不帶「:thinking」後綴),模型將明確避免生成思考令牌。\n\n要利用思考能力並接收思考令牌,您必須選擇「:thinking」變體,這將產生更高的思考輸出定價。\n\n此外,Gemini 2.5 Flash 可通過「推理最大令牌數」參數進行配置,如文檔中所述 (https://openrouter.ai/docs/use-cases/reasoning-tokens#max-tokens-for-reasoning)。"
|
|
@@ -1650,11 +1716,26 @@
|
|
|
1650
1716
|
"description": "Gemini 2.5 Flash 是 Google 最先進的主力模型,專為高級推理、編碼、數學和科學任務而設計。它包含內建的「思考」能力,使其能夠提供具有更高準確性和細緻上下文處理的回應。\n\n注意:此模型有兩個變體:思考和非思考。輸出定價根據思考能力是否啟用而有顯著差異。如果您選擇標準變體(不帶「:thinking」後綴),模型將明確避免生成思考令牌。\n\n要利用思考能力並接收思考令牌,您必須選擇「:thinking」變體,這將產生更高的思考輸出定價。\n\n此外,Gemini 2.5 Flash 可通過「推理最大令牌數」參數進行配置,如文檔中所述 (https://openrouter.ai/docs/use-cases/reasoning-tokens#max-tokens-for-reasoning)。"
|
|
1651
1717
|
},
|
|
1652
1718
|
"google/gemini-2.5-pro": {
|
|
1653
|
-
"description": "Gemini 2.5 Pro
|
|
1719
|
+
"description": "Gemini 2.5 Pro 是 Google 的旗艦級推理模型,支援長上下文與複雜任務。"
|
|
1720
|
+
},
|
|
1721
|
+
"google/gemini-2.5-pro-free": {
|
|
1722
|
+
"description": "Gemini 2.5 Pro 免費版,支援有限額度的多模態長上下文,適合試用與輕量工作流程。"
|
|
1654
1723
|
},
|
|
1655
1724
|
"google/gemini-2.5-pro-preview": {
|
|
1656
1725
|
"description": "Gemini 2.5 Pro Preview 是 Google 最先進的思維模型,能夠對程式碼、數學和 STEM 領域的複雜問題進行推理,以及使用長上下文分析大型資料集、程式碼庫和文件。"
|
|
1657
1726
|
},
|
|
1727
|
+
"google/gemini-3-pro-image-preview": {
|
|
1728
|
+
"description": "Gemini 3 Pro Image(Nano Banana Pro)是 Google 的圖像生成模型,同時支援多模態對話。"
|
|
1729
|
+
},
|
|
1730
|
+
"google/gemini-3-pro-image-preview-free": {
|
|
1731
|
+
"description": "Gemini 3 Pro Image 免費版,支援有限額度的多模態生成。"
|
|
1732
|
+
},
|
|
1733
|
+
"google/gemini-3-pro-preview": {
|
|
1734
|
+
"description": "Gemini 3 Pro 是 Gemini 系列的次世代多模態推理模型,能理解文字、音訊、圖像、影片等多種輸入,並處理複雜任務與大型程式碼庫。"
|
|
1735
|
+
},
|
|
1736
|
+
"google/gemini-3-pro-preview-free": {
|
|
1737
|
+
"description": "Gemini 3 Pro 免費預覽版,具備與標準版相同的多模態理解與推理能力,但受免費額度與速率限制影響,更適合體驗與低頻使用。"
|
|
1738
|
+
},
|
|
1658
1739
|
"google/gemini-embedding-001": {
|
|
1659
1740
|
"description": "最先進的嵌入模型,在英語、多語言和程式碼任務中具有出色的性能。"
|
|
1660
1741
|
},
|
|
@@ -1826,6 +1907,18 @@
|
|
|
1826
1907
|
"gpt-5-pro": {
|
|
1827
1908
|
"description": "GPT-5 pro 運用更多運算資源進行更深入的思考,持續提供更優質的答案。"
|
|
1828
1909
|
},
|
|
1910
|
+
"gpt-5.1": {
|
|
1911
|
+
"description": "GPT-5.1 — 為編碼與代理任務優化的旗艦模型,支援可調整的推理強度與更長的上下文。"
|
|
1912
|
+
},
|
|
1913
|
+
"gpt-5.1-chat-latest": {
|
|
1914
|
+
"description": "GPT-5.1 Chat:用於 ChatGPT 的 GPT-5.1 變體,適合對話場景。"
|
|
1915
|
+
},
|
|
1916
|
+
"gpt-5.1-codex": {
|
|
1917
|
+
"description": "GPT-5.1 Codex:針對代理型編碼任務優化的 GPT-5.1 版本,可於 Responses API 中用於更複雜的程式碼/代理工作流程。"
|
|
1918
|
+
},
|
|
1919
|
+
"gpt-5.1-codex-mini": {
|
|
1920
|
+
"description": "GPT-5.1 Codex mini:體積更小、成本更低的 Codex 變體,針對代理型編碼任務進行了優化。"
|
|
1921
|
+
},
|
|
1829
1922
|
"gpt-audio": {
|
|
1830
1923
|
"description": "GPT Audio 是面向音訊輸入輸出的通用聊天模型,支援在 Chat Completions API 中使用音訊 I/O。"
|
|
1831
1924
|
},
|
|
@@ -1868,6 +1961,12 @@
|
|
|
1868
1961
|
"grok-4-0709": {
|
|
1869
1962
|
"description": "xAI 的 Grok 4,具備強大的推理能力。"
|
|
1870
1963
|
},
|
|
1964
|
+
"grok-4-1-fast-non-reasoning": {
|
|
1965
|
+
"description": "前沿多模態模型,專為高效能代理工具調用進行優化。"
|
|
1966
|
+
},
|
|
1967
|
+
"grok-4-1-fast-reasoning": {
|
|
1968
|
+
"description": "前沿多模態模型,專為高效能代理工具調用進行優化。"
|
|
1969
|
+
},
|
|
1871
1970
|
"grok-4-fast-non-reasoning": {
|
|
1872
1971
|
"description": "我們很高興發布 Grok 4 Fast,這是我們在成本效益推理模型方面的最新進展。"
|
|
1873
1972
|
},
|
|
@@ -2001,32 +2100,47 @@
|
|
|
2001
2100
|
"description": "Imagen 第四代文字生成影像模型系列"
|
|
2002
2101
|
},
|
|
2003
2102
|
"imagen-4.0-generate-preview-06-06": {
|
|
2004
|
-
"description": "Imagen
|
|
2103
|
+
"description": "Imagen 第四代文字生成圖像模型系列"
|
|
2005
2104
|
},
|
|
2006
2105
|
"imagen-4.0-ultra-generate-001": {
|
|
2007
2106
|
"description": "Imagen 第四代文字生成影像模型系列 Ultra 版"
|
|
2008
2107
|
},
|
|
2009
2108
|
"imagen-4.0-ultra-generate-preview-06-06": {
|
|
2010
|
-
"description": "Imagen
|
|
2109
|
+
"description": "Imagen 第四代文字生成圖像模型系列的 Ultra 版本"
|
|
2011
2110
|
},
|
|
2012
2111
|
"inception/mercury-coder-small": {
|
|
2013
2112
|
"description": "Mercury Coder Small 是程式碼生成、除錯和重構任務的理想選擇,具有最小延遲。"
|
|
2014
2113
|
},
|
|
2015
|
-
"inclusionAI/Ling-1T": {
|
|
2016
|
-
"description": "Ling-1T 是「靈 2.0」系列的首款旗艦級 non-thinking 模型,擁有 1 兆總參數與每個 token 約 500 億個活躍參數。基於靈 2.0 架構打造,Ling-1T 旨在突破高效推理與可擴展認知的極限。Ling-1T-base 在超過 20 兆個高品質、推理密集的 token 上進行訓練。"
|
|
2017
|
-
},
|
|
2018
2114
|
"inclusionAI/Ling-flash-2.0": {
|
|
2019
2115
|
"description": "Ling-flash-2.0 是由螞蟻集團百靈團隊發布的 Ling 2.0 架構系列的第三款模型。它是一款混合專家(MoE)模型,總參數規模達到 1000 億,但每個 token 僅啟動 61 億參數(非詞向量啟動 48 億)。作為一個輕量級配置的模型,Ling-flash-2.0 在多個權威評測中展現出媲美甚至超越 400 億級別稠密(Dense)模型及更大規模 MoE 模型的性能。該模型旨在透過極致的架構設計與訓練策略,在「大模型等於大參數」的共識下探索高效能的路徑。"
|
|
2020
2116
|
},
|
|
2021
2117
|
"inclusionAI/Ling-mini-2.0": {
|
|
2022
2118
|
"description": "Ling-mini-2.0 是一款基於 MoE 架構的小尺寸高性能大型語言模型。它擁有 16B 總參數,但每個 token 僅啟動 1.4B(non-embedding 789M),從而實現了極高的生成速度。得益於高效的 MoE 設計與大規模高品質訓練資料,儘管啟動參數僅為 1.4B,Ling-mini-2.0 依然在下游任務中展現出可媲美 10B 以下 dense LLM 及更大規模 MoE 模型的頂尖性能。"
|
|
2023
2119
|
},
|
|
2024
|
-
"inclusionAI/Ring-1T": {
|
|
2025
|
-
"description": "Ring-1T 是由百靈(Bailing)團隊推出的萬億參數規模開源思想模型。該模型基於靈 2.0 架構與 Ling-1T-base 基礎模型訓練,總參數達 1 兆,活躍參數為 500 億,並支援高達 128K 的上下文視窗。透過大規模可驗證獎勵強化學習進行優化。"
|
|
2026
|
-
},
|
|
2027
2120
|
"inclusionAI/Ring-flash-2.0": {
|
|
2028
2121
|
"description": "Ring-flash-2.0 是一個基於 Ling-flash-2.0-base 深度優化的高性能思考模型。它採用混合專家(MoE)架構,總參數量為 100B,但在每次推理中僅啟動 6.1B 參數。該模型透過獨創的 icepop 演算法,解決了 MoE 大模型在強化學習(RL)訓練中的不穩定性難題,使其複雜推理能力在長週期訓練中得以持續提升。Ring-flash-2.0 在數學競賽、程式碼生成和邏輯推理等多個高難度基準測試中取得了顯著突破,其性能不僅超越了 40B 參數規模以下的頂尖稠密模型,還能媲美更大規模的開源 MoE 模型及閉源的高性能思考模型。儘管該模型專注於複雜推理,它在創意寫作等任務上也表現出色。此外,得益於其高效的架構設計,Ring-flash-2.0 在提供強大性能的同時,也實現了高速推理,顯著降低了思考模型在高併發場景下的部署成本。"
|
|
2029
2122
|
},
|
|
2123
|
+
"inclusionai/ling-1t": {
|
|
2124
|
+
"description": "Ling-1T 是 inclusionAI 的 1T MoE 大模型,針對高強度推理任務與大規模上下文進行優化。"
|
|
2125
|
+
},
|
|
2126
|
+
"inclusionai/ling-flash-2.0": {
|
|
2127
|
+
"description": "Ling-flash-2.0 是 inclusionAI 的 MoE 模型,優化效率與推理表現,適合中大型任務。"
|
|
2128
|
+
},
|
|
2129
|
+
"inclusionai/ling-mini-2.0": {
|
|
2130
|
+
"description": "Ling-mini-2.0 是 inclusionAI 的輕量化 MoE 模型,在保有推理能力的同時大幅降低成本。"
|
|
2131
|
+
},
|
|
2132
|
+
"inclusionai/ming-flash-omini-preview": {
|
|
2133
|
+
"description": "Ming-flash-omni Preview 是 inclusionAI 的多模態模型,支援語音、圖像與影片輸入,優化圖像渲染與語音辨識能力。"
|
|
2134
|
+
},
|
|
2135
|
+
"inclusionai/ring-1t": {
|
|
2136
|
+
"description": "Ring-1T 是 inclusionAI 的 trillion-parameter MoE 思考模型,適合大規模推理與研究型任務。"
|
|
2137
|
+
},
|
|
2138
|
+
"inclusionai/ring-flash-2.0": {
|
|
2139
|
+
"description": "Ring-flash-2.0 是 inclusionAI 面向高吞吐場景的 Ring 模型變體,強調速度與成本效率。"
|
|
2140
|
+
},
|
|
2141
|
+
"inclusionai/ring-mini-2.0": {
|
|
2142
|
+
"description": "Ring-mini-2.0 是 inclusionAI 的高吞吐輕量化 MoE 版本,主要用於高併發場景。"
|
|
2143
|
+
},
|
|
2030
2144
|
"internlm/internlm2_5-7b-chat": {
|
|
2031
2145
|
"description": "InternLM2.5 提供多場景下的智能對話解決方案。"
|
|
2032
2146
|
},
|
|
@@ -2036,14 +2150,26 @@
|
|
|
2036
2150
|
"internlm3-latest": {
|
|
2037
2151
|
"description": "我們最新的模型系列,有著卓越的推理性能,領跑同量級開源模型。默認指向我們最新發布的 InternLM3 系列模型"
|
|
2038
2152
|
},
|
|
2153
|
+
"internvl2.5-38b-mpo": {
|
|
2154
|
+
"description": "InternVL2.5 38B MPO,多模態預訓練模型,支援複雜圖文推理任務。"
|
|
2155
|
+
},
|
|
2039
2156
|
"internvl2.5-latest": {
|
|
2040
2157
|
"description": "我們仍在維護的 InternVL2.5 版本,具備優異且穩定的性能。默認指向我們最新發布的 InternVL2.5 系列模型,當前指向 internvl2.5-78b。"
|
|
2041
2158
|
},
|
|
2159
|
+
"internvl3-14b": {
|
|
2160
|
+
"description": "InternVL3 14B,中等規模多模態模型,在效能與成本間取得平衡。"
|
|
2161
|
+
},
|
|
2162
|
+
"internvl3-1b": {
|
|
2163
|
+
"description": "InternVL3 1B,輕量多模態模型,適合資源受限環境部署。"
|
|
2164
|
+
},
|
|
2165
|
+
"internvl3-38b": {
|
|
2166
|
+
"description": "InternVL3 38B,大規模多模態開源模型,適用於高精度圖文理解任務。"
|
|
2167
|
+
},
|
|
2042
2168
|
"internvl3-latest": {
|
|
2043
2169
|
"description": "我們最新發布的多模態大模型,具備更強的圖文理解能力、長時序圖片理解能力,性能比肩頂尖閉源模型。默認指向我們最新發布的 InternVL 系列模型,當前指向 internvl3-78b。"
|
|
2044
2170
|
},
|
|
2045
2171
|
"irag-1.0": {
|
|
2046
|
-
"description": "
|
|
2172
|
+
"description": "ERNIE iRAG,圖像檢索增強生成模型,支援以圖搜圖、圖文檢索與內容生成。"
|
|
2047
2173
|
},
|
|
2048
2174
|
"jamba-large": {
|
|
2049
2175
|
"description": "我們最強大、最先進的模型,專為處理企業級複雜任務而設計,具備卓越的性能。"
|
|
@@ -2064,7 +2190,13 @@
|
|
|
2064
2190
|
"description": "kimi-k2-0905-preview 模型上下文長度為 256k,具備更強的 Agentic Coding 能力、更突出的前端程式碼的美觀度和實用性、以及更好的上下文理解能力。"
|
|
2065
2191
|
},
|
|
2066
2192
|
"kimi-k2-instruct": {
|
|
2067
|
-
"description": "Kimi K2 Instruct
|
|
2193
|
+
"description": "Kimi K2 Instruct,Kimi 官方推理模型,支援長上下文與程式碼、問答等多場景。"
|
|
2194
|
+
},
|
|
2195
|
+
"kimi-k2-thinking": {
|
|
2196
|
+
"description": "kimi-k2-thinking 模型是月之暗面提供的具備通用 Agentic 能力與推理能力的思考模型,擅長深度推理,並可透過多步驟工具調用,協助解決各類難題。"
|
|
2197
|
+
},
|
|
2198
|
+
"kimi-k2-thinking-turbo": {
|
|
2199
|
+
"description": "K2 長思考模型的高速版本,支援 256k 上下文,擅長深度推理,輸出速度提升至每秒 60-100 tokens。"
|
|
2068
2200
|
},
|
|
2069
2201
|
"kimi-k2-turbo-preview": {
|
|
2070
2202
|
"description": "kimi-k2 是一款具備超強程式碼與 Agent 能力的 MoE 架構的基礎模型,總參數 1T,激活參數 32B。在通用知識推理、程式設計、數學與 Agent 等主要類別的基準效能測試中,K2 模型的表現超越其他主流開源模型。"
|
|
@@ -2078,6 +2210,9 @@
|
|
|
2078
2210
|
"kimi-thinking-preview": {
|
|
2079
2211
|
"description": "kimi-thinking-preview 模型是月之暗面提供的具有多模態推理能力和通用推理能力的多模態思考模型,它擅長深度推理,幫助解決更多更難的事情"
|
|
2080
2212
|
},
|
|
2213
|
+
"kuaishou/kat-coder-pro-v1": {
|
|
2214
|
+
"description": "KAT-Coder-Pro-V1(限時免費)專注於程式碼理解與自動化編程,適用於高效的程式代理任務。"
|
|
2215
|
+
},
|
|
2081
2216
|
"learnlm-1.5-pro-experimental": {
|
|
2082
2217
|
"description": "LearnLM 是一個實驗性的、特定於任務的語言模型,經過訓練以符合學習科學原則,可在教學和學習場景中遵循系統指令,充當專家導師等。"
|
|
2083
2218
|
},
|
|
@@ -2174,6 +2309,9 @@
|
|
|
2174
2309
|
"megrez-3b-instruct": {
|
|
2175
2310
|
"description": "Megrez 3B Instruct 是無問芯穹推出的小參數量高效模型。"
|
|
2176
2311
|
},
|
|
2312
|
+
"meituan/longcat-flash-chat": {
|
|
2313
|
+
"description": "美團開源的專為對話互動與智慧體任務優化的非思維型基礎模型,在工具調用與複雜多輪互動場景中表現出色"
|
|
2314
|
+
},
|
|
2177
2315
|
"meta-llama-3-70b-instruct": {
|
|
2178
2316
|
"description": "一個強大的70億參數模型,在推理、編碼和廣泛的語言應用中表現出色。"
|
|
2179
2317
|
},
|
|
@@ -2405,6 +2543,12 @@
|
|
|
2405
2543
|
"minimax-m2": {
|
|
2406
2544
|
"description": "MiniMax M2 是專為編碼與代理工作流程打造的高效大型語言模型。"
|
|
2407
2545
|
},
|
|
2546
|
+
"minimax/minimax-m2": {
|
|
2547
|
+
"description": "MiniMax-M2 是一款在編碼與代理任務上表現優異的高性價比模型,適合多種工程場景。"
|
|
2548
|
+
},
|
|
2549
|
+
"minimaxai/minimax-m2": {
|
|
2550
|
+
"description": "MiniMax-M2 是一款緊湊、快速且具高性價比的混合專家(MoE)模型,擁有 2300 億總參數與 100 億啟用參數,專為編碼與智慧體任務的頂級效能而打造,同時保有強大的通用智慧。此模型在多檔案編輯、編碼-執行-修復閉環、測試驗證修復以及複雜的長鏈工具鏈方面表現優異,是開發者工作流程的理想選擇。"
|
|
2551
|
+
},
|
|
2408
2552
|
"ministral-3b-latest": {
|
|
2409
2553
|
"description": "Ministral 3B 是 Mistral 的全球頂尖邊緣模型。"
|
|
2410
2554
|
},
|
|
@@ -2549,12 +2693,21 @@
|
|
|
2549
2693
|
"moonshotai/kimi-k2": {
|
|
2550
2694
|
"description": "Kimi K2 是由月之暗面 AI 開發的大規模混合專家 (MoE) 語言模型,具有 1 兆總參數和每次前向傳遞 320 億激活參數。它針對代理能力進行了優化,包括高級工具使用、推理和程式碼合成。"
|
|
2551
2695
|
},
|
|
2696
|
+
"moonshotai/kimi-k2-0711": {
|
|
2697
|
+
"description": "Kimi K2 0711 是 Kimi 系列的 Instruct 版本,適合高品質程式碼與工具調用場景。"
|
|
2698
|
+
},
|
|
2552
2699
|
"moonshotai/kimi-k2-0905": {
|
|
2553
|
-
"description": "
|
|
2700
|
+
"description": "Kimi K2 0905 是 Kimi 系列的 0905 更新,擴充上下文與推理效能,優化編碼場景。"
|
|
2554
2701
|
},
|
|
2555
2702
|
"moonshotai/kimi-k2-instruct-0905": {
|
|
2556
2703
|
"description": "kimi-k2-0905-preview 模型上下文長度為 256k,具備更強的 Agentic Coding 能力、更突出的前端程式碼的美觀度和實用性、以及更好的上下文理解能力。"
|
|
2557
2704
|
},
|
|
2705
|
+
"moonshotai/kimi-k2-thinking": {
|
|
2706
|
+
"description": "Kimi K2 Thinking 是 Moonshot 為深度推理任務優化的思考模型,具備通用 Agent 能力。"
|
|
2707
|
+
},
|
|
2708
|
+
"moonshotai/kimi-k2-thinking-turbo": {
|
|
2709
|
+
"description": "Kimi K2 Thinking Turbo 是 Kimi K2 Thinking 的高速版本,在保有深度推理能力的同時,顯著降低回應延遲。"
|
|
2710
|
+
},
|
|
2558
2711
|
"morph/morph-v3-fast": {
|
|
2559
2712
|
"description": "Morph 提供了一個專門的 AI 模型,將前沿模型(如 Claude 或 GPT-4o)建議的程式碼更改應用到您的現有程式碼檔案中 FAST - 4500+ tokens/秒。它充當 AI 編碼工作流程中的最後一步。支援 16k 輸入 tokens 和 16k 輸出 tokens。"
|
|
2560
2713
|
},
|
|
@@ -2637,28 +2790,49 @@
|
|
|
2637
2790
|
"description": "來自 OpenAI 的 gpt-4-turbo 具有廣泛的通用知識和領域專長,使其能夠遵循自然語言的複雜指令並準確解決困難問題。它的知識截止日期為 2023 年 4 月,上下文視窗為 128,000 個 token。"
|
|
2638
2791
|
},
|
|
2639
2792
|
"openai/gpt-4.1": {
|
|
2640
|
-
"description": "GPT
|
|
2793
|
+
"description": "GPT-4.1 系列提供更長上下文與更強的工程與推理能力。"
|
|
2641
2794
|
},
|
|
2642
2795
|
"openai/gpt-4.1-mini": {
|
|
2643
|
-
"description": "GPT
|
|
2796
|
+
"description": "GPT-4.1 Mini 提供更低延遲與更佳性價比,適合中等上下文場景。"
|
|
2644
2797
|
},
|
|
2645
2798
|
"openai/gpt-4.1-nano": {
|
|
2646
|
-
"description": "GPT-4.1
|
|
2799
|
+
"description": "GPT-4.1 Nano 是極低成本與低延遲選項,適合高頻短對話或分類場景。"
|
|
2647
2800
|
},
|
|
2648
2801
|
"openai/gpt-4o": {
|
|
2649
|
-
"description": "GPT-4o
|
|
2802
|
+
"description": "GPT-4o 系列是 OpenAI 的 Omni 模型,支援文字 + 圖片輸入與文字輸出。"
|
|
2650
2803
|
},
|
|
2651
2804
|
"openai/gpt-4o-mini": {
|
|
2652
|
-
"description": "GPT-4o
|
|
2805
|
+
"description": "GPT-4o-mini 是 GPT-4o 的快速小型版本,適合低延遲圖文混合場景。"
|
|
2653
2806
|
},
|
|
2654
2807
|
"openai/gpt-5": {
|
|
2655
|
-
"description": "GPT-5 是 OpenAI
|
|
2808
|
+
"description": "GPT-5 是 OpenAI 的高效能模型,適用於各類生產與研究任務。"
|
|
2809
|
+
},
|
|
2810
|
+
"openai/gpt-5-chat": {
|
|
2811
|
+
"description": "GPT-5 Chat 是針對對話場景優化的 GPT-5 子型號,降低延遲以提升互動體驗。"
|
|
2812
|
+
},
|
|
2813
|
+
"openai/gpt-5-codex": {
|
|
2814
|
+
"description": "GPT-5-Codex 是針對編碼場景進一步優化的 GPT-5 變體,適合大規模程式碼工作流程。"
|
|
2656
2815
|
},
|
|
2657
2816
|
"openai/gpt-5-mini": {
|
|
2658
|
-
"description": "GPT-5
|
|
2817
|
+
"description": "GPT-5 Mini 是 GPT-5 系列的精簡版,適用於低延遲與低成本場景。"
|
|
2659
2818
|
},
|
|
2660
2819
|
"openai/gpt-5-nano": {
|
|
2661
|
-
"description": "GPT-5
|
|
2820
|
+
"description": "GPT-5 Nano 是系列中超小型版本,適合對成本與延遲要求極高的場景。"
|
|
2821
|
+
},
|
|
2822
|
+
"openai/gpt-5-pro": {
|
|
2823
|
+
"description": "GPT-5 Pro 是 OpenAI 的旗艦模型,提供更強的推理、程式碼生成與企業級功能,支援測試時路由與更嚴謹的安全策略。"
|
|
2824
|
+
},
|
|
2825
|
+
"openai/gpt-5.1": {
|
|
2826
|
+
"description": "GPT-5.1 是 GPT-5 系列最新旗艦模型,相較 GPT-5 在通用推理、指令遵循與對話自然度上皆有顯著提升,適用於廣泛任務場景。"
|
|
2827
|
+
},
|
|
2828
|
+
"openai/gpt-5.1-chat": {
|
|
2829
|
+
"description": "GPT-5.1 Chat 是 GPT-5.1 系列的輕量成員,針對低延遲對話進行優化,同時保有強大的推理與指令執行能力。"
|
|
2830
|
+
},
|
|
2831
|
+
"openai/gpt-5.1-codex": {
|
|
2832
|
+
"description": "GPT-5.1-Codex 是針對軟體工程與編碼工作流程優化的 GPT-5.1 變體,適合大型重構、複雜除錯與長時間自主編碼任務。"
|
|
2833
|
+
},
|
|
2834
|
+
"openai/gpt-5.1-codex-mini": {
|
|
2835
|
+
"description": "GPT-5.1-Codex-Mini 是 GPT-5.1-Codex 的小型加速版本,更適合對延遲與成本敏感的編碼場景。"
|
|
2662
2836
|
},
|
|
2663
2837
|
"openai/gpt-oss-120b": {
|
|
2664
2838
|
"description": "極其能幹的通用大型語言模型,具有強大、可控的推理能力"
|
|
@@ -2685,7 +2859,7 @@
|
|
|
2685
2859
|
"description": "o3-mini 高推理等級版,在與 o1-mini 相同的成本和延遲目標下提供高智能。"
|
|
2686
2860
|
},
|
|
2687
2861
|
"openai/o4-mini": {
|
|
2688
|
-
"description": "OpenAI
|
|
2862
|
+
"description": "OpenAI o4-mini 是 OpenAI 的小型高效推理模型,適合低延遲場景。"
|
|
2689
2863
|
},
|
|
2690
2864
|
"openai/o4-mini-high": {
|
|
2691
2865
|
"description": "o4-mini 高推理等級版,專為快速有效的推理而優化,在編碼和視覺任務中表現出極高的效率和性能。"
|
|
@@ -2735,6 +2909,54 @@
|
|
|
2735
2909
|
"pro-deepseek-v3": {
|
|
2736
2910
|
"description": "企業專屬服務專用模型,包含並發服務。"
|
|
2737
2911
|
},
|
|
2912
|
+
"qianfan-70b": {
|
|
2913
|
+
"description": "Qianfan 70B,大參數中文模型,適合高品質內容生成與複雜推理任務。"
|
|
2914
|
+
},
|
|
2915
|
+
"qianfan-8b": {
|
|
2916
|
+
"description": "Qianfan 8B,中型通用模型,適合成本與效果平衡的文字生成與問答場景。"
|
|
2917
|
+
},
|
|
2918
|
+
"qianfan-agent-intent-32k": {
|
|
2919
|
+
"description": "Qianfan Agent Intent 32K,面向意圖識別與智能體編排的模型,支援長上下文場景。"
|
|
2920
|
+
},
|
|
2921
|
+
"qianfan-agent-lite-8k": {
|
|
2922
|
+
"description": "Qianfan Agent Lite 8K,輕量智能體模型,適合低成本多輪對話與業務編排。"
|
|
2923
|
+
},
|
|
2924
|
+
"qianfan-agent-speed-32k": {
|
|
2925
|
+
"description": "Qianfan Agent Speed 32K,高流控智能體模型,適合大規模、多任務 Agent 應用。"
|
|
2926
|
+
},
|
|
2927
|
+
"qianfan-agent-speed-8k": {
|
|
2928
|
+
"description": "Qianfan Agent Speed 8K,面向中短對話與快速回應的高併發智能體模型。"
|
|
2929
|
+
},
|
|
2930
|
+
"qianfan-check-vl": {
|
|
2931
|
+
"description": "Qianfan Check VL,多模態內容審核與檢測模型,支援圖文合規與識別任務。"
|
|
2932
|
+
},
|
|
2933
|
+
"qianfan-composition": {
|
|
2934
|
+
"description": "Qianfan Composition,多模態創作模型,支援圖文混合理解與生成。"
|
|
2935
|
+
},
|
|
2936
|
+
"qianfan-engcard-vl": {
|
|
2937
|
+
"description": "Qianfan EngCard VL,專注英文場景的多模態識別模型。"
|
|
2938
|
+
},
|
|
2939
|
+
"qianfan-lightning-128b-a19b": {
|
|
2940
|
+
"description": "Qianfan Lightning 128B A19B,高效能中文通用模型,適用於複雜問答與大規模推理任務。"
|
|
2941
|
+
},
|
|
2942
|
+
"qianfan-llama-vl-8b": {
|
|
2943
|
+
"description": "Qianfan Llama VL 8B,基於 Llama 的多模態模型,面向通用圖文理解任務。"
|
|
2944
|
+
},
|
|
2945
|
+
"qianfan-multipicocr": {
|
|
2946
|
+
"description": "Qianfan MultiPicOCR,多圖 OCR 模型,支援多張圖片文字檢測與識別。"
|
|
2947
|
+
},
|
|
2948
|
+
"qianfan-qi-vl": {
|
|
2949
|
+
"description": "Qianfan QI VL,多模態問答模型,支援複雜圖文場景下的精準檢索與問答。"
|
|
2950
|
+
},
|
|
2951
|
+
"qianfan-singlepicocr": {
|
|
2952
|
+
"description": "Qianfan SinglePicOCR,單圖 OCR 模型,支援高精度字元識別。"
|
|
2953
|
+
},
|
|
2954
|
+
"qianfan-vl-70b": {
|
|
2955
|
+
"description": "Qianfan VL 70B,大參數視覺語言模型,適用於複雜圖文理解場景。"
|
|
2956
|
+
},
|
|
2957
|
+
"qianfan-vl-8b": {
|
|
2958
|
+
"description": "Qianfan VL 8B,輕量視覺語言模型,適合日常圖文問答與分析。"
|
|
2959
|
+
},
|
|
2738
2960
|
"qvq-72b-preview": {
|
|
2739
2961
|
"description": "QVQ模型是由 Qwen 團隊開發的實驗性研究模型,專注於提升視覺推理能力,尤其在數學推理領域。"
|
|
2740
2962
|
},
|
|
@@ -2841,7 +3063,7 @@
|
|
|
2841
3063
|
"description": "強大的中型代碼模型,支持 32K 上下文長度,擅長多語言編程。"
|
|
2842
3064
|
},
|
|
2843
3065
|
"qwen/qwen3-14b": {
|
|
2844
|
-
"description": "Qwen3-14B 是
|
|
3066
|
+
"description": "Qwen3-14B 是 Qwen 系列的 14B 版本,適合常規推理與對話場景。"
|
|
2845
3067
|
},
|
|
2846
3068
|
"qwen/qwen3-14b:free": {
|
|
2847
3069
|
"description": "Qwen3-14B 是 Qwen3 系列中一個密集的 148 億參數因果語言模型,專為複雜推理和高效對話而設計。它支持在用於數學、編程和邏輯推理等任務的「思考」模式與用於通用對話的「非思考」模式之間無縫切換。該模型經過微調,可用於指令遵循、代理工具使用、創意寫作以及跨 100 多種語言和方言的多語言任務。它原生處理 32K 令牌上下文,並可使用基於 YaRN 的擴展擴展到 131K 令牌。"
|
|
@@ -2849,6 +3071,12 @@
|
|
|
2849
3071
|
"qwen/qwen3-235b-a22b": {
|
|
2850
3072
|
"description": "Qwen3-235B-A22B 是由 Qwen 開發的 235B 參數專家混合 (MoE) 模型,每次前向傳遞激活 22B 參數。它支持在用於複雜推理、數學和代碼任務的「思考」模式與用於一般對話效率的「非思考」模式之間無縫切換。該模型展示了強大的推理能力、多語言支持(100 多種語言和方言)、高級指令遵循和代理工具調用能力。它原生處理 32K 令牌上下文窗口,並使用基於 YaRN 的擴展擴展到 131K 令牌。"
|
|
2851
3073
|
},
|
|
3074
|
+
"qwen/qwen3-235b-a22b-2507": {
|
|
3075
|
+
"description": "Qwen3-235B-A22B-Instruct-2507 為 Qwen3 系列的 Instruct 版本,兼顧多語言指令與長上下文場景。"
|
|
3076
|
+
},
|
|
3077
|
+
"qwen/qwen3-235b-a22b-thinking-2507": {
|
|
3078
|
+
"description": "Qwen3-235B-A22B-Thinking-2507 為 Qwen3 的 Thinking 變體,針對複雜數學與推理任務進行強化。"
|
|
3079
|
+
},
|
|
2852
3080
|
"qwen/qwen3-235b-a22b:free": {
|
|
2853
3081
|
"description": "Qwen3-235B-A22B 是由 Qwen 開發的 235B 參數專家混合 (MoE) 模型,每次前向傳遞激活 22B 參數。它支持在用於複雜推理、數學和代碼任務的「思考」模式與用於一般對話效率的「非思考」模式之間無縫切換。該模型展示了強大的推理能力、多語言支持(100 多種語言和方言)、高級指令遵循和代理工具調用能力。它原生處理 32K 令牌上下文窗口,並使用基於 YaRN 的擴展擴展到 131K 令牌。"
|
|
2854
3082
|
},
|
|
@@ -2867,6 +3095,21 @@
|
|
|
2867
3095
|
"qwen/qwen3-8b:free": {
|
|
2868
3096
|
"description": "Qwen3-8B 是 Qwen3 系列中一個密集的 82 億參數因果語言模型,專為推理密集型任務和高效對話而設計。它支持在用於數學、編碼和邏輯推理的「思考」模式與用於一般對話的「非思考」模式之間無縫切換。該模型經過微調,可用於指令遵循、代理集成、創意寫作以及跨 100 多種語言和方言的多語言使用。它原生支持 32K 令牌上下文窗口,並可通過 YaRN 擴展到 131K 令牌。"
|
|
2869
3097
|
},
|
|
3098
|
+
"qwen/qwen3-coder": {
|
|
3099
|
+
"description": "Qwen3-Coder 是 Qwen3 的程式碼生成器系列,擅長長文檔中的程式碼理解與生成。"
|
|
3100
|
+
},
|
|
3101
|
+
"qwen/qwen3-coder-plus": {
|
|
3102
|
+
"description": "Qwen3-Coder-Plus 為 Qwen 系列特別優化的編碼代理模型,支援更複雜的工具調用與長期對話。"
|
|
3103
|
+
},
|
|
3104
|
+
"qwen/qwen3-max": {
|
|
3105
|
+
"description": "Qwen3 Max 是 Qwen3 系列的高階推理模型,適合多語言推理與工具整合。"
|
|
3106
|
+
},
|
|
3107
|
+
"qwen/qwen3-max-preview": {
|
|
3108
|
+
"description": "Qwen3 Max(預覽)是 Qwen 系列面向高階推理與工具整合的 Max 版本。"
|
|
3109
|
+
},
|
|
3110
|
+
"qwen/qwen3-vl-plus": {
|
|
3111
|
+
"description": "Qwen3 VL-Plus 為 Qwen3 的視覺增強版本,提升多模態推理與影片處理能力。"
|
|
3112
|
+
},
|
|
2870
3113
|
"qwen2": {
|
|
2871
3114
|
"description": "Qwen2 是阿里巴巴的新一代大規模語言模型,以優異的性能支持多元化的應用需求。"
|
|
2872
3115
|
},
|
|
@@ -2886,7 +3129,7 @@
|
|
|
2886
3129
|
"description": "通義千問2.5對外開源的72B規模的模型。"
|
|
2887
3130
|
},
|
|
2888
3131
|
"qwen2.5-7b-instruct": {
|
|
2889
|
-
"description": "
|
|
3132
|
+
"description": "Qwen2.5 7B Instruct,成熟的開源指令模型,適用於多場景對話與生成。"
|
|
2890
3133
|
},
|
|
2891
3134
|
"qwen2.5-coder-1.5b-instruct": {
|
|
2892
3135
|
"description": "通義千問代碼模型開源版。"
|
|
@@ -2919,13 +3162,13 @@
|
|
|
2919
3162
|
"description": "Qwen-Omni 系列模型支援輸入多種模態的數據,包括視頻、音頻、圖片、文本,並輸出音頻與文本。"
|
|
2920
3163
|
},
|
|
2921
3164
|
"qwen2.5-vl-32b-instruct": {
|
|
2922
|
-
"description": "Qwen2.5
|
|
3165
|
+
"description": "Qwen2.5 VL 32B Instruct,多模態開源模型,適合私有化部署與多場景應用。"
|
|
2923
3166
|
},
|
|
2924
3167
|
"qwen2.5-vl-72b-instruct": {
|
|
2925
3168
|
"description": "指令跟隨、數學、解題、代碼整體提升,萬物識別能力提升,支持多樣格式直接精準定位視覺元素,支持對長視頻文件(最長10分鐘)進行理解和秒級別的事件時刻定位,能理解時間先後和快慢,基於解析和定位能力支持操控OS或Mobile的Agent,關鍵信息抽取能力和Json格式輸出能力強,此版本為72B版本,本系列能力最強的版本。"
|
|
2926
3169
|
},
|
|
2927
3170
|
"qwen2.5-vl-7b-instruct": {
|
|
2928
|
-
"description": "
|
|
3171
|
+
"description": "Qwen2.5 VL 7B Instruct,輕量多模態模型,兼顧部署成本與識別能力。"
|
|
2929
3172
|
},
|
|
2930
3173
|
"qwen2.5-vl-instruct": {
|
|
2931
3174
|
"description": "Qwen2.5-VL 是 Qwen 模型系列中最新版本的視覺語言模型。"
|
|
@@ -2952,46 +3195,46 @@
|
|
|
2952
3195
|
"description": "Qwen3 是阿里巴巴的新一代大規模語言模型,以優異的性能支持多元化的應用需求。"
|
|
2953
3196
|
},
|
|
2954
3197
|
"qwen3-0.6b": {
|
|
2955
|
-
"description": "Qwen3
|
|
3198
|
+
"description": "Qwen3 0.6B,入門級模型,適用於簡單推理與資源極度受限環境。"
|
|
2956
3199
|
},
|
|
2957
3200
|
"qwen3-1.7b": {
|
|
2958
|
-
"description": "Qwen3
|
|
3201
|
+
"description": "Qwen3 1.7B,超輕量模型,便於邊緣與終端部署。"
|
|
2959
3202
|
},
|
|
2960
3203
|
"qwen3-14b": {
|
|
2961
|
-
"description": "Qwen3
|
|
3204
|
+
"description": "Qwen3 14B,中型模型,適合多語言問答與文字生成。"
|
|
2962
3205
|
},
|
|
2963
3206
|
"qwen3-235b-a22b": {
|
|
2964
|
-
"description": "Qwen3
|
|
3207
|
+
"description": "Qwen3 235B A22B,通用大型模型,面向多種複雜任務。"
|
|
2965
3208
|
},
|
|
2966
3209
|
"qwen3-235b-a22b-instruct-2507": {
|
|
2967
|
-
"description": "
|
|
3210
|
+
"description": "Qwen3 235B A22B Instruct 2507,通用旗艦 Instruct 模型,適合多種生成與推理任務。"
|
|
2968
3211
|
},
|
|
2969
3212
|
"qwen3-235b-a22b-thinking-2507": {
|
|
2970
|
-
"description": "
|
|
3213
|
+
"description": "Qwen3 235B A22B Thinking 2507,超大規模思考模型,適用於高難度推理。"
|
|
2971
3214
|
},
|
|
2972
3215
|
"qwen3-30b-a3b": {
|
|
2973
|
-
"description": "Qwen3
|
|
3216
|
+
"description": "Qwen3 30B A3B,中大型通用模型,在成本與效果間取得平衡。"
|
|
2974
3217
|
},
|
|
2975
3218
|
"qwen3-30b-a3b-instruct-2507": {
|
|
2976
|
-
"description": "
|
|
3219
|
+
"description": "Qwen3 30B A3B Instruct 2507,中大型 Instruct 模型,適合高品質生成與問答。"
|
|
2977
3220
|
},
|
|
2978
3221
|
"qwen3-30b-a3b-thinking-2507": {
|
|
2979
|
-
"description": "
|
|
3222
|
+
"description": "Qwen3 30B A3B Thinking 2507,中大型思考模型,兼顧精度與成本。"
|
|
2980
3223
|
},
|
|
2981
3224
|
"qwen3-32b": {
|
|
2982
|
-
"description": "Qwen3
|
|
3225
|
+
"description": "Qwen3 32B,適合需要更強理解能力的通用任務場景。"
|
|
2983
3226
|
},
|
|
2984
3227
|
"qwen3-4b": {
|
|
2985
|
-
"description": "Qwen3
|
|
3228
|
+
"description": "Qwen3 4B,適合中小型應用與本地推理場景。"
|
|
2986
3229
|
},
|
|
2987
3230
|
"qwen3-8b": {
|
|
2988
|
-
"description": "Qwen3
|
|
3231
|
+
"description": "Qwen3 8B,輕量模型,部署靈活,適用於高併發業務。"
|
|
2989
3232
|
},
|
|
2990
3233
|
"qwen3-coder-30b-a3b-instruct": {
|
|
2991
3234
|
"description": "通義千問程式碼模型開源版。最新的 qwen3-coder-30b-a3b-instruct 是基於 Qwen3 的程式碼生成模型,具備強大的 Coding Agent 能力,擅長工具調用與環境互動,能夠實現自主編程,程式能力卓越,同時兼具通用能力。"
|
|
2992
3235
|
},
|
|
2993
3236
|
"qwen3-coder-480b-a35b-instruct": {
|
|
2994
|
-
"description": "
|
|
3237
|
+
"description": "Qwen3 Coder 480B A35B Instruct,旗艦級程式碼模型,支援多語言編程與複雜程式碼理解。"
|
|
2995
3238
|
},
|
|
2996
3239
|
"qwen3-coder-flash": {
|
|
2997
3240
|
"description": "通義千問程式碼模型。最新的 Qwen3-Coder 系列模型是基於 Qwen3 的程式碼生成模型,具有強大的Coding Agent能力,擅長工具調用和環境互動,能夠實現自主程式設計,程式碼能力卓越的同時兼具通用能力。"
|
|
@@ -3005,32 +3248,41 @@
|
|
|
3005
3248
|
"qwen3-max": {
|
|
3006
3249
|
"description": "通義千問3系列Max模型,相較2.5系列整體通用能力有大幅度提升,中英文通用文本理解能力、複雜指令遵循能力、主觀開放任務能力、多語言能力、工具調用能力均顯著增強;模型知識幻覺更少。最新的qwen3-max模型:相較qwen3-max-preview版本,在智能體編程與工具調用方向進行了專項升級。本次發布的正式版模型達到領域SOTA水平,適配場景更加複雜的智能體需求。"
|
|
3007
3250
|
},
|
|
3251
|
+
"qwen3-max-preview": {
|
|
3252
|
+
"description": "通義千問系列中效果最佳的模型,適合處理複雜、多步驟的任務。預覽版已支援推理能力。"
|
|
3253
|
+
},
|
|
3008
3254
|
"qwen3-next-80b-a3b-instruct": {
|
|
3009
3255
|
"description": "基於 Qwen3 的新一代非思考模式開源模型,相較上一版本(通義千問3-235B-A22B-Instruct-2507)中文文本理解能力更佳、邏輯推理能力有增強、文本生成類任務表現更好。"
|
|
3010
3256
|
},
|
|
3011
3257
|
"qwen3-next-80b-a3b-thinking": {
|
|
3012
|
-
"description": "
|
|
3258
|
+
"description": "Qwen3 Next 80B A3B Thinking,面向複雜任務的旗艦推理模型版本。"
|
|
3013
3259
|
},
|
|
3014
3260
|
"qwen3-omni-flash": {
|
|
3015
3261
|
"description": "Qwen-Omni 模型能夠接收文字、圖片、音訊、影片等多種模態的組合輸入,並生成文字或語音形式的回應,提供多種擬人化音色,支援多語言與方言語音輸出,適用於文字創作、視覺辨識、語音助理等場景。"
|
|
3016
3262
|
},
|
|
3017
3263
|
"qwen3-vl-235b-a22b-instruct": {
|
|
3018
|
-
"description": "Qwen3 VL 235B A22B
|
|
3264
|
+
"description": "Qwen3 VL 235B A22B Instruct,旗艦多模態模型,面向高要求理解與創作場景。"
|
|
3019
3265
|
},
|
|
3020
3266
|
"qwen3-vl-235b-a22b-thinking": {
|
|
3021
|
-
"description": "Qwen3 VL 235B A22B
|
|
3267
|
+
"description": "Qwen3 VL 235B A22B Thinking,旗艦思考版,用於複雜多模態推理與規劃任務。"
|
|
3022
3268
|
},
|
|
3023
3269
|
"qwen3-vl-30b-a3b-instruct": {
|
|
3024
|
-
"description": "Qwen3 VL 30B
|
|
3270
|
+
"description": "Qwen3 VL 30B A3B Instruct,多模態大型模型,兼顧精度與推理效能。"
|
|
3025
3271
|
},
|
|
3026
3272
|
"qwen3-vl-30b-a3b-thinking": {
|
|
3027
|
-
"description": "
|
|
3273
|
+
"description": "Qwen3 VL 30B A3B Thinking,面向複雜多模態任務的深度思考版本。"
|
|
3274
|
+
},
|
|
3275
|
+
"qwen3-vl-32b-instruct": {
|
|
3276
|
+
"description": "Qwen3 VL 32B Instruct,多模態指令微調模型,適用於高品質圖文問答與創作。"
|
|
3277
|
+
},
|
|
3278
|
+
"qwen3-vl-32b-thinking": {
|
|
3279
|
+
"description": "Qwen3 VL 32B Thinking,多模態深度思考版本,強化複雜推理與長鏈路分析。"
|
|
3028
3280
|
},
|
|
3029
3281
|
"qwen3-vl-8b-instruct": {
|
|
3030
|
-
"description": "Qwen3 VL 8B
|
|
3282
|
+
"description": "Qwen3 VL 8B Instruct,輕量多模態模型,適合日常視覺問答與應用整合。"
|
|
3031
3283
|
},
|
|
3032
3284
|
"qwen3-vl-8b-thinking": {
|
|
3033
|
-
"description": "Qwen3 VL 8B
|
|
3285
|
+
"description": "Qwen3 VL 8B Thinking,多模態思維鏈模型,適合對視覺資訊進行細緻推理。"
|
|
3034
3286
|
},
|
|
3035
3287
|
"qwen3-vl-flash": {
|
|
3036
3288
|
"description": "Qwen3 VL Flash:輕量化高速推理版本,適用於對延遲敏感或大量請求的場景。"
|
|
@@ -3152,9 +3404,6 @@
|
|
|
3152
3404
|
"step-r1-v-mini": {
|
|
3153
3405
|
"description": "該模型是擁有強大的圖像理解能力的推理大模型,能夠處理圖像和文字信息,經過深度思考後輸出文本生成文本內容。該模型在視覺推理領域表現突出,同時擁有第一梯隊的數學、程式碼、文本推理能力。上下文長度為100k。"
|
|
3154
3406
|
},
|
|
3155
|
-
"step3": {
|
|
3156
|
-
"description": "Step3 是階躍星辰推出的多模態模型,具備強大的視覺理解能力。"
|
|
3157
|
-
},
|
|
3158
3407
|
"stepfun-ai/step3": {
|
|
3159
3408
|
"description": "Step3 是由階躍星辰(StepFun)發布的前沿多模態推理模型,它基於擁有 321B 總參數和 38B 激活參數的專家混合(MoE)架構構建。該模型採用端到端設計,旨在將解碼成本降到最低,同時在視覺-語言推理方面提供頂級效能。透過多矩陣分解注意力(MFA)與注意力與 FFN 解耦(AFD)的協同設計,Step3 在旗艦級與較低階的加速器上仍能維持卓越效率。在預訓練階段,Step3 處理了超過 20T 的文字 token 與 4T 的圖文混合 token,涵蓋十多種語言。該模型在數學、程式碼及多模態等多項基準測試中,均達到開源模型的領先水準。"
|
|
3160
3409
|
},
|
|
@@ -3236,6 +3485,9 @@
|
|
|
3236
3485
|
"vercel/v0-1.5-md": {
|
|
3237
3486
|
"description": "訪問 v0 背後的模型以生成、修復和優化現代 Web 應用,具有特定框架的推理和最新知識。"
|
|
3238
3487
|
},
|
|
3488
|
+
"volcengine/doubao-seed-code": {
|
|
3489
|
+
"description": "Doubao-Seed-Code 是字節火山引擎針對 Agentic Programming 優化的大模型,在多項編程與代理基準上表現優異,支援 256K 上下文。"
|
|
3490
|
+
},
|
|
3239
3491
|
"wan2.2-t2i-flash": {
|
|
3240
3492
|
"description": "萬相2.2極速版,當前最新模型。在創意性、穩定性、寫實質感上全面升級,生成速度快,性價比高。"
|
|
3241
3493
|
},
|
|
@@ -3263,6 +3515,24 @@
|
|
|
3263
3515
|
"wizardlm2:8x22b": {
|
|
3264
3516
|
"description": "WizardLM 2 是微軟 AI 提供的語言模型,在複雜對話、多語言、推理和智能助手領域表現尤為出色。"
|
|
3265
3517
|
},
|
|
3518
|
+
"x-ai/grok-4": {
|
|
3519
|
+
"description": "Grok 4 是 xAI 的旗艦推理模型,提供強大的推理與多模態能力。"
|
|
3520
|
+
},
|
|
3521
|
+
"x-ai/grok-4-fast": {
|
|
3522
|
+
"description": "Grok 4 Fast 是 xAI 的高吞吐、低成本模型(支援 2M 上下文視窗),適合需要高併發與長上下文的使用場景。"
|
|
3523
|
+
},
|
|
3524
|
+
"x-ai/grok-4-fast-non-reasoning": {
|
|
3525
|
+
"description": "Grok 4 Fast(Non-Reasoning)是 xAI 的高吞吐、低成本多模態模型(支援 2M 上下文視窗),適用於對延遲與成本敏感但不需啟用模型內推理的場景。與 Grok 4 Fast 的 reasoning 版本並列,可透過 API 的 reasoning enable 參數在需要時啟用推理功能。Prompts 與 completions 可能會被 xAI 或 OpenRouter 用於改進未來模型。"
|
|
3526
|
+
},
|
|
3527
|
+
"x-ai/grok-4.1-fast": {
|
|
3528
|
+
"description": "Grok 4 Fast 是 xAI 的高吞吐、低成本模型(支援 2M 上下文視窗),適合需要高併發與長上下文的使用場景。"
|
|
3529
|
+
},
|
|
3530
|
+
"x-ai/grok-4.1-fast-non-reasoning": {
|
|
3531
|
+
"description": "Grok 4 Fast(Non-Reasoning)是 xAI 的高吞吐、低成本多模態模型(支援 2M 上下文視窗),適用於對延遲與成本敏感但不需啟用模型內推理的場景。與 Grok 4 Fast 的 reasoning 版本並列,可透過 API 的 reasoning enable 參數在需要時啟用推理功能。Prompts 與 completions 可能會被 xAI 或 OpenRouter 用於改進未來模型。"
|
|
3532
|
+
},
|
|
3533
|
+
"x-ai/grok-code-fast-1": {
|
|
3534
|
+
"description": "Grok Code Fast 1 是 xAI 的快速程式碼模型,輸出具可讀性與工程適配性。"
|
|
3535
|
+
},
|
|
3266
3536
|
"x1": {
|
|
3267
3537
|
"description": "Spark X1 模型將進一步升級,在原來數學任務國內領先的基礎上,推理、文本生成、語言理解等通用任務實現效果對標 OpenAI o1 和 DeepSeek R1。"
|
|
3268
3538
|
},
|
|
@@ -3323,6 +3593,15 @@
|
|
|
3323
3593
|
"yi-vision-v2": {
|
|
3324
3594
|
"description": "複雜視覺任務模型,提供基於多張圖片的高性能理解、分析能力。"
|
|
3325
3595
|
},
|
|
3596
|
+
"z-ai/glm-4.5": {
|
|
3597
|
+
"description": "GLM 4.5 是 Z.AI 的旗艦模型,支援混合推理模式並針對工程與長上下文任務進行優化。"
|
|
3598
|
+
},
|
|
3599
|
+
"z-ai/glm-4.5-air": {
|
|
3600
|
+
"description": "GLM 4.5 Air 是 GLM 4.5 的輕量化版本,適合成本敏感場景但保有強大推理能力。"
|
|
3601
|
+
},
|
|
3602
|
+
"z-ai/glm-4.6": {
|
|
3603
|
+
"description": "GLM 4.6 是 Z.AI 的旗艦模型,擴展上下文長度與編碼能力。"
|
|
3604
|
+
},
|
|
3326
3605
|
"zai-org/GLM-4.5": {
|
|
3327
3606
|
"description": "GLM-4.5 是一款專為智能體應用打造的基礎模型,使用了混合專家(Mixture-of-Experts)架構。在工具調用、網頁瀏覽、軟體工程、前端程式設計領域進行了深度優化,支持無縫接入 Claude Code、Roo Code 等程式碼智能體中使用。GLM-4.5 採用混合推理模式,可以適應複雜推理和日常使用等多種應用場景。"
|
|
3328
3607
|
},
|
|
@@ -3343,5 +3622,8 @@
|
|
|
3343
3622
|
},
|
|
3344
3623
|
"zai/glm-4.5v": {
|
|
3345
3624
|
"description": "GLM-4.5V 基於 GLM-4.5-Air 基礎模型構建,繼承了 GLM-4.1V-Thinking 的經過驗證的技術,同時透過強大的 1060 億參數 MoE 架構實現了有效的擴展。"
|
|
3625
|
+
},
|
|
3626
|
+
"zenmux/auto": {
|
|
3627
|
+
"description": "ZenMux 的自動路由功能會根據你的請求內容,在支援的模型中自動選擇目前性價比最高、表現最佳的模型。"
|
|
3346
3628
|
}
|
|
3347
3629
|
}
|