mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-26 03:31:24 +08:00
feat(agent): add name field to AgentSessionEntitySchema
Add name field to agent session schema to support session naming functionality
This commit is contained in:
parent
eaf302bb40
commit
8058ed21b3
@ -80,6 +80,7 @@ export interface ListOptions {
|
||||
// AgentSession entity representing a conversation session with one or more agents
|
||||
export const AgentSessionEntitySchema = AgentBaseSchema.extend({
|
||||
id: z.string(),
|
||||
name: z.string(),
|
||||
agent_id: z.string(), // Primary agent ID for the session
|
||||
agent_type: AgentTypeSchema,
|
||||
// sub_agent_ids?: string[] // Array of sub-agent IDs involved in the session
|
||||
|
||||
Loading…
Reference in New Issue
Block a user