We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93dfa77 commit 84b8094Copy full SHA for 84b8094
1 file changed
aisdk/ai/provider/openai/internal/codec/decode.go
@@ -34,7 +34,7 @@ func DecodeResponse(msg *responses.Response) (*api.Response, error) {
34
resp := &api.Response{
35
ResponseInfo: &api.ResponseInfo{
36
ID: msg.ID,
37
- ModelID: string(msg.Model),
+ ModelID: msg.Model,
38
Timestamp: time.Unix(int64(msg.CreatedAt), 0),
39
},
40
Content: content.Content,
0 commit comments