Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuque-security committed Feb 26, 2025
1 parent f378e6c commit ed574f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/openai/openai.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ func HunyuanAI(prompt string, key string) (string, error) {

// DeepSeekR1API DeepSeek AI接入
func DeepSeekR1API(prompt, key string) (string, error) {
baseUrl := "https://api.deepseek.ai/v1/"
model := "deepseek-reasoner"
baseUrl := "https://api.deepseek.com/v1/"
model := "deepseek-chat"
return OpenAI(prompt, key, baseUrl, model)
}

Expand Down

0 comments on commit ed574f6

Please sign in to comment.