refactor(types): use inferred type for CreateSessionRequest

This commit is contained in:
icarus 2025-09-19 14:56:50 +08:00
parent f0724af2aa
commit d3378dcf78

View File

@ -186,7 +186,7 @@ export const UpdateAgentResponseSchema = GetAgentResponseSchema
export type UpdateAgentResponse = GetAgentResponse
export type CreateSessionRequest = AgentBase
export type CreateSessionRequest = z.infer<typeof CreateSessionRequestSchema>
export interface UpdateSessionRequest extends Partial<AgentBase> {}