diff --git a/go.mod b/go.mod index 7b070f9..1a48b6f 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,7 @@ go 1.22 require ( github.com/cespare/xxhash v1.1.0 + github.com/cespare/xxhash/v2 v2.3.0 github.com/dop251/goja v0.0.0-20240707163329-b1681fb2a2f5 github.com/fsnotify/fsnotify v1.7.0 github.com/gofiber/fiber/v2 v2.52.5 @@ -12,11 +13,12 @@ require ( github.com/google/uuid v1.6.0 github.com/joho/godotenv v1.5.1 github.com/knights-analytics/hugot v0.1.3 - github.com/sashabaranov/go-openai v1.26.3 + github.com/sashabaranov/go-openai v1.27.0 github.com/segmentio/fasthash v1.0.3 github.com/spf13/viper v1.19.0 github.com/stretchr/testify v1.9.0 github.com/tiktoken-go/tokenizer v0.1.1 + github.com/valyala/fasthttp v1.55.0 gorm.io/driver/postgres v1.5.9 gorm.io/gorm v1.25.11 ) @@ -25,7 +27,6 @@ require ( github.com/andybalholm/brotli v1.1.0 // indirect github.com/aws/aws-sdk-go v1.53.12 // indirect github.com/bodaay/HuggingFaceModelDownloader v0.0.0-20240307153905-2f38356a6d6c // indirect - github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect github.com/dlclark/regexp2 v1.11.2 // indirect @@ -68,7 +69,6 @@ require ( github.com/subosito/gotenv v1.6.0 // indirect github.com/tinylib/msgp v1.2.0 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect - github.com/valyala/fasthttp v1.55.0 // indirect github.com/valyala/tcplisten v1.0.0 // indirect github.com/viant/afs v1.25.1 // indirect github.com/viant/afsc v1.9.2 // indirect diff --git a/go.sum b/go.sum index dbb1dcb..bd729d7 100644 --- a/go.sum +++ b/go.sum @@ -117,6 +117,8 @@ github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6g github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= github.com/sashabaranov/go-openai v1.26.3 h1:Tjnh4rcvsSU68f66r05mys+Zou4vo4qyvkne6AIRJPI= github.com/sashabaranov/go-openai v1.26.3/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg= +github.com/sashabaranov/go-openai v1.27.0 h1:L3hO6650YUbKrbGUC6yCjsUluhKZ9h1/jcgbTItI8Mo= +github.com/sashabaranov/go-openai v1.27.0/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg= github.com/segmentio/fasthash v1.0.3 h1:EI9+KE1EwvMLBWwjpRDc+fEM+prwxDYbslddQGtrmhM= github.com/segmentio/fasthash v1.0.3/go.mod h1:waKX8l2N8yckOgmSsXJi7x1ZfdKZ4x7KRMzBtS3oedY= github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo=