@@ -12,15 +12,14 @@ import (
1212 "github.com/aandrew-me/tgpt/v2/src/providers/koboldai"
1313 "github.com/aandrew-me/tgpt/v2/src/providers/ollama"
1414 "github.com/aandrew-me/tgpt/v2/src/providers/openai"
15- "github.com/aandrew-me/tgpt/v2/src/providers/phind"
1615 "github.com/aandrew-me/tgpt/v2/src/providers/pollinations"
1716 "github.com/aandrew-me/tgpt/v2/src/providers/sky"
1817 "github.com/aandrew-me/tgpt/v2/src/structs"
1918 http "github.com/bogdanfinn/fhttp"
2019)
2120
2221var availableProviders = []string {
23- "" , "deepseek" , "isou" , "gemini" , "groq" , "kimi" , "koboldai" , "ollama" , "openai" , "phind" , " pollinations" , "sky" ,
22+ "" , "deepseek" , "isou" , "gemini" , "groq" , "kimi" , "koboldai" , "ollama" , "openai" , "pollinations" , "sky" ,
2423}
2524
2625func GetMainText (line string , provider string , input string ) string {
@@ -46,7 +45,7 @@ func GetMainText(line string, provider string, input string) string {
4645 case "sky" :
4746 return sky .GetMainText (line )
4847 default :
49- return phind .GetMainText (line )
48+ return pollinations .GetMainText (line )
5049 }
5150}
5251
@@ -85,7 +84,7 @@ func NewRequest(input string, params structs.Params, extraOptions structs.ExtraO
8584 case "sky" :
8685 return sky .NewRequest (input , params )
8786 default :
88- return phind .NewRequest (input , params )
87+ return pollinations .NewRequest (input , params )
8988 }
9089
9190}
0 commit comments