Remove user-facing new-api naming; Docker/network/container names use heicode. Go imports updated; Dockerfiles and workflows ldflags fixed. Made-with: Cursor
21 lines
512 B
Go
21 lines
512 B
Go
package dto
|
|
|
|
import (
|
|
"encoding/json"
|
|
|
|
"github.com/heicode/manager/types"
|
|
)
|
|
|
|
type OpenAIResponsesCompactionResponse struct {
|
|
ID string `json:"id"`
|
|
Object string `json:"object"`
|
|
CreatedAt int `json:"created_at"`
|
|
Output json.RawMessage `json:"output"`
|
|
Usage *Usage `json:"usage"`
|
|
Error any `json:"error,omitempty"`
|
|
}
|
|
|
|
func (o *OpenAIResponsesCompactionResponse) GetOpenAIError() *types.OpenAIError {
|
|
return GetOpenAIError(o.Error)
|
|
}
|