Skip to content

Commit

Permalink
Merge pull request #865 from danielmiessler/fix_groq_spelling
Browse files Browse the repository at this point in the history
Fix groq spelling
  • Loading branch information
eugeis authored Aug 22, 2024
2 parents a7eab84 + 92e4960 commit 839c468
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/fabric.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions vendors/grocq/grocq.go → vendors/groc/groq.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package grocq
package groc

import (
"github.com/danielmiessler/fabric/vendors/openai"
)

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
}

Expand Down

0 comments on commit 839c468

Please sign in to comment.