feat: change repo name

This commit is contained in:
VaalaCat
2025-02-12 13:22:09 +00:00
parent ff9d83a485
commit 3640274cd1
51 changed files with 114 additions and 115 deletions

View File

@@ -54,7 +54,7 @@ func (e *APIError) UnmarshalJSON(data []byte) (err error) {
err = json.Unmarshal(rawMap["message"], &e.Message)
if err != nil {
// If the parameter field of a function call is invalid as a JSON schema
// refs: https://github.com/sashabaranov/go-openai/issues/381
// refs: https://git.vaala.cloud/VaalaCat/go-openai/issues/381
var messages []string
err = json.Unmarshal(rawMap["message"], &messages)
if err != nil {
@@ -64,7 +64,7 @@ func (e *APIError) UnmarshalJSON(data []byte) (err error) {
}
// optional fields for azure openai
// refs: https://github.com/sashabaranov/go-openai/issues/343
// refs: https://git.vaala.cloud/VaalaCat/go-openai/issues/343
if _, ok := rawMap["type"]; ok {
err = json.Unmarshal(rawMap["type"], &e.Type)
if err != nil {