chore: fix ali image implementation

This commit is contained in:
JustSong
2024-04-05 18:25:57 +08:00
parent d4347e7a35
commit eec41849ec
5 changed files with 197 additions and 179 deletions

View File

@@ -117,9 +117,9 @@ type ImageData struct {
}
type ImageResponse struct {
Created int `json:"created"`
Data []ImageData `json:"data"`
model.Usage `json:"usage"`
Created int64 `json:"created"`
Data []ImageData `json:"data"`
//model.Usage `json:"usage"`
}
type ChatCompletionsStreamResponseChoice struct {