Update version to v..1 and commit

This commit is contained in:
github-actions[bot]
2024-11-26 13:52:03 +00:00
parent e7f2d48437
commit 23b495c8f7
3 changed files with 5 additions and 5 deletions

View File

@@ -29,8 +29,8 @@ type PromptRequest struct {
}
type ChatRequest struct {
Prompts []PromptRequest `json:"prompts"`
common.ChatOptions // Embed the ChatOptions from common package
Prompts []PromptRequest `json:"prompts"`
common.ChatOptions // Embed the ChatOptions from common package
}
type StreamResponse struct {

View File

@@ -12,13 +12,13 @@ import (
// ConfigHandler defines the handler for configuration-related operations
type ConfigHandler struct {
db *fsdb.Db
db *fsdb.Db
// configurations *fsdb.EnvFilePath("$HOME/.config/fabric/.env")
}
func NewConfigHandler(r *gin.Engine, db *fsdb.Db) *ConfigHandler {
handler := &ConfigHandler{
db: db,
db: db,
// configurations: db.Configurations,
}

View File

@@ -1,8 +1,8 @@
package restapi
import (
"github.com/gin-gonic/gin"
"github.com/danielmiessler/fabric/plugins/ai"
"github.com/gin-gonic/gin"
)
type ModelsHandler struct {