mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-08 07:11:06 +00:00
Merge pull request #865 from danielmiessler/fix_groq_spelling
Fix groq spelling
This commit is contained in:
commit
839c468b2f
@ -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
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user