From c10b14e1d8452dd8eae4ffdd4b34ce7190fbab80 Mon Sep 17 00:00:00 2001 From: Donnie Adams Date: Fri, 18 Oct 2024 10:12:33 -0400 Subject: [PATCH] chore: bump go-gptscript to 82a0de4f919f Signed-off-by: Donnie Adams --- go.mod | 2 +- go.sum | 4 ++-- pkg/controller/handlers/uploads/remoteknowledgesource.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index d9bee68e8..277a999e7 100644 --- a/go.mod +++ b/go.mod @@ -19,7 +19,7 @@ require ( github.com/google/go-github/v62 v62.0.0 github.com/google/uuid v1.6.0 github.com/gptscript-ai/cmd v0.0.0-20240907001148-ffd49061124a - github.com/gptscript-ai/go-gptscript v0.9.6-0.20241017193234-657dcee11924 + github.com/gptscript-ai/go-gptscript v0.9.6-0.20241018130719-82a0de4f919f github.com/gptscript-ai/gptscript v0.9.6-0.20241017191944-c3a3279b0c2c github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de github.com/oauth2-proxy/oauth2-proxy/v7 v7.0.0-00010101000000-000000000000 diff --git a/go.sum b/go.sum index 6a902174e..10fe1eeed 100644 --- a/go.sum +++ b/go.sum @@ -359,8 +359,8 @@ github.com/gptscript-ai/chat-completion-client v0.0.0-20240813051153-a440ada7e3c github.com/gptscript-ai/chat-completion-client v0.0.0-20240813051153-a440ada7e3c3/go.mod h1:7P/o6/IWa1KqsntVf68hSnLKuu3+xuqm6lYhch1w4jo= github.com/gptscript-ai/cmd v0.0.0-20240907001148-ffd49061124a h1:LX7AOcbBoTnUk/233EARaZMnyQO66yXM9lyigniich4= github.com/gptscript-ai/cmd v0.0.0-20240907001148-ffd49061124a/go.mod h1:DJAo1xTht1LDkNYFNydVjTHd576TC7MlpsVRl3oloVw= -github.com/gptscript-ai/go-gptscript v0.9.6-0.20241017193234-657dcee11924 h1:Ug/kheM33ZIcdj64/qmtkmQUPmbL3pYZuxGAAqkXuiQ= -github.com/gptscript-ai/go-gptscript v0.9.6-0.20241017193234-657dcee11924/go.mod h1:/FVuLwhz+sIfsWUgUHWKi32qT0i6+IXlUlzs70KKt/Q= +github.com/gptscript-ai/go-gptscript v0.9.6-0.20241018130719-82a0de4f919f h1:GYqHxKqa91wZxCAPrj82fekYUGRbrxxBCdr4s4c0Heg= +github.com/gptscript-ai/go-gptscript v0.9.6-0.20241018130719-82a0de4f919f/go.mod h1:/FVuLwhz+sIfsWUgUHWKi32qT0i6+IXlUlzs70KKt/Q= github.com/gptscript-ai/gptscript v0.9.6-0.20241017191944-c3a3279b0c2c h1:eoXtJkwslrq/zwmmT7NNQFCIRdNeoYDw05UcTFprWQI= github.com/gptscript-ai/gptscript v0.9.6-0.20241017191944-c3a3279b0c2c/go.mod h1:+CC86EbcmMMBgvv5NBqHzep63SobtB5vhNOq4i6aPrA= github.com/gptscript-ai/tui v0.0.0-20240923192013-172e51ccf1d6 h1:vkgNZVWQgbE33VD3z9WKDwuu7B/eJVVMMPM62ixfCR8= diff --git a/pkg/controller/handlers/uploads/remoteknowledgesource.go b/pkg/controller/handlers/uploads/remoteknowledgesource.go index f65ad4529..c8489763c 100644 --- a/pkg/controller/handlers/uploads/remoteknowledgesource.go +++ b/pkg/controller/handlers/uploads/remoteknowledgesource.go @@ -202,7 +202,7 @@ func (u *UploadHandler) HandleUploadRun(req router.Request, resp router.Response file, err := u.gptscript.ReadFileInWorkspace(req.Ctx, thread.Spec.WorkspaceID, ".metadata.json") if err != nil { // Purposely ignore not found errors. - if !strings.HasPrefix(err.Error(), "file not found") { + if !strings.HasPrefix(err.Error(), "not found") { return err } } else {