完善客户端模块与工作区能力
This commit is contained in:
15
shared/agent-session.ts
Normal file
15
shared/agent-session.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export type AgentSessionMessageRole = 'user' | 'assistant';
|
||||
|
||||
export type AgentSessionMessage = {
|
||||
id?: string;
|
||||
role: AgentSessionMessageRole;
|
||||
created_at?: string;
|
||||
text: string;
|
||||
};
|
||||
|
||||
export type AgentSessionData = {
|
||||
project_id: string;
|
||||
session_id: string;
|
||||
updated_at: string;
|
||||
messages: AgentSessionMessage[];
|
||||
};
|
||||
Reference in New Issue
Block a user