Merge pull request #865 from danielmiessler/fix_groq_spelling

Fix groq spelling
This commit is contained in:
Eugen Eisler 2024-08-22 22:39:53 +02:00 committed by GitHub
commit 839c468b2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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/anthropic"
"github.com/danielmiessler/fabric/vendors/azure" "github.com/danielmiessler/fabric/vendors/azure"
"github.com/danielmiessler/fabric/vendors/gemini" "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/ollama"
"github.com/danielmiessler/fabric/vendors/openai" "github.com/danielmiessler/fabric/vendors/openai"
"github.com/danielmiessler/fabric/youtube" "github.com/danielmiessler/fabric/youtube"
@ -56,7 +56,7 @@ func NewFabricBase(db *db.Db) (ret *Fabric) {
ret.DefaultModel = ret.AddSetupQuestionCustom("Model", true, ret.DefaultModel = ret.AddSetupQuestionCustom("Model", true,
"Enter the index the name of your default model") "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()) gemini.NewClient(), anthropic.NewClient())
return return

View File

@ -1,4 +1,4 @@
package grocq package groc
import ( import (
"github.com/danielmiessler/fabric/vendors/openai" "github.com/danielmiessler/fabric/vendors/openai"
@ -6,7 +6,7 @@ import (
func NewClient() (ret *Client) { func NewClient() (ret *Client) {
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 return
} }