Skip to content

Commit e33c408

Browse files
committed
feat(chatengine): update to 1.2.5
1 parent c570220 commit e33c408

File tree

6 files changed

+425
-542
lines changed

6 files changed

+425
-542
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ yarn.lock
3838
pnpm-lock.yaml
3939

4040
## mock server
41-
server/chat/*
41+
server/*
4242

4343
packages/pro-components/chat/chatbot/docs/*
4444
packages/pro-components/chat/chatbot/core/*

packages/pro-components/chat/chat-engine/_example/agui-comprehensive.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import type {
2222
AGUIHistoryMessage,
2323
} from '@tdesign-react/chat';
2424
import { getMessageContentForCopy, AGUIAdapter } from '@tdesign-react/chat';
25-
import { ToolCallRenderer, useAgentToolcall, useChat } from '../index';
25+
import { ToolCallRenderer, useAgentToolcall, useChat } from '@tdesign-react/chat';
2626
import './travel.css';
2727
import { travelActions } from './travel-actions';
2828

@@ -80,7 +80,7 @@ export default function TravelPlannerChat() {
8080
const createChatServiceConfig = () => ({
8181
defaultMessages: [],
8282
// 对话服务地址 - 使用 POST 请求
83-
endpoint: `https://1257786608-9i9j1kpa67.ap-guangzhou.tencentscf.com/sse/agui`,
83+
endpoint: `http://localhost:3000/sse/agui`,
8484
protocol: 'agui' as const,
8585
stream: true,
8686
// 流式对话结束

0 commit comments

Comments
 (0)