package session import ( "ai-agent/workflow/model/entity" ) type CreateExecChatReq struct { SessionId string `json:"sessionId" description:"所属会话ID"` RequestParams entity.ExecChatRequestParams `json:"requestParams" description:"请求参数"` } type UpdateExecChatReq struct { Id int64 `json:"id" v:"required#会话执行记录ID不能为空"` Duration int64 `json:"duration" description:"执行时长(秒)"` ResultFileUrl string `json:"resultFileUrl" description:"结果文件路径"` TotalTokens int `json:"totalTokens" description:"总token消耗"` TotalFee float64 `json:"totalFee" description:"总费用"` ErrorMessage string `json:"errorMessage" description:"错误信息(友好提示)"` Error string `json:"error" description:"错误明细(原始错误)"` } type DeleteExecChatReq struct { Id []int64 `json:"id" v:"required#会话执行记录ID不能为空"` }