show chat titles

This commit is contained in:
Ramnique Singh 2026-01-20 16:36:36 +05:30
parent 146c3d66bd
commit 2683d4e371
4 changed files with 108 additions and 16 deletions

View file

@ -110,6 +110,7 @@ export const AskHumanResponsePayload = AskHumanResponseEvent.pick({
export const Run = z.object({
id: z.string(),
title: z.string().optional(),
createdAt: z.iso.datetime(),
agentId: z.string(),
log: z.array(RunEvent),
@ -118,6 +119,7 @@ export const Run = z.object({
export const ListRunsResponse = z.object({
runs: z.array(Run.pick({
id: true,
title: true,
createdAt: true,
agentId: true,
})),