7
7
"github.com/aandrew-me/tgpt/v2/providers/blackboxai"
8
8
"github.com/aandrew-me/tgpt/v2/providers/groq"
9
9
"github.com/aandrew-me/tgpt/v2/providers/koboldai"
10
- "github.com/aandrew-me/tgpt/v2/providers/llama2"
11
10
"github.com/aandrew-me/tgpt/v2/providers/ollama"
12
11
"github.com/aandrew-me/tgpt/v2/providers/openai"
13
12
"github.com/aandrew-me/tgpt/v2/providers/opengpts"
@@ -17,7 +16,7 @@ import (
17
16
)
18
17
19
18
var availableProviders = []string {
20
- "" , "opengpts" , "ollama" , "openai" , "phind" , "llama2" , " koboldai" , "blackboxai" , "groq" ,
19
+ "" , "opengpts" , "ollama" , "openai" , "phind" , "koboldai" , "blackboxai" , "groq" ,
21
20
}
22
21
23
22
func GetMainText (line string , provider string , input string ) string {
@@ -27,8 +26,6 @@ func GetMainText(line string, provider string, input string) string {
27
26
return groq .GetMainText (line )
28
27
} else if provider == "koboldai" {
29
28
return koboldai .GetMainText (line )
30
- } else if provider == "llama2" {
31
- return llama2 .GetMainText (line )
32
29
} else if provider == "ollama" {
33
30
return ollama .GetMainText (line )
34
31
} else if provider == "opengpts" {
@@ -61,8 +58,6 @@ func NewRequest(input string, params structs.Params, extraOptions structs.ExtraO
61
58
return groq .NewRequest (input , params , extraOptions .PrevMessages )
62
59
} else if params .Provider == "koboldai" {
63
60
return koboldai .NewRequest (input , params , "" )
64
- } else if params .Provider == "llama2" {
65
- return llama2 .NewRequest (input , params , extraOptions .PrevMessages )
66
61
} else if params .Provider == "ollama" {
67
62
return ollama .NewRequest (input , params , extraOptions .PrevMessages )
68
63
} else if params .Provider == "opengpts" {
0 commit comments