refactor(types): use inferred type for CreateSessionRequest
This commit is contained in:
@@ -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> {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user