🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🐛 fix: fix scope issue (#11719)
Arvin Xu17adde81708a
diff --git a/src/app/[variants]/(main)/agent/cron/[cronId]/index.tsx b/src/app/[variants]/(main)/agent/cron/[cronId]/index.tsxindex f4412eb45f5..6bf9c4187cf 100644--- a/src/app/[variants]/(main)/agent/cron/[cronId]/index.tsx+++ b/src/app/[variants]/(main)/agent/cron/[cronId]/index.tsx@@ -3,8 +3,7 @@import { EDITOR_DEBOUNCE_TIME } from '@lobechat/const';import { ActionIcon, Flexbox } from '@lobehub/ui';import { useDebounceFn } from 'ahooks';-import { App, message } from 'antd';-import { Empty } from '@lobehub/ui';+import { App, Empty, message } from 'antd';import dayjs, { type Dayjs } from 'dayjs';import { Trash2 } from 'lucide-react';import { memo, useCallback, useEffect, useRef, useState, useSyncExternalStore } from 'react';diff --git a/src/services/chat/index.ts b/src/services/chat/index.tsindex 14746402a59..f128356edd8 100644--- a/src/services/chat/index.ts+++ b/src/services/chat/index.ts@@ -347,6 +347,8 @@ class ChatService {// Get the chat config to check streaming preferenceconst chatConfig = agentChatConfigSelectors.currentChatConfig(getAgentStoreState());+ delete (res as any).scope;+const payload = merge({model: DEFAULT_AGENT_CONFIG.model,