Skip to content

Commit b0fc133

Browse files
committed
Merge remote-tracking branch 'origin/main--merge-conflict' into next
2 parents 1d2336b + f5636ed commit b0fc133

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

internal/encoding/json/encode.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ import (
1919
"encoding"
2020
"encoding/base64"
2121
"fmt"
22-
"github.com/openai/openai-go/internal/encoding/json/sentinel"
23-
"github.com/openai/openai-go/internal/encoding/json/shims"
2422
"math"
2523
"reflect"
2624
"slices"
@@ -30,6 +28,9 @@ import (
3028
"unicode"
3129
"unicode/utf8"
3230
_ "unsafe" // for linkname
31+
32+
"github.com/openai/openai-go/internal/encoding/json/sentinel"
33+
"github.com/openai/openai-go/internal/encoding/json/shims"
3334
)
3435

3536
// Marshal returns the JSON encoding of v.

internal/encoding/json/shims/shims.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"slices"
1212
)
1313

14-
const EscapeHTMLByDefault = true
14+
const EscapeHTMLByDefault = false
1515

1616
type OverflowableType struct{ reflect.Type }
1717

packages/param/option.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ package param
33
import (
44
"encoding/json"
55
"fmt"
6-
shimjson "github.com/openai/openai-go/internal/encoding/json"
76
"time"
7+
8+
shimjson "github.com/openai/openai-go/internal/encoding/json"
89
)
910

1011
func NewOpt[T comparable](v T) Opt[T] {

0 commit comments

Comments
 (0)