mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 02:20:10 +08:00
refactor(types): use inferred type for CreateSessionRequest
This commit is contained in:
parent
f0724af2aa
commit
d3378dcf78
@ -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> {}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user