feat: support cohere's web search

This commit is contained in:
JustSong
2024-04-27 00:06:43 +08:00
parent ea210b6ed7
commit e64e7707a0
3 changed files with 18 additions and 0 deletions

View File

@@ -5,3 +5,10 @@ var ModelList = []string{
"command-light", "command-light-nightly",
"command-r", "command-r-plus",
}
func init() {
num := len(ModelList)
for i := 0; i < num; i++ {
ModelList = append(ModelList, ModelList[i]+"-internet")
}
}