File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ module github.com/gptscript-ai/gptscript
2
2
3
3
go 1.22.0
4
4
5
- replace github.com/sashabaranov/go-openai => github.com/gptscript-ai/go-openai v0.0.0-20240328093028-7993661f9eab
5
+ replace github.com/sashabaranov/go-openai => github.com/gptscript-ai/go-openai v0.0.0-20240329145331-9325362ed457
6
6
7
7
require (
8
8
github.com/AlecAivazis/survey/v2 v2.3.7
Original file line number Diff line number Diff line change @@ -116,8 +116,8 @@ github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+
116
116
github.com/googleapis/gax-go/v2 v2.0.5 /go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk =
117
117
github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc =
118
118
github.com/gorilla/websocket v1.5.0 /go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE =
119
- github.com/gptscript-ai/go-openai v0.0.0-20240328093028-7993661f9eab h1:uZP7zZqtQI5lfK0fGBmi2ZUrI973tNCnCDx326LG00k =
120
- github.com/gptscript-ai/go-openai v0.0.0-20240328093028-7993661f9eab /go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg =
119
+ github.com/gptscript-ai/go-openai v0.0.0-20240329145331-9325362ed457 h1:ziAtY3K9pxk4Ua/0dQdndAopXyLlzguX9ECRbi8E9t4 =
120
+ github.com/gptscript-ai/go-openai v0.0.0-20240329145331-9325362ed457 /go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg =
121
121
github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA =
122
122
github.com/hashicorp/errwrap v1.0.0 /go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4 =
123
123
github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo =
Original file line number Diff line number Diff line change @@ -119,6 +119,10 @@ func (r *GPTScript) Run(cmd *cobra.Command, args []string) error {
119
119
color .NoColor = ! * r .Color
120
120
}
121
121
122
+ if r .DefaultModel != "" {
123
+ log .Infof ("WARNING: Changing the default model can have unknown behavior for existing tools. Use the model field per tool instead." )
124
+ }
125
+
122
126
gptOpt := gptscript.Options {
123
127
Cache : cache .Options (r .CacheOptions ),
124
128
OpenAI : openai .Options (r .OpenAIOptions ),
You can’t perform that action at this time.
0 commit comments