Skip to content

Commit

Permalink
feat: new option set
Browse files Browse the repository at this point in the history
  • Loading branch information
PeronGH committed Jan 19, 2024
1 parent ca9cae8 commit 3a8f72d
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions sydney/sydney.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,18 @@ func NewSydney(options Options) *Sydney {
debugOptions.Cookies = nil
slog.Info("New Sydney", "v", debugOptions)
basicOptionsSet := []string{
"flux_365_copilot",
"deepleo_harmony_365_copilot",
"fluxcopilot",
"nojbf",
"iyxapbing",
"iycapbing",
"dgencontentv3",
"nointernalsugg",
"nojbf",
"disable_telemetry",
"machine_affinity",
"streamf",
}
if options.GPT4Turbo {
basicOptionsSet = append(basicOptionsSet, "dlgpt4t", "fluxsydney")
basicOptionsSet = append(basicOptionsSet, "dlgpt4t", "gpt4tmnc")
}
uuidObj, err := uuid.NewUUID()
if err != nil {
Expand All @@ -63,7 +62,7 @@ func NewSydney(options Options) *Sydney {
createConversationURL: util.Ternary(options.CreateConversationURL == "",
"https://edgeservices.bing.com/edgesvc/turing/conversation/create", options.CreateConversationURL),
optionsSetMap: map[string][]string{
"Creative": append(basicOptionsSet, "soedgeca"),
"Creative": append(basicOptionsSet, "h3imaginative"),
"Balanced": append(basicOptionsSet, "galileo"),
"Precise": append(basicOptionsSet, "h3precise"),
},
Expand Down Expand Up @@ -106,12 +105,8 @@ func NewSydney(options Options) *Sydney {
"Context",
"InternalSearchQuery",
"InternalSearchResult",
"Disengaged",
"InternalLoaderMessage",
"Progress",
"RenderCardRequest",
"AdsQuery",
"SemanticSerp",
"GenerateContentQuery",
"SearchQuery",
},
Expand Down

0 comments on commit 3a8f72d

Please sign in to comment.