Skip to content

Commit 7cfb00b

Browse files
committed
fix(AiSearchApplyService): update stream apply service to v2
1 parent 819bd20 commit 7cfb00b

File tree

1 file changed

+1
-2
lines changed
  • frontend/magic-web/src/opensource/services/chat/message/MessageApplyServices/ChatMessageApplyServices

1 file changed

+1
-2
lines changed

frontend/magic-web/src/opensource/services/chat/message/MessageApplyServices/ChatMessageApplyServices/AiSearchApplyService.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { makeObservable, observable, toJS } from "mobx"
1010
import MessageService from "../../MessageService"
1111
import StreamMessageApplyServiceV2 from "../StreamMessageApplyServiceV2"
1212
import { bigNumCompare } from "@/utils/string"
13-
import StreamMessageApplyService from "../StreamMessageApplyService"
1413

1514
interface RelationInfo {
1615
message_id: string
@@ -129,7 +128,7 @@ class AiSearchApplyService {
129128
if (!this.getTempMessageContent(message.message.app_message_id)) {
130129
MessageService.addReceivedMessage(this.generateMessage(message))
131130
// 记录应用消息ID与实际消息ID的关系
132-
StreamMessageApplyService.recordMessageInfo(message)
131+
StreamMessageApplyServiceV2.recordMessageInfo(message)
133132
} else {
134133
const messageInfo = StreamMessageApplyServiceV2.queryMessageInfo(
135134
message.message.app_message_id,

0 commit comments

Comments
 (0)