mirror of https://github.com/velour/catbase.git
gpt: remove a colon
This commit is contained in:
parent
32a64517fc
commit
673aa5ddb2
|
@ -31,7 +31,8 @@ func (p *GPTPlugin) setDefaultPrompt() error {
|
|||
}
|
||||
|
||||
func (p *GPTPlugin) setPrompt(prompt string) error {
|
||||
client, err := p.getClient()
|
||||
var err error
|
||||
client, err = p.getClient()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue