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