fix(agent): add stable debug conversation (#37744)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
zyssyz123
2026-06-22 09:21:09 +00:00
committed by GitHub
co-authored by autofix-ci[bot]
parent 7c20ffe6c4
commit 4065f63dce
9 changed files with 116 additions and 7 deletions
@@ -29,6 +29,7 @@ export type AgentAppDetailWithSite = {
bound_agent_id?: string | null
created_at?: number | null
created_by?: string | null
debug_conversation_id?: string | null
deleted_tools?: Array<DeletedTool>
description?: string | null
enable_api: boolean
@@ -329,6 +330,7 @@ export type AgentAppPartial = {
create_user_name?: string | null
created_at?: number | null
created_by?: string | null
debug_conversation_id?: string | null
description?: string | null
has_draft_trigger?: boolean | null
icon?: string | null
@@ -1501,6 +1503,7 @@ export type AgentAppDetailWithSiteWritable = {
bound_agent_id?: string | null
created_at?: number | null
created_by?: string | null
debug_conversation_id?: string | null
deleted_tools?: Array<DeletedTool>
description?: string | null
enable_api: boolean
@@ -1534,6 +1537,7 @@ export type AgentAppPartialWritable = {
create_user_name?: string | null
created_at?: number | null
created_by?: string | null
debug_conversation_id?: string | null
description?: string | null
has_draft_trigger?: boolean | null
icon?: string | null
@@ -684,6 +684,7 @@ export const zAgentAppPartial = z.object({
create_user_name: z.string().nullish(),
created_at: z.int().nullish(),
created_by: z.string().nullish(),
debug_conversation_id: z.string().nullish(),
description: z.string().nullish(),
has_draft_trigger: z.boolean().nullish(),
icon: z.string().nullish(),
@@ -747,6 +748,7 @@ export const zAgentAppDetailWithSite = z.object({
bound_agent_id: z.string().nullish(),
created_at: z.int().nullish(),
created_by: z.string().nullish(),
debug_conversation_id: z.string().nullish(),
deleted_tools: z.array(zDeletedTool).optional(),
description: z.string().nullish(),
enable_api: z.boolean(),
@@ -2086,6 +2088,7 @@ export const zAgentAppPartialWritable = z.object({
create_user_name: z.string().nullish(),
created_at: z.int().nullish(),
created_by: z.string().nullish(),
debug_conversation_id: z.string().nullish(),
description: z.string().nullish(),
has_draft_trigger: z.boolean().nullish(),
icon: z.string().nullish(),
@@ -2150,6 +2153,7 @@ export const zAgentAppDetailWithSiteWritable = z.object({
bound_agent_id: z.string().nullish(),
created_at: z.int().nullish(),
created_by: z.string().nullish(),
debug_conversation_id: z.string().nullish(),
deleted_tools: z.array(zDeletedTool).optional(),
description: z.string().nullish(),
enable_api: z.boolean(),