feat:修复投顾agent功能
This commit is contained in:
@@ -72,10 +72,7 @@ export const assistantApi = {
|
||||
sessionHistory: (sessionId: string) =>
|
||||
apiFetch<AgentMessage[]>(`/advisor-agent/session/${encodeURIComponent(sessionId)}/history`),
|
||||
|
||||
/**
|
||||
* POST /chat/stream —— 响应是 text/event-stream,但后端整包输出,
|
||||
* 因此读完整条响应后一次性返回聚合结果(非流式渲染)。
|
||||
*/
|
||||
/** POST /chat/stream —— 读取 SSE,并支持调用方实时消费事件。 */
|
||||
chatOnce(
|
||||
body: {
|
||||
query: string;
|
||||
|
||||
Reference in New Issue
Block a user