Skip to content

Commit e9f72fd

Browse files
committed
Duckduckgo quickfix
1 parent a6f4e40 commit e9f72fd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"github.com/olekukonko/ts"
2323
)
2424

25-
const localVersion = "2.9.1"
25+
const localVersion = "2.9.2"
2626

2727
var bold = color.New(color.Bold)
2828
var boldBlue = color.New(color.Bold, color.FgBlue)
@@ -535,7 +535,7 @@ func showHelpMessage() {
535535
fmt.Println("Uses deepseek-reasoner model by default. Requires API key. Recognizes the DEEPSEEK_API_KEY and DEEPSEEK_MODEL environment variables")
536536

537537
bold.Println("\nProvider: duckduckgo")
538-
fmt.Println("Available models: o3-mini (default), gpt-4o-mini, meta-llama/Llama-3.3-70B-Instruct-Turbo, mistralai/Mixtral-8x7B-Instruct-v0.1, claude-3-haiku-20240307")
538+
fmt.Println("Available models: o3-mini (default), gpt-4o-mini, meta-llama/Llama-3.3-70B-Instruct-Turbo, mistralai/Mixtral-8x7B-Instruct-v0.1, claude-3-haiku-20240307, mistralai/Mistral-Small-24B-Instruct-2501")
539539

540540
bold.Println("\nProvider: groq")
541541
fmt.Println("Requires a free API Key. Supported models: https://console.groq.com/docs/models")

providers/duckduckgo/duckduckgo.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ func NewRequest(input string, params structs.Params, prevMessages string) (*http
7575
headers["x-vqd-4"] = vqd
7676
}
7777

78+
headers["x-vqd-hash-1"] = "abcdefg"
79+
7880
// We don't make new status requests after the first one
7981
// We get the vqd from the main requests afterwards
8082

0 commit comments

Comments
 (0)