mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
@@ -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';
|
||||
|
||||
@@ -347,6 +347,8 @@ class ChatService {
|
||||
// Get the chat config to check streaming preference
|
||||
const chatConfig = agentChatConfigSelectors.currentChatConfig(getAgentStoreState());
|
||||
|
||||
delete (res as any).scope;
|
||||
|
||||
const payload = merge(
|
||||
{
|
||||
model: DEFAULT_AGENT_CONFIG.model,
|
||||
|
||||
Reference in New Issue
Block a user