refactor(chat): reorganize helper functions and update imports
This commit is contained in:
@@ -6,7 +6,7 @@ import type { SnapshotFrom } from "xstate";
|
||||
|
||||
import { chatMachine } from "./chat-machine";
|
||||
import type { ChatEvent, ChatState as MachineContext } from "./chat-machine";
|
||||
import { appendPromotionMessage } from "./chat-promotion";
|
||||
import { appendPromotionMessage } from "./helper/promotion";
|
||||
|
||||
/**
|
||||
* 对外暴露的 State 形状
|
||||
|
||||
Reference in New Issue
Block a user