Skip to content

Commit

Permalink
-- FIX
Browse files Browse the repository at this point in the history
 - UPDATE LLM vendor
  • Loading branch information
NoahAmethyst committed Oct 29, 2024
1 parent 69b4f12 commit 4d22255
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion coolq/chat_assistant.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,13 @@ func AskAssistant(assistant Assistant) {
return
case <-time.After(time.Second * 10):
vendor := "OpenAI"
if assistant.Model() == ai_util.BingCopilot {
switch assistant.Model() {
case ai_util.BingCopilot:
vendor = "BingCopilot"
case ai_util.Ernie:
vendor = "百度千帆"
default:
break
}
assistant.Reply(fmt.Sprintf("%s 正在响应,请稍后...", vendor))
}
Expand Down

0 comments on commit 4d22255

Please sign in to comment.