File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ import (
19
19
"encoding"
20
20
"encoding/base64"
21
21
"fmt"
22
- "github.com/openai/openai-go/internal/encoding/json/sentinel"
23
- "github.com/openai/openai-go/internal/encoding/json/shims"
24
22
"math"
25
23
"reflect"
26
24
"slices"
@@ -30,6 +28,9 @@ import (
30
28
"unicode"
31
29
"unicode/utf8"
32
30
_ "unsafe" // for linkname
31
+
32
+ "github.com/openai/openai-go/internal/encoding/json/sentinel"
33
+ "github.com/openai/openai-go/internal/encoding/json/shims"
33
34
)
34
35
35
36
// Marshal returns the JSON encoding of v.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
11
11
"slices"
12
12
)
13
13
14
- const EscapeHTMLByDefault = true
14
+ const EscapeHTMLByDefault = false
15
15
16
16
type OverflowableType struct { reflect.Type }
17
17
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ package param
3
3
import (
4
4
"encoding/json"
5
5
"fmt"
6
- shimjson "github.com/openai/openai-go/internal/encoding/json"
7
6
"time"
7
+
8
+ shimjson "github.com/openai/openai-go/internal/encoding/json"
8
9
)
9
10
10
11
func NewOpt [T comparable ](v T ) Opt [T ] {
You can’t perform that action at this time.
0 commit comments