diff --git a/Makefile b/Makefile index 07c6a32..59d3041 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ clean: deps: rm -rf go.mod go.sum vendor go mod init github.com/mikeb26/gptcli - go mod edit -replace=github.com/sashabaranov/go-openai=github.com/mikeb26/sashabaranov-go-openai@v1.19.2.mb2 + go mod edit -replace=github.com/sashabaranov/go-openai=github.com/mikeb26/sashabaranov-go-openai@v1.20.2.mb1 GOPROXY=direct go mod tidy go mod vendor diff --git a/go.mod b/go.mod index 4a86d95..9cbcade 100644 --- a/go.mod +++ b/go.mod @@ -1,14 +1,14 @@ module github.com/mikeb26/gptcli -go 1.21.6 +go 1.22.0 -replace github.com/sashabaranov/go-openai => github.com/mikeb26/sashabaranov-go-openai v1.17.7-0.20240129171446-ffd8a2d71b79 +replace github.com/sashabaranov/go-openai => github.com/mikeb26/sashabaranov-go-openai v1.17.7-0.20240304204754-24eaaf5202f6 require ( github.com/fatih/color v1.16.0 github.com/golang/mock v1.6.0 github.com/sashabaranov/go-openai v0.0.0-00010101000000-000000000000 - github.com/stretchr/testify v1.8.4 + github.com/stretchr/testify v1.9.0 ) require ( diff --git a/go.sum b/go.sum index c5fa9fa..d9005dd 100644 --- a/go.sum +++ b/go.sum @@ -9,12 +9,12 @@ github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovk github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mikeb26/sashabaranov-go-openai v1.17.7-0.20240129171446-ffd8a2d71b79 h1:5cvNXL1GuUmYGAQqIPCtL+bj+0KzVwQs20EgPS8cro4= -github.com/mikeb26/sashabaranov-go-openai v1.17.7-0.20240129171446-ffd8a2d71b79/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg= +github.com/mikeb26/sashabaranov-go-openai v1.17.7-0.20240304204754-24eaaf5202f6 h1:5T3ansJyQlCn8SBH31Hk9FtnS4vTnZSEK2Y1QVGVa3M= +github.com/mikeb26/sashabaranov-go-openai v1.17.7-0.20240304204754-24eaaf5202f6/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=