feat: 完成意心ai agent

This commit is contained in:
ccnetcore
2026-01-07 22:25:54 +08:00
parent 00a9bd00e5
commit 40234343ff
19 changed files with 1469 additions and 33 deletions

View File

@@ -1,5 +1,15 @@
import type { Component } from 'vue';
/**
* 会话类型枚举
*/
export enum SessionTypeEnum {
/** 普通聊天 */
Chat = 0,
/** Agent智能体 */
Agent = 1,
}
export interface GetSessionListParams {
/**
* 创建者
@@ -61,6 +71,10 @@ export interface GetSessionListParams {
* 用户id
*/
userId: number;
/**
* 会话类型
*/
sessionType?: SessionTypeEnum;
}
/**
@@ -96,6 +110,10 @@ export interface ChatSessionVo {
* 自定义的消息前缀图标字段
*/
prefixIcon?: Component;
/**
* 会话类型
*/
sessionType?: SessionTypeEnum;
}
/**
@@ -147,6 +165,10 @@ export interface CreateSessionDTO {
* 用户id
*/
userId: number;
/**
* 会话类型
*/
sessionType?: SessionTypeEnum;
}
// export interface CreateSessionVO {