File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 11module github.com/gptscript-ai/gptscript
22
3- go 1.22.0
4-
5- replace github.com/sashabaranov/go-openai => github.com/gptscript-ai/go-openai v0.0.0-20240330064700-d33320ca826f
3+ go 1.22.2
64
75require (
86 github.com/AlecAivazis/survey/v2 v2.3.7
@@ -13,13 +11,13 @@ require (
1311 github.com/fatih/color v1.16.0
1412 github.com/getkin/kin-openapi v0.123.0
1513 github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
14+ github.com/gptscript-ai/chat-completion-client v0.0.0-20240404013040-49eb8f6affa1
1615 github.com/hexops/autogold/v2 v2.1.0
1716 github.com/jaytaylor/html2text v0.0.0-20230321000545-74c2419ad056
1817 github.com/mholt/archiver/v4 v4.0.0-alpha.8
1918 github.com/olahol/melody v1.1.4
2019 github.com/rs/cors v1.10.1
2120 github.com/samber/lo v1.38.1
22- github.com/sashabaranov/go-openai v1.20.4
2321 github.com/sirupsen/logrus v1.9.3
2422 github.com/spf13/cobra v1.8.0
2523 github.com/stretchr/testify v1.8.4
Original file line number Diff line number Diff line change @@ -124,8 +124,8 @@ github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+
124124github.com/googleapis/gax-go/v2 v2.0.5 /go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk =
125125github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc =
126126github.com/gorilla/websocket v1.5.0 /go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE =
127- github.com/gptscript-ai/go-openai v0.0.0-20240330064700-d33320ca826f h1:XSqwZIal7wCjmkV3Ncrvu5TAvXlaUnjGwygn21OTlh0 =
128- github.com/gptscript-ai/go-openai v0.0.0-20240330064700-d33320ca826f /go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg =
127+ github.com/gptscript-ai/chat-completion-client v0.0.0-20240404013040-49eb8f6affa1 h1:h0ikiEkB6lUgiOKN5ltZ7rzIvA13qjz8qcB/3wWdCws =
128+ github.com/gptscript-ai/chat-completion-client v0.0.0-20240404013040-49eb8f6affa1 /go.mod h1:7P/o6/IWa1KqsntVf68hSnLKuu3+xuqm6lYhch1w4jo =
129129github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA =
130130github.com/hashicorp/errwrap v1.0.0 /go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4 =
131131github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo =
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ import (
1414 "strings"
1515 "sync/atomic"
1616
17+ openai "github.com/gptscript-ai/chat-completion-client"
1718 "github.com/gptscript-ai/gptscript/pkg/cache"
1819 "github.com/gptscript-ai/gptscript/pkg/hash"
1920 "github.com/gptscript-ai/gptscript/pkg/system"
2021 "github.com/gptscript-ai/gptscript/pkg/types"
21- "github.com/sashabaranov/go-openai"
2222)
2323
2424const (
You can’t perform that action at this time.
0 commit comments