Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(desktop): 修复 ChatInput deviceLinkDeviceId null 类型不兼容 TS2322
Shinku67fae319a0d5
diff --git a/apps/desktop/src/renderer/components/new-chat/ChatInput.tsx b/apps/desktop/src/renderer/components/new-chat/ChatInput.tsxindex 0abc452428..361d1dae99 100644--- a/apps/desktop/src/renderer/components/new-chat/ChatInput.tsx+++ b/apps/desktop/src/renderer/components/new-chat/ChatInput.tsx@@ -5807,7 +5807,7 @@ export function ChatInput({{activeProviderId: providerId,memoryProviderId: providerId,- remoteDeviceId: deviceLinkDeviceId,+ remoteDeviceId: deviceLinkDeviceId ?? undefined,agentKind: targetAgentKind,markModelChoice: true,},@@ -5856,7 +5856,7 @@ export function ChatInput({{activeProviderId: providerId,memoryProviderId: providerId,- remoteDeviceId: deviceLinkDeviceId,+ remoteDeviceId: deviceLinkDeviceId ?? undefined,agentKind: targetAgentKind,markModelChoice: true,},