@lobehub/lobehub 2.0.0-next.272 → 2.0.0-next.274
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/CHANGELOG.md +59 -0
- package/changelog/v1.json +18 -0
- package/locales/ar/chat.json +7 -0
- package/locales/ar/common.json +1 -1
- package/locales/ar/discover.json +2 -2
- package/locales/ar/models.json +40 -12
- package/locales/ar/onboarding.json +1 -1
- package/locales/ar/plugin.json +22 -1
- package/locales/ar/providers.json +0 -1
- package/locales/bg-BG/chat.json +7 -0
- package/locales/bg-BG/common.json +2 -0
- package/locales/bg-BG/discover.json +2 -2
- package/locales/bg-BG/models.json +48 -13
- package/locales/bg-BG/onboarding.json +1 -1
- package/locales/bg-BG/plugin.json +22 -1
- package/locales/bg-BG/providers.json +0 -1
- package/locales/de-DE/chat.json +7 -0
- package/locales/de-DE/common.json +2 -0
- package/locales/de-DE/discover.json +2 -2
- package/locales/de-DE/models.json +37 -13
- package/locales/de-DE/onboarding.json +3 -0
- package/locales/de-DE/plugin.json +22 -1
- package/locales/de-DE/providers.json +0 -1
- package/locales/en-US/chat.json +7 -0
- package/locales/en-US/discover.json +2 -2
- package/locales/en-US/models.json +15 -15
- package/locales/en-US/plugin.json +22 -1
- package/locales/en-US/providers.json +0 -1
- package/locales/es-ES/chat.json +7 -0
- package/locales/es-ES/common.json +2 -0
- package/locales/es-ES/discover.json +2 -2
- package/locales/es-ES/models.json +32 -14
- package/locales/es-ES/onboarding.json +3 -0
- package/locales/es-ES/plugin.json +22 -1
- package/locales/es-ES/providers.json +0 -1
- package/locales/fa-IR/chat.json +7 -0
- package/locales/fa-IR/common.json +2 -0
- package/locales/fa-IR/discover.json +2 -2
- package/locales/fa-IR/models.json +36 -14
- package/locales/fa-IR/onboarding.json +3 -0
- package/locales/fa-IR/plugin.json +22 -1
- package/locales/fa-IR/providers.json +0 -1
- package/locales/fr-FR/chat.json +7 -0
- package/locales/fr-FR/common.json +2 -0
- package/locales/fr-FR/discover.json +2 -2
- package/locales/fr-FR/models.json +95 -13
- package/locales/fr-FR/onboarding.json +3 -0
- package/locales/fr-FR/plugin.json +22 -1
- package/locales/fr-FR/providers.json +0 -1
- package/locales/it-IT/chat.json +7 -0
- package/locales/it-IT/common.json +2 -0
- package/locales/it-IT/discover.json +2 -2
- package/locales/it-IT/models.json +8 -13
- package/locales/it-IT/onboarding.json +3 -0
- package/locales/it-IT/plugin.json +22 -1
- package/locales/it-IT/providers.json +0 -1
- package/locales/ja-JP/chat.json +7 -0
- package/locales/ja-JP/common.json +2 -0
- package/locales/ja-JP/discover.json +2 -2
- package/locales/ja-JP/models.json +76 -8
- package/locales/ja-JP/onboarding.json +3 -0
- package/locales/ja-JP/plugin.json +22 -1
- package/locales/ja-JP/providers.json +0 -1
- package/locales/ko-KR/chat.json +7 -0
- package/locales/ko-KR/common.json +2 -0
- package/locales/ko-KR/discover.json +2 -2
- package/locales/ko-KR/models.json +8 -15
- package/locales/ko-KR/onboarding.json +3 -0
- package/locales/ko-KR/plugin.json +22 -1
- package/locales/ko-KR/providers.json +0 -1
- package/locales/nl-NL/chat.json +7 -0
- package/locales/nl-NL/common.json +2 -0
- package/locales/nl-NL/discover.json +2 -2
- package/locales/nl-NL/models.json +98 -9
- package/locales/nl-NL/onboarding.json +3 -0
- package/locales/nl-NL/plugin.json +22 -1
- package/locales/nl-NL/providers.json +0 -1
- package/locales/pl-PL/chat.json +7 -0
- package/locales/pl-PL/common.json +2 -0
- package/locales/pl-PL/discover.json +2 -2
- package/locales/pl-PL/models.json +38 -13
- package/locales/pl-PL/onboarding.json +3 -0
- package/locales/pl-PL/plugin.json +22 -1
- package/locales/pl-PL/providers.json +0 -1
- package/locales/pt-BR/chat.json +7 -0
- package/locales/pt-BR/common.json +2 -0
- package/locales/pt-BR/discover.json +2 -2
- package/locales/pt-BR/models.json +50 -13
- package/locales/pt-BR/onboarding.json +3 -0
- package/locales/pt-BR/plugin.json +22 -1
- package/locales/pt-BR/providers.json +0 -1
- package/locales/ru-RU/chat.json +7 -0
- package/locales/ru-RU/common.json +2 -0
- package/locales/ru-RU/discover.json +2 -2
- package/locales/ru-RU/models.json +54 -13
- package/locales/ru-RU/onboarding.json +3 -0
- package/locales/ru-RU/plugin.json +22 -1
- package/locales/ru-RU/providers.json +0 -1
- package/locales/tr-TR/chat.json +7 -0
- package/locales/tr-TR/common.json +2 -0
- package/locales/tr-TR/discover.json +2 -2
- package/locales/tr-TR/models.json +40 -13
- package/locales/tr-TR/onboarding.json +3 -0
- package/locales/tr-TR/plugin.json +22 -1
- package/locales/tr-TR/providers.json +0 -1
- package/locales/vi-VN/chat.json +7 -0
- package/locales/vi-VN/common.json +2 -0
- package/locales/vi-VN/discover.json +2 -2
- package/locales/vi-VN/models.json +8 -8
- package/locales/vi-VN/onboarding.json +3 -0
- package/locales/vi-VN/plugin.json +22 -1
- package/locales/vi-VN/providers.json +0 -1
- package/locales/zh-CN/chat.json +7 -0
- package/locales/zh-CN/discover.json +2 -2
- package/locales/zh-CN/models.json +95 -13
- package/locales/zh-CN/onboarding.json +3 -0
- package/locales/zh-CN/plugin.json +22 -1
- package/locales/zh-CN/providers.json +0 -1
- package/locales/zh-TW/chat.json +7 -0
- package/locales/zh-TW/common.json +2 -0
- package/locales/zh-TW/discover.json +2 -2
- package/locales/zh-TW/models.json +86 -13
- package/locales/zh-TW/onboarding.json +3 -0
- package/locales/zh-TW/plugin.json +22 -1
- package/locales/zh-TW/providers.json +0 -1
- package/package.json +1 -1
- package/packages/builtin-tool-agent-builder/package.json +1 -0
- package/packages/builtin-tool-agent-builder/src/client/Inspector/GetAvailableModels/index.tsx +66 -0
- package/packages/builtin-tool-agent-builder/src/client/Inspector/InstallPlugin/index.tsx +63 -0
- package/packages/builtin-tool-agent-builder/src/client/Inspector/SearchMarketTools/index.tsx +64 -0
- package/packages/builtin-tool-agent-builder/src/client/Inspector/UpdateConfig/index.tsx +94 -0
- package/packages/builtin-tool-agent-builder/src/client/Inspector/UpdatePrompt/index.tsx +96 -0
- package/packages/builtin-tool-agent-builder/src/client/Inspector/index.ts +29 -0
- package/packages/builtin-tool-agent-builder/src/client/index.ts +13 -0
- package/packages/builtin-tool-agent-builder/src/executor.ts +132 -0
- package/packages/builtin-tool-cloud-sandbox/src/client/Inspector/ExecuteCode/index.tsx +5 -14
- package/packages/builtin-tool-cloud-sandbox/src/client/Inspector/RunCommand/index.tsx +5 -13
- package/packages/builtin-tool-group-agent-builder/package.json +7 -1
- package/packages/builtin-tool-group-agent-builder/src/ExecutionRuntime/index.ts +331 -87
- package/packages/builtin-tool-group-agent-builder/src/client/Inspector/BatchCreateAgents/index.tsx +110 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Inspector/CreateAgent/index.tsx +72 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Inspector/InviteAgent/index.tsx +57 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Inspector/RemoveAgent/index.tsx +57 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Inspector/SearchAgent/index.tsx +66 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Inspector/UpdateAgentPrompt/index.tsx +120 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Inspector/UpdateGroup/index.tsx +87 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Inspector/UpdateGroupPrompt/index.tsx +99 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Inspector/index.ts +52 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Render/BatchCreateAgents.tsx +103 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Render/UpdateAgentPrompt/index.tsx +36 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Render/UpdateGroupPrompt/index.tsx +36 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Render/index.ts +16 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Streaming/BatchCreateAgents/index.tsx +88 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Streaming/UpdateAgentPrompt/index.tsx +37 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Streaming/UpdateGroupPrompt/index.tsx +35 -0
- package/packages/builtin-tool-group-agent-builder/src/client/Streaming/index.ts +22 -0
- package/packages/builtin-tool-group-agent-builder/src/client/index.ts +26 -0
- package/packages/builtin-tool-group-agent-builder/src/executor.ts +284 -0
- package/packages/builtin-tool-group-agent-builder/src/index.ts +1 -14
- package/packages/builtin-tool-group-agent-builder/src/manifest.ts +160 -15
- package/packages/builtin-tool-group-agent-builder/src/systemRole.ts +232 -46
- package/packages/builtin-tool-group-agent-builder/src/types.ts +191 -41
- package/packages/builtin-tool-group-management/src/client/Inspector/Broadcast/index.tsx +2 -2
- package/packages/builtin-tool-group-management/src/manifest.ts +1 -1
- package/packages/builtin-tool-gtd/src/client/Inspector/ClearTodos/index.tsx +5 -11
- package/packages/builtin-tool-gtd/src/client/Inspector/CompleteTodos/index.tsx +3 -9
- package/packages/builtin-tool-gtd/src/client/Inspector/CreatePlan/index.tsx +6 -15
- package/packages/builtin-tool-gtd/src/client/Inspector/CreateTodos/index.tsx +3 -9
- package/packages/builtin-tool-gtd/src/client/Inspector/ExecTask/index.tsx +6 -17
- package/packages/builtin-tool-gtd/src/client/Inspector/RemoveTodos/index.tsx +3 -9
- package/packages/builtin-tool-gtd/src/client/Inspector/UpdatePlan/index.tsx +3 -9
- package/packages/builtin-tool-gtd/src/client/Inspector/UpdateTodos/index.tsx +3 -9
- package/packages/builtin-tool-knowledge-base/src/client/Inspector/ReadKnowledge/index.tsx +4 -16
- package/packages/builtin-tool-knowledge-base/src/client/Inspector/SearchKnowledgeBase/index.tsx +5 -16
- package/packages/builtin-tool-local-system/src/client/Inspector/EditLocalFile/index.tsx +4 -12
- package/packages/builtin-tool-local-system/src/client/Inspector/GlobLocalFiles/index.tsx +5 -13
- package/packages/builtin-tool-local-system/src/client/Inspector/GrepContent/index.tsx +5 -16
- package/packages/builtin-tool-local-system/src/client/Inspector/ListLocalFiles/index.tsx +5 -16
- package/packages/builtin-tool-local-system/src/client/Inspector/ReadLocalFile/index.tsx +5 -16
- package/packages/builtin-tool-local-system/src/client/Inspector/RenameLocalFile/index.tsx +5 -11
- package/packages/builtin-tool-local-system/src/client/Inspector/RunCommand/index.tsx +5 -13
- package/packages/builtin-tool-local-system/src/client/Inspector/SearchLocalFiles/index.tsx +5 -16
- package/packages/builtin-tool-local-system/src/client/Inspector/WriteLocalFile/index.tsx +6 -15
- package/packages/builtin-tool-notebook/src/client/Inspector/CreateDocument/index.tsx +7 -15
- package/packages/builtin-tool-page-agent/src/client/Inspector/EditTitle/index.tsx +5 -14
- package/packages/builtin-tool-page-agent/src/client/Inspector/GetPageContent/index.tsx +7 -8
- package/packages/builtin-tool-page-agent/src/client/Inspector/InitPage/index.tsx +4 -10
- package/packages/builtin-tool-page-agent/src/client/Inspector/ModifyNodes/index.tsx +3 -9
- package/packages/builtin-tool-page-agent/src/client/Inspector/ReplaceText/index.tsx +5 -11
- package/packages/builtin-tool-web-browsing/src/client/Inspector/CrawlMultiPages/index.tsx +6 -15
- package/packages/builtin-tool-web-browsing/src/client/Inspector/CrawlSinglePage/index.tsx +6 -15
- package/packages/builtin-tool-web-browsing/src/client/Inspector/Search/index.tsx +4 -15
- package/packages/database/src/models/chatGroup.ts +1 -1
- package/packages/model-bank/src/aiModels/aihubmix.ts +2 -1
- package/packages/model-bank/src/aiModels/google.ts +2 -1
- package/packages/model-bank/src/aiModels/infiniai.ts +9 -6
- package/packages/model-bank/src/aiModels/minimax.ts +9 -5
- package/packages/model-bank/src/aiModels/ollamacloud.ts +4 -2
- package/packages/model-bank/src/aiModels/vertexai.ts +2 -1
- package/packages/types/src/agentGroup/index.ts +8 -0
- package/patches/@upstash__qstash.patch +13 -1
- package/src/app/[variants]/(main)/agent/_layout/Sidebar/Header/Nav.tsx +1 -1
- package/src/app/[variants]/(main)/agent/cron/[cronId]/index.tsx +4 -3
- package/src/app/[variants]/(main)/agent/profile/features/ProfileEditor/index.tsx +1 -1
- package/src/app/[variants]/(main)/agent/profile/features/store/action.ts +18 -21
- package/src/app/[variants]/(main)/group/_layout/GroupIdSync.tsx +6 -1
- package/src/app/[variants]/(main)/group/_layout/Sidebar/GroupConfig/AgentProfilePopup.tsx +29 -21
- package/src/app/[variants]/(main)/group/_layout/Sidebar/GroupConfig/GroupMember.tsx +1 -0
- package/src/app/[variants]/(main)/group/_layout/Sidebar/GroupConfig/GroupMemberItem.tsx +35 -18
- package/src/app/[variants]/(main)/group/_layout/Sidebar/Header/AddTopicButon.tsx +2 -10
- package/src/app/[variants]/(main)/group/_layout/Sidebar/Header/Nav.tsx +10 -2
- package/src/app/[variants]/(main)/group/_layout/Sidebar/Header/index.tsx +1 -2
- package/src/app/[variants]/(main)/group/profile/features/AgentBuilder/AgentBuilderProvider.tsx +1 -0
- package/src/app/[variants]/(main)/group/profile/features/AgentBuilder/TopicSelector.tsx +15 -9
- package/src/app/[variants]/(main)/group/profile/features/AgentBuilder/index.tsx +12 -6
- package/src/app/[variants]/(main)/group/profile/features/{ProfileEditor/AgentHeader.tsx → GroupProfile/GroupHeader.tsx} +22 -29
- package/src/app/[variants]/(main)/group/profile/features/GroupProfile/index.tsx +96 -0
- package/src/app/[variants]/(main)/group/profile/features/Header/AgentBuilderToggle.tsx +3 -4
- package/src/app/[variants]/(main)/group/profile/features/Header/AutoSaveHint.tsx +11 -7
- package/src/app/[variants]/(main)/group/profile/features/Header/ChromeTabs/index.tsx +147 -0
- package/src/app/[variants]/(main)/group/profile/features/Header/index.tsx +104 -13
- package/src/app/[variants]/(main)/group/profile/features/MemberProfile/AgentHeader.tsx +222 -0
- package/src/app/[variants]/(main)/group/profile/features/MemberProfile/index.tsx +155 -0
- package/src/app/[variants]/(main)/group/profile/features/ProfileHydration.tsx +63 -5
- package/src/app/[variants]/(main)/group/profile/index.tsx +34 -37
- package/src/app/[variants]/(mobile)/(home)/_layout/SessionHydration.tsx +1 -1
- package/src/app/[variants]/(mobile)/(home)/features/SessionListContent/List/Item/index.tsx +1 -1
- package/src/features/AgentBuilder/index.tsx +16 -1
- package/src/features/Conversation/Messages/AssistantGroup/Tool/Inspector/StatusIndicator.tsx +3 -2
- package/src/features/EditorCanvas/EditorCanvas.test.tsx +206 -0
- package/src/features/EditorCanvas/EditorDataMode.tsx +53 -19
- package/src/features/EditorModal/index.tsx +2 -2
- package/src/features/NavPanel/components/SessionHydration.tsx +1 -1
- package/src/features/ShareModal/ShareImage/ChatList/index.tsx +1 -1
- package/src/features/ShareModal/SharePdf/index.tsx +1 -1
- package/src/hooks/useBidirectionalQuerySync.ts +112 -0
- package/src/locales/default/chat.ts +10 -0
- package/src/locales/default/plugin.ts +22 -1
- package/src/server/modules/AgentRuntime/RuntimeExecutors.ts +45 -45
- package/src/server/modules/KeyVaultsEncrypt/index.ts +6 -6
- package/src/server/modules/S3/index.ts +1 -1
- package/src/server/routers/lambda/agent.ts +24 -0
- package/src/server/routers/lambda/agentGroup.ts +39 -0
- package/src/services/agent.ts +22 -0
- package/src/services/chatGroup/index.ts +14 -0
- package/src/store/agent/selectors/selectors.ts +3 -0
- package/src/store/agentGroup/initialState.ts +6 -0
- package/src/store/agentGroup/selectors/byId.ts +3 -1
- package/src/store/agentGroup/selectors/current.ts +2 -2
- package/src/store/agentGroup/slices/lifecycle.ts +18 -0
- package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockStore.ts +1 -1
- package/src/store/chat/slices/aiAgent/actions/__tests__/agentGroup.test.ts +4 -1
- package/src/store/chat/slices/aiAgent/actions/agentGroup.ts +1 -1
- package/src/store/chat/slices/aiChat/actions/__tests__/conversationLifecycle.test.ts +65 -0
- package/src/store/chat/slices/aiChat/actions/conversationLifecycle.ts +2 -1
- package/src/store/chat/slices/builtinTool/actions/__tests__/search.test.ts +1 -1
- package/src/store/chat/slices/builtinTool/actions/index.ts +1 -6
- package/src/store/chat/slices/message/action.test.ts +5 -5
- package/src/store/chat/slices/message/actions/publicApi.ts +5 -5
- package/src/store/chat/slices/message/initialState.ts +0 -5
- package/src/store/chat/slices/message/selectors/displayMessage.test.ts +4 -4
- package/src/store/chat/slices/plugin/action.test.ts +54 -19
- package/src/store/chat/slices/plugin/actions/pluginTypes.ts +15 -21
- package/src/store/chat/slices/topic/action.test.ts +74 -24
- package/src/store/chat/slices/topic/action.ts +21 -13
- package/src/store/chat/slices/topic/selectors.test.ts +1 -1
- package/src/store/global/initialState.ts +10 -0
- package/src/store/global/selectors/systemStatus.ts +5 -0
- package/src/store/groupProfile/action.ts +168 -0
- package/src/store/groupProfile/index.ts +16 -0
- package/src/{app/[variants]/(main)/group/profile/features/store → store/groupProfile}/initialState.ts +17 -0
- package/src/store/groupProfile/selectors.ts +13 -0
- package/src/store/tool/slices/builtin/executors/index.ts +4 -0
- package/src/styles/text.ts +16 -0
- package/src/tools/inspectors.ts +13 -0
- package/src/tools/renders.ts +3 -0
- package/src/tools/streamings.ts +8 -0
- package/src/app/[variants]/(main)/group/profile/features/EditorCanvas/TypoBar.tsx +0 -129
- package/src/app/[variants]/(main)/group/profile/features/EditorCanvas/index.tsx +0 -138
- package/src/app/[variants]/(main)/group/profile/features/EditorCanvas/useSlashItems.tsx +0 -139
- package/src/app/[variants]/(main)/group/profile/features/ProfileEditor/index.tsx +0 -82
- package/src/app/[variants]/(main)/group/profile/features/ProfileProvider.tsx +0 -20
- package/src/app/[variants]/(main)/group/profile/features/StoreUpdater.tsx +0 -24
- package/src/app/[variants]/(main)/group/profile/features/store/action.ts +0 -163
- package/src/app/[variants]/(main)/group/profile/features/store/index.ts +0 -23
- package/src/app/[variants]/(main)/group/profile/features/store/selectors.ts +0 -7
- package/src/features/EditorModal/EditorCanvas.tsx +0 -84
- package/src/features/EditorModal/Typobar.tsx +0 -139
- package/src/store/chat/slices/builtinTool/actions/agentBuilder.ts +0 -192
- package/src/store/chat/slices/builtinTool/actions/groupAgentBuilder.ts +0 -242
- package/src/tools/executionRuntimes.ts +0 -14
- /package/src/app/[variants]/(main)/group/profile/features/{ProfileEditor → MemberProfile}/AgentTool.tsx +0 -0
- /package/src/app/[variants]/(main)/group/profile/features/{ProfileEditor → MemberProfile}/MentionList/MentionDropdown.tsx +0 -0
- /package/src/app/[variants]/(main)/group/profile/features/{ProfileEditor → MemberProfile}/MentionList/index.tsx +0 -0
- /package/src/app/[variants]/(main)/group/profile/features/{ProfileEditor → MemberProfile}/MentionList/types.ts +0 -0
- /package/src/app/[variants]/(main)/group/profile/features/{ProfileEditor → MemberProfile}/MentionList/useMentionItems.tsx +0 -0
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
"Meta-Llama-4-Maverick-17B-128E-Instruct-FP8.description": "Llama 4 Maverick 是一款大型 MoE 模型,具備高效專家啟用機制,展現強大的推理效能。",
|
|
74
74
|
"MiniMax-M1.description": "一款內部開發的推理模型,具備 80K 思路鏈與 100 萬輸入,效能媲美全球頂尖模型。",
|
|
75
75
|
"MiniMax-M2-Stable.description": "專為高效編碼與代理流程設計,具備更高併發能力,適用於商業應用。",
|
|
76
|
-
"MiniMax-M2.1-Lightning.description": "
|
|
77
|
-
"MiniMax-M2.1.description": "
|
|
78
|
-
"MiniMax-M2.description": "
|
|
76
|
+
"MiniMax-M2.1-Lightning.description": "強大的多語言編程能力,全面升級的編程體驗。更快速、更高效。",
|
|
77
|
+
"MiniMax-M2.1.description": "強大的多語言編程能力,全面升級的編程體驗",
|
|
78
|
+
"MiniMax-M2.description": "專為高效編碼與智能體工作流程打造",
|
|
79
79
|
"MiniMax-Text-01.description": "MiniMax-01 採用超越傳統 Transformer 的大規模線性注意力機制,擁有 4560 億參數,每次啟用 459 億,支援最多 400 萬字元上下文(為 GPT-4o 的 32 倍,Claude-3.5-Sonnet 的 20 倍),效能頂尖。",
|
|
80
80
|
"MiniMaxAI/MiniMax-M1-80k.description": "MiniMax-M1 是一款開源權重的大型混合注意力推理模型,總參數 4560 億,每個 token 啟用約 459 億。原生支援 100 萬上下文,使用 Flash Attention 技術,在 10 萬 token 生成任務中比 DeepSeek R1 減少 75% FLOPs。採用 MoE 架構、CISPO 與混合注意力強化學習訓練,在長輸入推理與真實軟體工程任務中表現領先。",
|
|
81
81
|
"MiniMaxAI/MiniMax-M2.description": "MiniMax-M2 重新定義代理效率。這是一款緊湊、快速、具成本效益的 MoE 模型,總參數 2300 億,啟用參數僅 100 億,專為頂級編碼與代理任務設計,同時保有強大的通用智能。即使僅啟用 100 億參數,其效能仍可媲美更大型模型,適合高效率應用場景。",
|
|
@@ -271,20 +271,20 @@
|
|
|
271
271
|
"chatgpt-4o-latest.description": "ChatGPT-4o 是一款即時更新的動態模型,結合強大的理解與生成能力,適用於客服、教育與技術支援等大規模應用場景。",
|
|
272
272
|
"claude-2.0.description": "Claude 2 提供企業級關鍵改進,包括領先的 20 萬 token 上下文、降低幻覺、系統提示與新測試功能:工具調用。",
|
|
273
273
|
"claude-2.1.description": "Claude 2 提供企業級關鍵改進,包括領先的 20 萬 token 上下文、降低幻覺、系統提示與新測試功能:工具調用。",
|
|
274
|
-
"claude-3-5-haiku-20241022.description": "Claude 3.5 Haiku 是 Anthropic
|
|
274
|
+
"claude-3-5-haiku-20241022.description": "Claude 3.5 Haiku 是 Anthropic 推出的次世代最快模型。相較於 Claude 3 Haiku,其在多項技能上皆有提升,並在多項智能基準測試中超越先前最大模型 Claude 3 Opus。",
|
|
275
275
|
"claude-3-5-haiku-latest.description": "Claude 3.5 Haiku 提供快速回應,適用於輕量任務。",
|
|
276
|
-
"claude-3-7-sonnet-20250219.description": "Claude
|
|
276
|
+
"claude-3-7-sonnet-20250219.description": "Claude 3.7 Sonnet 是 Anthropic 最具智慧的模型,也是市場上首款混合推理模型。它能夠即時回應,或進行可視化的逐步推理。Sonnet 尤其擅長程式設計、資料科學、視覺處理與智能代理任務。",
|
|
277
277
|
"claude-3-7-sonnet-latest.description": "Claude 3.7 Sonnet 是 Anthropic 最新且最強大的模型,適用於高度複雜任務,具備卓越的效能、智慧、流暢度與理解力。",
|
|
278
278
|
"claude-3-haiku-20240307.description": "Claude 3 Haiku 是 Anthropic 推出的最快速且最精簡的模型,設計用於即時回應,具備快速且準確的表現。",
|
|
279
279
|
"claude-3-opus-20240229.description": "Claude 3 Opus 是 Anthropic 最強大的模型,適用於高度複雜任務,具備卓越的效能、智慧、流暢度與理解力。",
|
|
280
280
|
"claude-3-sonnet-20240229.description": "Claude 3 Sonnet 在智慧與速度之間取得平衡,適合企業工作負載,提供高效能與低成本的大規模部署。",
|
|
281
|
-
"claude-haiku-4-5-20251001.description": "Claude Haiku 4.5 是 Anthropic
|
|
281
|
+
"claude-haiku-4-5-20251001.description": "Claude Haiku 4.5 是 Anthropic 最快且最聰明的 Haiku 模型,具備閃電般的速度與延伸推理能力。",
|
|
282
282
|
"claude-opus-4-1-20250805-thinking.description": "Claude Opus 4.1 Thinking 是一個進階版本,能夠揭示其推理過程。",
|
|
283
283
|
"claude-opus-4-1-20250805.description": "Claude Opus 4.1 是 Anthropic 最新且最強大的模型,適用於高度複雜任務,具備卓越的效能、智慧、流暢度與理解力。",
|
|
284
|
-
"claude-opus-4-20250514.description": "Claude Opus 4 是 Anthropic
|
|
284
|
+
"claude-opus-4-20250514.description": "Claude Opus 4 是 Anthropic 最強大的模型,專為高度複雜任務設計,表現出色,具備卓越的智能、流暢度與理解力。",
|
|
285
285
|
"claude-opus-4-5-20251101.description": "Claude Opus 4.5 是 Anthropic 的旗艦模型,結合卓越智慧與可擴展效能,適合需要最高品質回應與推理的複雜任務。",
|
|
286
286
|
"claude-sonnet-4-20250514-thinking.description": "Claude Sonnet 4 Thinking 可產生即時回應或延伸的逐步思考,並顯示其推理過程。",
|
|
287
|
-
"claude-sonnet-4-20250514.description": "Claude Sonnet 4
|
|
287
|
+
"claude-sonnet-4-20250514.description": "Claude Sonnet 4 能夠即時回應,或進行可視化的逐步思考過程。",
|
|
288
288
|
"claude-sonnet-4-5-20250929.description": "Claude Sonnet 4.5 是 Anthropic 迄今最智慧的模型。",
|
|
289
289
|
"codegeex-4.description": "CodeGeeX-4 是一款強大的 AI 程式輔助工具,支援多語言問答與程式碼補全,能有效提升開發者的生產力。",
|
|
290
290
|
"codegeex4-all-9b.description": "CodeGeeX4-ALL-9B 是一個多語言程式碼生成模型,支援程式碼補全與生成、程式碼解釋器、網頁搜尋、函式呼叫與倉庫層級的程式碼問答,涵蓋多種軟體開發場景。它是參數數量低於 100 億的頂尖程式碼模型之一。",
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
"deepseek-ai/deepseek-v3.1-terminus.description": "DeepSeek V3.1 是新一代推理模型,具備更強的複雜推理與思維鏈能力,適用於深度分析任務。",
|
|
356
356
|
"deepseek-ai/deepseek-v3.1.description": "DeepSeek V3.1 是新一代推理模型,具備更強的複雜推理與思維鏈能力,適用於深度分析任務。",
|
|
357
357
|
"deepseek-ai/deepseek-vl2.description": "DeepSeek-VL2 是一款基於 DeepSeekMoE-27B 的 MoE 視覺語言模型,採用稀疏激活,僅使用 4.5B 活躍參數即可達到強大表現。擅長視覺問答、OCR、文件/表格/圖表理解與視覺對齊。",
|
|
358
|
-
"deepseek-chat.description": "DeepSeek
|
|
358
|
+
"deepseek-chat.description": "一款結合通用與程式能力的開源模型。保留對話模型的通用對話能力與程式模型的強大編碼能力,並提升偏好對齊。DeepSeek-V2.5 也改善了寫作與指令遵循能力。",
|
|
359
359
|
"deepseek-coder-33B-instruct.description": "DeepSeek Coder 33B 是一款程式語言模型,訓練於 2T token(87% 程式碼,13% 中英文文本),支援 16K 上下文視窗與中間填充任務,提供專案級程式補全與片段填充功能。",
|
|
360
360
|
"deepseek-coder-v2.description": "DeepSeek Coder V2 是一款開源 MoE 程式模型,在程式任務中表現強勁,媲美 GPT-4 Turbo。",
|
|
361
361
|
"deepseek-coder-v2:236b.description": "DeepSeek Coder V2 是一款開源 MoE 程式模型,在程式任務中表現強勁,媲美 GPT-4 Turbo。",
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
"deepseek-r1-fast-online.description": "DeepSeek R1 快速全量版,支援即時網頁搜尋,結合 671B 規模能力與快速回應。",
|
|
379
379
|
"deepseek-r1-online.description": "DeepSeek R1 全量版擁有 671B 參數與即時網頁搜尋功能,提供更強的理解與生成能力。",
|
|
380
380
|
"deepseek-r1.description": "DeepSeek-R1 在強化學習前使用冷啟動資料,於數學、程式碼與推理任務中表現可媲美 OpenAI-o1。",
|
|
381
|
-
"deepseek-reasoner.description": "DeepSeek V3.2
|
|
381
|
+
"deepseek-reasoner.description": "DeepSeek V3.2 推理模式會在最終答案前輸出思考鏈,以提升準確性。",
|
|
382
382
|
"deepseek-v2.description": "DeepSeek V2 是一款高效的 MoE 模型,適用於具成本效益的處理任務。",
|
|
383
383
|
"deepseek-v2:236b.description": "DeepSeek V2 236B 是 DeepSeek 專注於程式碼生成的模型,具備強大能力。",
|
|
384
384
|
"deepseek-v3-0324.description": "DeepSeek-V3-0324 是一款擁有 671B 參數的 MoE 模型,在程式設計、技術能力、語境理解與長文本處理方面表現出色。",
|
|
@@ -471,7 +471,7 @@
|
|
|
471
471
|
"ernie-tiny-8k.description": "ERNIE Tiny 8K 是一款超輕量模型,適合簡單問答、分類與低成本推理。",
|
|
472
472
|
"ernie-x1-turbo-32k.description": "ERNIE X1 Turbo 32K 是一款快速思考模型,具備 32K 上下文,適合複雜推理與多輪對話。",
|
|
473
473
|
"ernie-x1.1-preview.description": "ERNIE X1.1 預覽版是一款思考模型預覽,用於評估與測試。",
|
|
474
|
-
"fal-ai/bytedance/seedream/v4.description": "Seedream 4.0
|
|
474
|
+
"fal-ai/bytedance/seedream/v4.description": "Seedream 4.0 是字節跳動 Seed 團隊推出的圖像生成模型,支援文字與圖像輸入,具備高度可控性與高品質圖像生成能力,可根據文字提示生成圖像。",
|
|
475
475
|
"fal-ai/flux-kontext/dev.description": "FLUX.1 模型專注於圖像編輯,支援文字與圖像輸入。",
|
|
476
476
|
"fal-ai/flux-pro/kontext.description": "FLUX.1 Kontext [pro] 接受文字與參考圖像輸入,實現目標區域編輯與複雜場景轉換。",
|
|
477
477
|
"fal-ai/flux/krea.description": "Flux Krea [dev] 是一款圖像生成模型,偏好更真實自然的美學風格。",
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
"fal-ai/hunyuan-image/v3.description": "一款強大的原生多模態圖像生成模型。",
|
|
480
480
|
"fal-ai/imagen4/preview.description": "來自 Google 的高品質圖像生成模型。",
|
|
481
481
|
"fal-ai/nano-banana.description": "Nano Banana 是 Google 最新、最快且最高效的原生多模態模型,支援透過對話進行圖像生成與編輯。",
|
|
482
|
-
"fal-ai/qwen-image-edit.description": "
|
|
482
|
+
"fal-ai/qwen-image-edit.description": "Qwen 團隊推出的專業圖像編輯模型,支援語義與外觀編輯,能精確處理中英文文字,並實現風格轉換、物體旋轉等高品質編輯。",
|
|
483
483
|
"fal-ai/qwen-image.description": "Qwen 團隊推出的強大圖像生成模型,具備優異的中文文字渲染能力與多樣化視覺風格。",
|
|
484
484
|
"flux-1-schnell.description": "來自黑森林實驗室的 12B 參數文字轉圖像模型,透過潛在對抗擴散蒸餾技術,在 1 至 4 步內生成高品質圖像。其表現媲美封閉式替代方案,並以 Apache-2.0 授權釋出,供個人、研究與商業用途。",
|
|
485
485
|
"flux-dev.description": "FLUX.1 [dev] 是一款開放權重的蒸餾模型,僅限非商業用途。它保有接近專業水準的圖像品質與指令遵循能力,同時運行更高效,資源使用優於同等大小的標準模型。",
|
|
@@ -526,7 +526,7 @@
|
|
|
526
526
|
"gemini-2.5-pro-preview-05-06.description": "Gemini 2.5 Pro Preview 是 Google 最先進的推理模型,能處理程式碼、數學與 STEM 問題,並分析大型資料集、程式碼庫與長篇文件。",
|
|
527
527
|
"gemini-2.5-pro-preview-06-05.description": "Gemini 2.5 Pro Preview 是 Google 最先進的推理模型,能處理程式碼、數學與 STEM 問題,並分析大型資料集、程式碼庫與長篇文件。",
|
|
528
528
|
"gemini-2.5-pro.description": "Gemini 2.5 Pro 是 Google 的旗艦推理模型,支援長上下文,適用於處理複雜任務。",
|
|
529
|
-
"gemini-3-flash-preview.description": "Gemini 3 Flash
|
|
529
|
+
"gemini-3-flash-preview.description": "Gemini 3 Flash 是一款以速度為核心的智慧模型,結合尖端智能與卓越的搜尋基礎能力。",
|
|
530
530
|
"gemini-3-pro-image-preview.description": "Gemini 3 Pro Image(Nano Banana Pro)是 Google 的圖像生成模型,支援多模態對話。",
|
|
531
531
|
"gemini-3-pro-image-preview:image.description": "Gemini 3 Pro Image(Nano Banana Pro)是 Google 的圖像生成模型,並支援多模態聊天。",
|
|
532
532
|
"gemini-3-pro-preview.description": "Gemini 3 Pro 是 Google 最強大的智能代理與情境編碼模型,具備頂尖推理能力、豐富視覺表現與深度互動。",
|
|
@@ -592,6 +592,79 @@
|
|
|
592
592
|
"google/gemini-3-pro-image-preview.description": "Gemini 3 Pro Image(Nano Banana Pro)是 Google 的圖像生成模型,支援多模態對話。",
|
|
593
593
|
"google/gemini-3-pro-preview-free.description": "Gemini 3 Pro Preview 免費版具備與標準版相同的多模態理解與推理能力,但有配額與速率限制,適合試用與低頻使用。",
|
|
594
594
|
"google/gemini-3-pro-preview.description": "Gemini 3 Pro 是 Gemini 家族的次世代多模態推理模型,能理解文字、音訊、圖像與影片,處理複雜任務與大型程式碼庫。",
|
|
595
|
+
"google/gemini-embedding-001.description": "一款最先進的嵌入模型,在英文、多語言與程式任務中表現優異。",
|
|
596
|
+
"google/gemini-flash-1.5.description": "Gemini 1.5 Flash 提供針對複雜任務的多模態處理最佳化。",
|
|
597
|
+
"google/gemini-pro-1.5.description": "Gemini 1.5 Pro 結合最新優化技術,提升多模態資料處理效率。",
|
|
598
|
+
"google/gemma-2-27b-it.description": "Gemma 2 27B 是一款通用大型語言模型,在多種場景中表現出色。",
|
|
599
|
+
"google/gemma-2-27b.description": "Gemma 2 是 Google 推出的高效模型家族,適用於從小型應用到複雜資料處理的各種場景。",
|
|
600
|
+
"google/gemma-2-2b-it.description": "一款專為邊緣應用設計的先進小型語言模型。",
|
|
601
|
+
"google/gemma-2-9b-it.description": "由 Google 開發的 Gemma 2 9B,具備高效的指令遵循能力與穩健的整體表現。",
|
|
602
|
+
"google/gemma-2-9b-it:free.description": "Gemma 2 是 Google 推出的輕量級開源文字模型家族。",
|
|
603
|
+
"google/gemma-2-9b.description": "Gemma 2 是 Google 推出的高效模型家族,適用於從小型應用到複雜資料處理的各種場景。",
|
|
604
|
+
"google/gemma-2b-it.description": "Gemma Instruct (2B) 提供基礎指令處理能力,適用於輕量應用。",
|
|
605
|
+
"google/gemma-3-12b-it.description": "Gemma 3 12B 是 Google 推出的開源語言模型,在效率與效能上樹立新標竿。",
|
|
606
|
+
"google/gemma-3-27b-it.description": "Gemma 3 27B 是 Google 推出的開源語言模型,在效率與效能上樹立新標竿。",
|
|
607
|
+
"google/text-embedding-005.description": "一款專注於英文的文字嵌入模型,針對程式與英文任務進行最佳化。",
|
|
608
|
+
"google/text-multilingual-embedding-002.description": "一款多語言文字嵌入模型,針對跨語言任務進行最佳化,支援多種語言。",
|
|
609
|
+
"gpt-3.5-turbo-0125.description": "GPT 3.5 Turbo 用於文字生成與理解,目前指向 gpt-3.5-turbo-0125。",
|
|
610
|
+
"gpt-3.5-turbo-1106.description": "GPT 3.5 Turbo 用於文字生成與理解,目前指向 gpt-3.5-turbo-0125。",
|
|
611
|
+
"gpt-3.5-turbo-instruct.description": "GPT 3.5 Turbo 用於文字生成與理解任務,針對指令遵循進行最佳化。",
|
|
612
|
+
"gpt-3.5-turbo.description": "GPT 3.5 Turbo 用於文字生成與理解,目前指向 gpt-3.5-turbo-0125。",
|
|
613
|
+
"gpt-35-turbo-16k.description": "GPT-3.5 Turbo 16k 是一款高容量文字生成模型,適用於複雜任務。",
|
|
614
|
+
"gpt-35-turbo.description": "GPT-3.5 Turbo 是 OpenAI 推出的高效模型,支援聊天與文字生成,具備平行函數呼叫能力。",
|
|
615
|
+
"gpt-4-0125-preview.description": "最新 GPT-4 Turbo 加入視覺功能。視覺請求支援 JSON 模式與函數呼叫。這是一款具成本效益的多模態模型,兼顧準確性與效率,適用於即時應用。",
|
|
616
|
+
"gpt-4-0613.description": "GPT-4 提供更大的上下文視窗,能處理更長的輸入,適合廣泛資訊整合與資料分析。",
|
|
617
|
+
"gpt-4-1106-preview.description": "最新 GPT-4 Turbo 加入視覺功能。視覺請求支援 JSON 模式與函數呼叫。這是一款具成本效益的多模態模型,兼顧準確性與效率,適用於即時應用。",
|
|
618
|
+
"gpt-4-32k-0613.description": "GPT-4 提供更大的上下文視窗,能處理更長的輸入,適合需要廣泛資訊整合與資料分析的場景。",
|
|
619
|
+
"gpt-4-32k.description": "GPT-4 提供更大的上下文視窗,能處理更長的輸入,適合需要廣泛資訊整合與資料分析的場景。",
|
|
620
|
+
"gpt-4-turbo-2024-04-09.description": "最新 GPT-4 Turbo 加入視覺功能。視覺請求支援 JSON 模式與函數呼叫。這是一款具成本效益的多模態模型,兼顧準確性與效率,適用於即時應用。",
|
|
621
|
+
"gpt-4-turbo-preview.description": "最新 GPT-4 Turbo 加入視覺功能。視覺請求支援 JSON 模式與函數呼叫。這是一款具成本效益的多模態模型,兼顧準確性與效率,適用於即時應用。",
|
|
622
|
+
"gpt-4-turbo.description": "最新 GPT-4 Turbo 加入視覺功能。視覺請求支援 JSON 模式與函數呼叫。這是一款具成本效益的多模態模型,兼顧準確性與效率,適用於即時應用。",
|
|
623
|
+
"gpt-4-vision-preview.description": "GPT-4 Vision 預覽版,專為圖像分析與處理任務設計。",
|
|
624
|
+
"gpt-4.1-mini.description": "GPT-4.1 mini 在智慧、速度與成本之間取得平衡,適用於多種應用場景。",
|
|
625
|
+
"gpt-4.1-nano.description": "GPT-4.1 nano 是 GPT-4.1 系列中最快且最具成本效益的模型。",
|
|
626
|
+
"gpt-4.1.description": "GPT-4.1 是我們的旗艦模型,適用於複雜任務與跨領域問題解決。",
|
|
627
|
+
"gpt-4.5-preview.description": "GPT-4.5-preview 是最新的通用模型,具備深厚的世界知識與更佳的意圖理解能力,擅長創意任務與智能代理規劃。知識截止時間為 2023 年 10 月。",
|
|
628
|
+
"gpt-4.description": "GPT-4 提供更大的上下文視窗,能處理更長的輸入,適合廣泛資訊整合與資料分析。",
|
|
629
|
+
"gpt-4o-2024-05-13.description": "ChatGPT-4o 是一款即時更新的動態模型,結合強大的理解與生成能力,適用於客服、教育與技術支援等大規模應用場景。",
|
|
630
|
+
"gpt-4o-2024-08-06.description": "ChatGPT-4o 是一款即時更新的動態模型,結合強大的語言理解與生成能力,適用於客服、教育與技術支援等大規模應用場景。",
|
|
631
|
+
"gpt-4o-2024-11-20.description": "ChatGPT-4o 是一款即時更新的動態模型,結合強大的理解與生成能力,適用於客服、教育與技術支援等大規模應用場景。",
|
|
632
|
+
"gpt-4o-audio-preview.description": "GPT-4o 音訊預覽模型,支援音訊輸入與輸出。",
|
|
633
|
+
"gpt-4o-mini-audio-preview.description": "GPT-4o mini 音訊模型,支援音訊輸入與輸出。",
|
|
634
|
+
"gpt-4o-mini-realtime-preview.description": "GPT-4o-mini 即時變體,支援音訊與文字的即時輸入/輸出。",
|
|
635
|
+
"gpt-4o-mini-search-preview.description": "GPT-4o mini 搜尋預覽模型,透過 Chat Completions API 訓練以理解並執行網頁搜尋查詢。網頁搜尋按工具呼叫次數額外計費。",
|
|
636
|
+
"gpt-4o-mini-transcribe.description": "GPT-4o Mini Transcribe 是一款語音轉文字模型,使用 GPT-4o 進行音訊轉錄,提升詞錯率、語言識別與準確性,優於原始 Whisper 模型。",
|
|
637
|
+
"gpt-4o-mini-tts.description": "GPT-4o mini TTS 是一款基於 GPT-4o mini 的文字轉語音模型,將文字轉換為自然語音,最多支援 2000 個 token 輸入。",
|
|
638
|
+
"gpt-4o-mini.description": "GPT-4o mini 是 OpenAI 在 GPT-4 Omni 之後推出的最新模型,支援文字+圖片輸入與文字輸出。作為最先進的小型模型,其價格遠低於最新前沿模型,比 GPT-3.5 Turbo 便宜超過 60%,同時保有頂尖智慧(82% MMLU)。",
|
|
639
|
+
"gpt-4o-realtime-preview-2024-10-01.description": "GPT-4o 即時變體,支援音訊與文字的即時輸入/輸出。",
|
|
640
|
+
"gpt-4o-realtime-preview-2025-06-03.description": "GPT-4o 即時變體,支援音訊與文字的即時輸入/輸出。",
|
|
641
|
+
"gpt-4o-realtime-preview.description": "GPT-4o 即時變體,支援音訊與文字的即時輸入/輸出。",
|
|
642
|
+
"gpt-4o-search-preview.description": "GPT-4o 搜尋預覽模型,透過 Chat Completions API 訓練以理解並執行網頁搜尋查詢。網頁搜尋按工具呼叫次數額外計費。",
|
|
643
|
+
"gpt-4o-transcribe.description": "GPT-4o Transcribe 是一款語音轉文字模型,使用 GPT-4o 進行音訊轉錄,提升詞錯率、語言識別與準確性,優於原始 Whisper 模型。",
|
|
644
|
+
"gpt-4o.description": "ChatGPT-4o 是一款即時更新的動態模型,結合強大的理解與生成能力,適用於客服、教育與技術支援等大規模應用場景。",
|
|
645
|
+
"gpt-5-chat-latest.description": "GPT-5 模型應用於 ChatGPT,結合強大的理解與生成能力,適用於對話應用。",
|
|
646
|
+
"gpt-5-chat.description": "GPT-5 Chat 是一款預覽模型,針對對話場景進行最佳化。支援文字與圖片輸入,僅輸出文字,適用於聊天機器人與對話式 AI 應用。",
|
|
647
|
+
"gpt-5-codex.description": "GPT-5 Codex 是 GPT-5 的變體,針對類似 Codex 環境中的智能編碼任務進行最佳化。",
|
|
648
|
+
"gpt-5-mini.description": "GPT-5 的快速且具成本效益的變體,適用於明確任務,回應更快且維持品質。",
|
|
649
|
+
"gpt-5-nano.description": "GPT-5 中最快且最具成本效益的變體,適用於對延遲與成本敏感的應用場景。",
|
|
650
|
+
"gpt-5-pro.description": "GPT-5 Pro 使用更多運算資源以進行更深入思考,穩定提供更優質的答案。",
|
|
651
|
+
"gpt-5.1-chat-latest.description": "GPT-5.1 Chat:GPT-5.1 的 ChatGPT 變體,專為對話場景打造。",
|
|
652
|
+
"gpt-5.1-codex-mini.description": "GPT-5.1 Codex mini:較小且成本更低的 Codex 變體,針對智能編碼任務進行最佳化。",
|
|
653
|
+
"gpt-5.1-codex.description": "GPT-5.1 Codex:GPT-5.1 的變體,針對複雜程式碼與智能體工作流程進行最佳化,適用於 Responses API。",
|
|
654
|
+
"gpt-5.1.description": "GPT-5.1 — 旗艦模型,針對編碼與智能體任務進行最佳化,具備可調整的推理深度與更長的上下文支援。",
|
|
655
|
+
"gpt-5.2-chat-latest.description": "GPT-5.2 Chat 是 GPT-5.2 的 ChatGPT 變體(chat-latest),體驗最新對話改進。",
|
|
656
|
+
"gpt-5.2-pro.description": "GPT-5.2 Pro:GPT-5.2 的更智慧、更精準變體(僅限 Responses API),適合處理困難問題與長多輪推理。",
|
|
657
|
+
"gpt-5.2.description": "GPT-5.2 是針對編碼與智能體工作流程的旗艦模型,具備更強推理能力與長上下文表現。",
|
|
658
|
+
"gpt-5.description": "跨領域編碼與智能體任務的最佳模型。GPT-5 在準確性、速度、推理、上下文理解、結構化思維與問題解決方面實現飛躍。",
|
|
659
|
+
"gpt-audio.description": "GPT Audio 是一款通用聊天模型,支援音訊輸入/輸出,並整合於 Chat Completions API 中。",
|
|
660
|
+
"gpt-image-1-mini.description": "GPT Image 1 的低成本變體,原生支援文字與圖片輸入,並輸出圖片。",
|
|
661
|
+
"gpt-image-1.5.description": "GPT Image 1 的增強版,生成速度提升 4 倍,編輯更精準,文字渲染效果更佳。",
|
|
662
|
+
"gpt-image-1.description": "ChatGPT 原生多模態圖像生成模型。",
|
|
663
|
+
"gpt-oss-120b.description": "需申請使用。GPT-OSS-120B 是 OpenAI 推出的開源大型語言模型,具備強大的文字生成能力。",
|
|
664
|
+
"gpt-oss-20b.description": "需申請使用。GPT-OSS-20B 是 OpenAI 推出的中型開源語言模型,具備高效的文字生成能力。",
|
|
665
|
+
"gpt-oss:120b.description": "GPT-OSS 120B 是 OpenAI 的大型開源 LLM,採用 MXFP4 量化,定位為旗艦模型。需多 GPU 或高階工作站環境,於複雜推理、程式碼生成與多語言處理方面表現優異,支援進階函式呼叫與工具整合。",
|
|
666
|
+
"gpt-oss:20b.description": "GPT-OSS 20B 是 OpenAI 的開源 LLM,採用 MXFP4 量化,適用於高階消費級 GPU 或 Apple Silicon Mac。於對話生成、編碼與推理任務中表現良好,支援函式呼叫與工具使用。",
|
|
667
|
+
"gpt-realtime.description": "通用即時模型,支援即時文字與音訊輸入/輸出,並支援圖片輸入。",
|
|
595
668
|
"meta/Llama-3.2-90B-Vision-Instruct.description": "先進的圖像推理能力,適用於視覺理解代理應用。",
|
|
596
669
|
"meta/Llama-3.3-70B-Instruct.description": "Llama 3.3 是最先進的多語言開源 Llama 模型,以極低成本提供接近 405B 的效能。該模型基於 Transformer 架構,並透過 SFT 與 RLHF 提升實用性與安全性。經指令微調版本針對多語言對話進行最佳化,在業界基準測試中超越多數開放與封閉模型。知識截止時間:2023 年 12 月。",
|
|
597
670
|
"meta/Meta-Llama-3-70B-Instruct.description": "一款功能強大的 70B 參數模型,擅長推理、程式編寫與廣泛語言任務。",
|
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
"interests.area.writing": "內容創作",
|
|
13
13
|
"interests.hint": "你可以隨時在設定中修改",
|
|
14
14
|
"interests.placeholder": "請輸入你感興趣的領域...",
|
|
15
|
+
"interests.title": "你對哪些領域感興趣?",
|
|
16
|
+
"interests.title2": "這將幫助我更了解你",
|
|
17
|
+
"interests.title3": "慢慢來,我會更了解你的",
|
|
15
18
|
"modeSelection.desc": "選擇適合你的使用模式",
|
|
16
19
|
"modeSelection.hint": "你可以隨時在設定中修改",
|
|
17
20
|
"modeSelection.lite.desc": "適合日常對話與問答、輕度工作輔助與模型體驗",
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"builtins.lobe-agent-builder.apiName.getConfig": "取得設定",
|
|
6
6
|
"builtins.lobe-agent-builder.apiName.getMeta": "取得中繼資料",
|
|
7
7
|
"builtins.lobe-agent-builder.apiName.getPrompt": "取得系統提示詞",
|
|
8
|
+
"builtins.lobe-agent-builder.apiName.installPlugin": "安裝技能",
|
|
8
9
|
"builtins.lobe-agent-builder.apiName.searchMarketTools": "搜尋外掛市集",
|
|
9
10
|
"builtins.lobe-agent-builder.apiName.searchOfficialTools": "搜尋官方工具",
|
|
10
11
|
"builtins.lobe-agent-builder.apiName.setModel": "設定模型",
|
|
@@ -15,6 +16,12 @@
|
|
|
15
16
|
"builtins.lobe-agent-builder.apiName.updateConfig": "更新設定",
|
|
16
17
|
"builtins.lobe-agent-builder.apiName.updateMeta": "更新中繼資料",
|
|
17
18
|
"builtins.lobe-agent-builder.apiName.updatePrompt": "更新系統提示詞",
|
|
19
|
+
"builtins.lobe-agent-builder.inspector.chars": " 字元",
|
|
20
|
+
"builtins.lobe-agent-builder.inspector.disablePlugin": "停用",
|
|
21
|
+
"builtins.lobe-agent-builder.inspector.enablePlugin": "啟用",
|
|
22
|
+
"builtins.lobe-agent-builder.inspector.modelsCount": "{{count}} 個模型",
|
|
23
|
+
"builtins.lobe-agent-builder.inspector.noResults": "沒有結果",
|
|
24
|
+
"builtins.lobe-agent-builder.inspector.togglePlugin": "切換",
|
|
18
25
|
"builtins.lobe-agent-builder.title": "Agent 建構器",
|
|
19
26
|
"builtins.lobe-cloud-sandbox.apiName.editLocalFile": "編輯檔案",
|
|
20
27
|
"builtins.lobe-cloud-sandbox.apiName.executeCode": "執行程式碼",
|
|
@@ -31,13 +38,27 @@
|
|
|
31
38
|
"builtins.lobe-cloud-sandbox.apiName.searchLocalFiles": "搜尋檔案",
|
|
32
39
|
"builtins.lobe-cloud-sandbox.apiName.writeLocalFile": "寫入檔案",
|
|
33
40
|
"builtins.lobe-cloud-sandbox.title": "雲端沙盒",
|
|
41
|
+
"builtins.lobe-group-agent-builder.apiName.batchCreateAgents": "批次建立代理",
|
|
42
|
+
"builtins.lobe-group-agent-builder.apiName.createAgent": "建立代理",
|
|
34
43
|
"builtins.lobe-group-agent-builder.apiName.getAvailableModels": "取得可用模型",
|
|
35
44
|
"builtins.lobe-group-agent-builder.apiName.installPlugin": "安裝外掛",
|
|
36
45
|
"builtins.lobe-group-agent-builder.apiName.inviteAgent": "邀請成員",
|
|
37
46
|
"builtins.lobe-group-agent-builder.apiName.removeAgent": "移除成員",
|
|
47
|
+
"builtins.lobe-group-agent-builder.apiName.searchAgent": "搜尋代理",
|
|
38
48
|
"builtins.lobe-group-agent-builder.apiName.searchMarketTools": "搜尋外掛市集",
|
|
39
49
|
"builtins.lobe-group-agent-builder.apiName.updateAgentConfig": "更新代理設定",
|
|
40
|
-
"builtins.lobe-group-agent-builder.apiName.
|
|
50
|
+
"builtins.lobe-group-agent-builder.apiName.updateAgentPrompt": "更新代理提示詞",
|
|
51
|
+
"builtins.lobe-group-agent-builder.apiName.updateGroup": "更新群組",
|
|
52
|
+
"builtins.lobe-group-agent-builder.apiName.updateGroupPrompt": "更新群組提示詞",
|
|
53
|
+
"builtins.lobe-group-agent-builder.apiName.updateSupervisorPrompt": "更新主管提示詞",
|
|
54
|
+
"builtins.lobe-group-agent-builder.inspector.agents": "代理",
|
|
55
|
+
"builtins.lobe-group-agent-builder.inspector.avatar": "頭像",
|
|
56
|
+
"builtins.lobe-group-agent-builder.inspector.backgroundColor": "背景顏色",
|
|
57
|
+
"builtins.lobe-group-agent-builder.inspector.description": "描述",
|
|
58
|
+
"builtins.lobe-group-agent-builder.inspector.noResults": "沒有結果",
|
|
59
|
+
"builtins.lobe-group-agent-builder.inspector.openingMessage": "開場訊息",
|
|
60
|
+
"builtins.lobe-group-agent-builder.inspector.openingQuestions": "開場問題",
|
|
61
|
+
"builtins.lobe-group-agent-builder.inspector.title": "標題",
|
|
41
62
|
"builtins.lobe-group-agent-builder.title": "群組代理建構器",
|
|
42
63
|
"builtins.lobe-group-management.apiName.broadcast": "所有人發言",
|
|
43
64
|
"builtins.lobe-group-management.apiName.createAgent": "新增團隊成員",
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
"internlm.description": "一個專注於大型模型研究與工具的開源組織,提供高效、易用的平台,讓尖端模型與演算法更易於取得。",
|
|
30
30
|
"jina.description": "Jina AI 成立於 2020 年,是領先的搜尋 AI 公司。其搜尋技術堆疊包含向量模型、重排序器與小型語言模型,打造可靠且高品質的生成式與多模態搜尋應用。",
|
|
31
31
|
"lmstudio.description": "LM Studio 是一款桌面應用程式,可在本機開發與實驗大型語言模型。",
|
|
32
|
-
"lobehub.description": "LobeHub Cloud 使用官方 API 存取 AI 模型,並以與模型代幣相關的點數來計算使用量。",
|
|
33
32
|
"minimax.description": "MiniMax 成立於 2021 年,致力於打造通用 AI,擁有多模態基礎模型,包括兆級參數的 MoE 文本模型、語音模型與視覺模型,並推出如海螺 AI 等應用。",
|
|
34
33
|
"mistral.description": "Mistral 提供先進的通用、專業與研究模型,支援複雜推理、多語言任務與程式碼生成,並支援函式呼叫以實現自訂整合。",
|
|
35
34
|
"modelscope.description": "ModelScope 是阿里雲的模型即服務平台,提供多樣化的 AI 模型與推理服務。",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/lobehub",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.274",
|
|
4
4
|
"description": "LobeHub - an open-source,comprehensive AI Agent framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"framework",
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import type { BuiltinInspectorProps } from '@lobechat/types';
|
|
4
|
+
import { cx } from 'antd-style';
|
|
5
|
+
import { memo, useMemo } from 'react';
|
|
6
|
+
import { useTranslation } from 'react-i18next';
|
|
7
|
+
|
|
8
|
+
import { highlightTextStyles, inspectorTextStyles, shinyTextStyles } from '@/styles';
|
|
9
|
+
|
|
10
|
+
import type { GetAvailableModelsParams, GetAvailableModelsState } from '../../../types';
|
|
11
|
+
|
|
12
|
+
export const GetAvailableModelsInspector = memo<
|
|
13
|
+
BuiltinInspectorProps<GetAvailableModelsParams, GetAvailableModelsState>
|
|
14
|
+
>(({ args, partialArgs, isArgumentsStreaming, isLoading, pluginState }) => {
|
|
15
|
+
const { t } = useTranslation('plugin');
|
|
16
|
+
|
|
17
|
+
const providerId = args?.providerId || partialArgs?.providerId;
|
|
18
|
+
|
|
19
|
+
// Calculate total model count from providers
|
|
20
|
+
const modelInfo = useMemo(() => {
|
|
21
|
+
if (!pluginState?.providers) return null;
|
|
22
|
+
|
|
23
|
+
const allModels = pluginState.providers.flatMap((p) => p.models);
|
|
24
|
+
const totalCount = allModels.length;
|
|
25
|
+
|
|
26
|
+
if (totalCount === 0) return null;
|
|
27
|
+
|
|
28
|
+
// Get first 2 model names for display
|
|
29
|
+
const displayModels = allModels.slice(0, 2).map((m) => m.name || m.id);
|
|
30
|
+
return { displayModels, totalCount };
|
|
31
|
+
}, [pluginState?.providers]);
|
|
32
|
+
|
|
33
|
+
// Initial streaming state
|
|
34
|
+
if (isArgumentsStreaming || isLoading) {
|
|
35
|
+
return (
|
|
36
|
+
<div className={cx(inspectorTextStyles.root, shinyTextStyles.shinyText)}>
|
|
37
|
+
<span>{t('builtins.lobe-agent-builder.apiName.getAvailableModels')}</span>
|
|
38
|
+
{providerId && (
|
|
39
|
+
<>
|
|
40
|
+
: <span className={highlightTextStyles.primary}>{providerId}</span>
|
|
41
|
+
</>
|
|
42
|
+
)}
|
|
43
|
+
</div>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// Loaded state with results
|
|
48
|
+
return (
|
|
49
|
+
<div className={inspectorTextStyles.root}>
|
|
50
|
+
<span>{t('builtins.lobe-agent-builder.apiName.getAvailableModels')}: </span>
|
|
51
|
+
{modelInfo && (
|
|
52
|
+
<span className={highlightTextStyles.primary}>
|
|
53
|
+
{modelInfo.displayModels.join(' / ')}
|
|
54
|
+
{modelInfo.totalCount > 2 &&
|
|
55
|
+
t('builtins.lobe-agent-builder.inspector.modelsCount', {
|
|
56
|
+
count: modelInfo.totalCount,
|
|
57
|
+
})}
|
|
58
|
+
</span>
|
|
59
|
+
)}
|
|
60
|
+
</div>
|
|
61
|
+
);
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
GetAvailableModelsInspector.displayName = 'GetAvailableModelsInspector';
|
|
65
|
+
|
|
66
|
+
export default GetAvailableModelsInspector;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import type { BuiltinInspectorProps } from '@lobechat/types';
|
|
4
|
+
import { createStaticStyles, cssVar, cx } from 'antd-style';
|
|
5
|
+
import { Check, X } from 'lucide-react';
|
|
6
|
+
import { memo } from 'react';
|
|
7
|
+
import { useTranslation } from 'react-i18next';
|
|
8
|
+
|
|
9
|
+
import { highlightTextStyles, inspectorTextStyles, shinyTextStyles } from '@/styles';
|
|
10
|
+
|
|
11
|
+
import type { InstallPluginParams, InstallPluginState } from '../../../types';
|
|
12
|
+
|
|
13
|
+
const styles = createStaticStyles(({ css }) => ({
|
|
14
|
+
statusIcon: css`
|
|
15
|
+
margin-block-end: -2px;
|
|
16
|
+
margin-inline-start: 4px;
|
|
17
|
+
`,
|
|
18
|
+
}));
|
|
19
|
+
|
|
20
|
+
export const InstallPluginInspector = memo<
|
|
21
|
+
BuiltinInspectorProps<InstallPluginParams, InstallPluginState>
|
|
22
|
+
>(({ args, partialArgs, isArgumentsStreaming, isLoading, pluginState }) => {
|
|
23
|
+
const { t } = useTranslation('plugin');
|
|
24
|
+
|
|
25
|
+
const identifier = args?.identifier || partialArgs?.identifier;
|
|
26
|
+
const displayName = pluginState?.pluginName || identifier;
|
|
27
|
+
|
|
28
|
+
// Initial streaming state
|
|
29
|
+
if (isArgumentsStreaming && !identifier) {
|
|
30
|
+
return (
|
|
31
|
+
<div className={cx(inspectorTextStyles.root, shinyTextStyles.shinyText)}>
|
|
32
|
+
<span>{t('builtins.lobe-agent-builder.apiName.installPlugin')}</span>
|
|
33
|
+
</div>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Get installation result
|
|
38
|
+
const isSuccess = pluginState?.success && pluginState?.installed;
|
|
39
|
+
const hasResult = pluginState?.success !== undefined;
|
|
40
|
+
|
|
41
|
+
return (
|
|
42
|
+
<div
|
|
43
|
+
className={cx(
|
|
44
|
+
inspectorTextStyles.root,
|
|
45
|
+
(isArgumentsStreaming || isLoading) && shinyTextStyles.shinyText,
|
|
46
|
+
)}
|
|
47
|
+
>
|
|
48
|
+
<span>{t('builtins.lobe-agent-builder.apiName.installPlugin')}: </span>
|
|
49
|
+
{displayName && <span className={highlightTextStyles.primary}>{displayName}</span>}
|
|
50
|
+
{!isLoading &&
|
|
51
|
+
hasResult &&
|
|
52
|
+
(isSuccess ? (
|
|
53
|
+
<Check className={styles.statusIcon} color={cssVar.colorSuccess} size={14} />
|
|
54
|
+
) : (
|
|
55
|
+
<X className={styles.statusIcon} color={cssVar.colorError} size={14} />
|
|
56
|
+
))}
|
|
57
|
+
</div>
|
|
58
|
+
);
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
InstallPluginInspector.displayName = 'InstallPluginInspector';
|
|
62
|
+
|
|
63
|
+
export default InstallPluginInspector;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import type { BuiltinInspectorProps } from '@lobechat/types';
|
|
4
|
+
import { Text } from '@lobehub/ui';
|
|
5
|
+
import { cssVar, cx } from 'antd-style';
|
|
6
|
+
import { memo } from 'react';
|
|
7
|
+
import { useTranslation } from 'react-i18next';
|
|
8
|
+
|
|
9
|
+
import { highlightTextStyles, inspectorTextStyles, shinyTextStyles } from '@/styles';
|
|
10
|
+
|
|
11
|
+
import type { SearchMarketToolsParams, SearchMarketToolsState } from '../../../types';
|
|
12
|
+
|
|
13
|
+
export const SearchMarketToolsInspector = memo<
|
|
14
|
+
BuiltinInspectorProps<SearchMarketToolsParams, SearchMarketToolsState>
|
|
15
|
+
>(({ args, partialArgs, isArgumentsStreaming, isLoading, pluginState }) => {
|
|
16
|
+
const { t } = useTranslation('plugin');
|
|
17
|
+
|
|
18
|
+
const query = args?.query || partialArgs?.query;
|
|
19
|
+
const category = args?.category || partialArgs?.category;
|
|
20
|
+
const displayText = query || category;
|
|
21
|
+
|
|
22
|
+
// Initial streaming state
|
|
23
|
+
if (isArgumentsStreaming && !displayText) {
|
|
24
|
+
return (
|
|
25
|
+
<div className={cx(inspectorTextStyles.root, shinyTextStyles.shinyText)}>
|
|
26
|
+
<span>{t('builtins.lobe-agent-builder.apiName.searchMarketTools')}</span>
|
|
27
|
+
</div>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const resultCount = pluginState?.tools?.length ?? 0;
|
|
32
|
+
const hasResults = resultCount > 0;
|
|
33
|
+
|
|
34
|
+
return (
|
|
35
|
+
<div
|
|
36
|
+
className={cx(
|
|
37
|
+
inspectorTextStyles.root,
|
|
38
|
+
(isArgumentsStreaming || isLoading) && shinyTextStyles.shinyText,
|
|
39
|
+
)}
|
|
40
|
+
>
|
|
41
|
+
<span>{t('builtins.lobe-agent-builder.apiName.searchMarketTools')}: </span>
|
|
42
|
+
{displayText && <span className={highlightTextStyles.primary}>{displayText}</span>}
|
|
43
|
+
{!isLoading &&
|
|
44
|
+
!isArgumentsStreaming &&
|
|
45
|
+
pluginState?.tools &&
|
|
46
|
+
(hasResults ? (
|
|
47
|
+
<span style={{ marginInlineStart: 4 }}>({resultCount})</span>
|
|
48
|
+
) : (
|
|
49
|
+
<Text
|
|
50
|
+
as={'span'}
|
|
51
|
+
color={cssVar.colorTextDescription}
|
|
52
|
+
fontSize={12}
|
|
53
|
+
style={{ marginInlineStart: 4 }}
|
|
54
|
+
>
|
|
55
|
+
({t('builtins.lobe-agent-builder.inspector.noResults')})
|
|
56
|
+
</Text>
|
|
57
|
+
))}
|
|
58
|
+
</div>
|
|
59
|
+
);
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
SearchMarketToolsInspector.displayName = 'SearchMarketToolsInspector';
|
|
63
|
+
|
|
64
|
+
export default SearchMarketToolsInspector;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import type { BuiltinInspectorProps } from '@lobechat/types';
|
|
4
|
+
import { createStaticStyles, cssVar, cx } from 'antd-style';
|
|
5
|
+
import { Check } from 'lucide-react';
|
|
6
|
+
import { memo, useMemo } from 'react';
|
|
7
|
+
import { useTranslation } from 'react-i18next';
|
|
8
|
+
|
|
9
|
+
import { highlightTextStyles, inspectorTextStyles, shinyTextStyles } from '@/styles';
|
|
10
|
+
|
|
11
|
+
import type { UpdateAgentConfigParams, UpdateConfigState } from '../../../types';
|
|
12
|
+
|
|
13
|
+
const styles = createStaticStyles(({ css }) => ({
|
|
14
|
+
statusIcon: css`
|
|
15
|
+
margin-block-end: -2px;
|
|
16
|
+
margin-inline-start: 4px;
|
|
17
|
+
`,
|
|
18
|
+
}));
|
|
19
|
+
|
|
20
|
+
export const UpdateConfigInspector = memo<
|
|
21
|
+
BuiltinInspectorProps<UpdateAgentConfigParams, UpdateConfigState>
|
|
22
|
+
>(({ args, partialArgs, isArgumentsStreaming, isLoading, pluginState }) => {
|
|
23
|
+
const { t } = useTranslation('plugin');
|
|
24
|
+
|
|
25
|
+
const togglePlugin = args?.togglePlugin || partialArgs?.togglePlugin;
|
|
26
|
+
const config = args?.config || partialArgs?.config;
|
|
27
|
+
const meta = args?.meta || partialArgs?.meta;
|
|
28
|
+
|
|
29
|
+
// Build display text
|
|
30
|
+
const displayText = useMemo(() => {
|
|
31
|
+
// If toggling plugin, show that info
|
|
32
|
+
if (togglePlugin?.pluginId) {
|
|
33
|
+
const enabled = togglePlugin.enabled ?? pluginState?.togglePlugin?.enabled;
|
|
34
|
+
const action =
|
|
35
|
+
enabled === true
|
|
36
|
+
? t('builtins.lobe-agent-builder.inspector.enablePlugin')
|
|
37
|
+
: enabled === false
|
|
38
|
+
? t('builtins.lobe-agent-builder.inspector.disablePlugin')
|
|
39
|
+
: t('builtins.lobe-agent-builder.inspector.togglePlugin');
|
|
40
|
+
return `${action} ${togglePlugin.pluginId}`;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// Otherwise show updated fields
|
|
44
|
+
const fields: string[] = [];
|
|
45
|
+
if (config) {
|
|
46
|
+
if (config.model) fields.push('model');
|
|
47
|
+
if (config.provider) fields.push('provider');
|
|
48
|
+
if (config.plugins) fields.push('plugins');
|
|
49
|
+
if (config.params) fields.push('params');
|
|
50
|
+
if (config.chatConfig) fields.push('chatConfig');
|
|
51
|
+
}
|
|
52
|
+
if (meta) {
|
|
53
|
+
if (meta.title) fields.push('title');
|
|
54
|
+
if (meta.description) fields.push('description');
|
|
55
|
+
if (meta.avatar) fields.push('avatar');
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
return fields.length > 0 ? fields.join(', ') : '';
|
|
59
|
+
}, [togglePlugin, config, meta, pluginState, t]);
|
|
60
|
+
|
|
61
|
+
// Initial streaming state
|
|
62
|
+
if (isArgumentsStreaming && !displayText) {
|
|
63
|
+
return (
|
|
64
|
+
<div className={cx(inspectorTextStyles.root, shinyTextStyles.shinyText)}>
|
|
65
|
+
<span>{t('builtins.lobe-agent-builder.apiName.updateConfig')}</span>
|
|
66
|
+
</div>
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
const isSuccess = pluginState?.success;
|
|
71
|
+
|
|
72
|
+
return (
|
|
73
|
+
<div
|
|
74
|
+
className={cx(
|
|
75
|
+
inspectorTextStyles.root,
|
|
76
|
+
(isArgumentsStreaming || isLoading) && shinyTextStyles.shinyText,
|
|
77
|
+
)}
|
|
78
|
+
>
|
|
79
|
+
<span>{t('builtins.lobe-agent-builder.apiName.updateConfig')}</span>
|
|
80
|
+
{displayText && (
|
|
81
|
+
<>
|
|
82
|
+
: <span className={highlightTextStyles.primary}>{displayText}</span>
|
|
83
|
+
</>
|
|
84
|
+
)}
|
|
85
|
+
{!isLoading && isSuccess && (
|
|
86
|
+
<Check className={styles.statusIcon} color={cssVar.colorSuccess} size={14} />
|
|
87
|
+
)}
|
|
88
|
+
</div>
|
|
89
|
+
);
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
UpdateConfigInspector.displayName = 'UpdateConfigInspector';
|
|
93
|
+
|
|
94
|
+
export default UpdateConfigInspector;
|