fix: groq spelling

This commit is contained in:
Eugen Eisler 2024-08-22 22:15:57 +02:00
parent 4b3afb3c8e
commit 0549e0e7f0
2 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ import (
"github.com/danielmiessler/fabric/vendors/anthropic"
"github.com/danielmiessler/fabric/vendors/azure"
"github.com/danielmiessler/fabric/vendors/gemini"
"github.com/danielmiessler/fabric/vendors/grocq"
"github.com/danielmiessler/fabric/vendors/groc"
"github.com/danielmiessler/fabric/vendors/ollama"
"github.com/danielmiessler/fabric/vendors/openai"
"github.com/danielmiessler/fabric/youtube"
@ -56,7 +56,7 @@ func NewFabricBase(db *db.Db) (ret *Fabric) {
ret.DefaultModel = ret.AddSetupQuestionCustom("Model", true,
"Enter the index the name of your default model")
ret.VendorsAll.AddVendors(openai.NewClient(), azure.NewClient(), ollama.NewClient(), grocq.NewClient(),
ret.VendorsAll.AddVendors(openai.NewClient(), azure.NewClient(), ollama.NewClient(), groc.NewClient(),
gemini.NewClient(), anthropic.NewClient())
return

View File

@ -1,4 +1,4 @@
package grocq
package groc
import (
"github.com/danielmiessler/fabric/vendors/openai"
@ -6,7 +6,7 @@ import (
func NewClient() (ret *Client) {
ret = &Client{}
ret.Client = openai.NewClientCompatible("Grocq", "https://api.groq.com/openai/v1", nil)
ret.Client = openai.NewClientCompatible("Groq", "https://api.groq.com/openai/v1", nil)
return
}