File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package sydney
3
3
import (
4
4
"github.com/samber/lo"
5
5
"log/slog"
6
+ "slices"
6
7
"strconv"
7
8
"sydneyqt/util"
8
9
@@ -75,10 +76,10 @@ func NewSydney(options Options) *Sydney {
75
76
"https://edgeservices.bing.com/edgesvc/turing/conversation/create" , options .CreateConversationURL ),
76
77
bypassServer : options .BypassServer ,
77
78
optionsSetMap : map [string ][]string {
78
- "Balanced" : append (basicOptionsSet , "galileo" , "gldcl1p" ),
79
- "Precise" : append (basicOptionsSet , "h3precise" ),
80
- "Creative" : basicOptionsSet ,
81
- "CreativeClassic" : basicOptionsSet ,
79
+ "Balanced" : append (slices . Clone ( basicOptionsSet ) , "galileo" , "gldcl1p" ),
80
+ "Precise" : append (slices . Clone ( basicOptionsSet ) , "h3precise" ),
81
+ "Creative" : slices . Clone ( basicOptionsSet ) ,
82
+ "CreativeClassic" : slices . Clone ( basicOptionsSet ) ,
82
83
},
83
84
sliceIDs : []string {},
84
85
locationHints : map [string ][]LocationHint {
You can’t perform that action at this time.
0 commit comments