Skip to content

Commit

Permalink
Change default provider to phind
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew committed Feb 22, 2024
1 parent 9af2ee2 commit b2c4456
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/olekukonko/ts"
)

const localVersion = "2.7.0"
const localVersion = "2.7.1"

var bold = color.New(color.Bold)
var boldBlue = color.New(color.Bold, color.FgBlue)
Expand Down
4 changes: 2 additions & 2 deletions providers/providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func GetMainText(line string, provider string, input string) string {
return blackboxai.GetMainText(line)
}

return opengpts.GetMainText(line, input)
return phind.GetMainText(line)
}

func NewRequest(input string, params structs.Params, extraOptions structs.ExtraOptions) (*http.Response, error) {
Expand Down Expand Up @@ -63,5 +63,5 @@ func NewRequest(input string, params structs.Params, extraOptions structs.ExtraO
return blackboxai.NewRequest(input, params, extraOptions.PrevMessages)
}

return opengpts.NewRequest(input, params, extraOptions)
return phind.NewRequest(input, params, extraOptions.PrevMessages)
}

0 comments on commit b2c4456

Please sign in to comment.