|
|
|
@ -3,6 +3,7 @@ package core
|
|
|
|
|
import (
|
|
|
|
|
"bytes"
|
|
|
|
|
"fmt"
|
|
|
|
|
"github.com/danielmiessler/fabric/vendors/groq"
|
|
|
|
|
"os"
|
|
|
|
|
"strconv"
|
|
|
|
|
"strings"
|
|
|
|
@ -14,11 +15,10 @@ import (
|
|
|
|
|
"github.com/danielmiessler/fabric/vendors/azure"
|
|
|
|
|
"github.com/danielmiessler/fabric/vendors/dryrun"
|
|
|
|
|
"github.com/danielmiessler/fabric/vendors/gemini"
|
|
|
|
|
"github.com/danielmiessler/fabric/vendors/groc"
|
|
|
|
|
"github.com/danielmiessler/fabric/vendors/ollama"
|
|
|
|
|
"github.com/danielmiessler/fabric/vendors/openai"
|
|
|
|
|
"github.com/danielmiessler/fabric/vendors/openrouter"
|
|
|
|
|
"github.com/danielmiessler/fabric/vendors/siliconcloud"
|
|
|
|
|
"github.com/danielmiessler/fabric/vendors/openrouter"
|
|
|
|
|
"github.com/danielmiessler/fabric/vendors/siliconcloud"
|
|
|
|
|
"github.com/danielmiessler/fabric/youtube"
|
|
|
|
|
"github.com/pkg/errors"
|
|
|
|
|
)
|
|
|
|
@ -60,7 +60,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(), groc.NewClient(),
|
|
|
|
|
ret.VendorsAll.AddVendors(openai.NewClient(), azure.NewClient(), ollama.NewClient(), groq.NewClient(),
|
|
|
|
|
gemini.NewClient(), anthropic.NewClient(), siliconcloud.NewClient(), openrouter.NewClient())
|
|
|
|
|
|
|
|
|
|
return
|
|
|
|
|