Skip to content

Commit fa5634f

Browse files
Switch to go 1.22.0
1 parent aaba279 commit fa5634f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/gptscript-ai/gptscript
22

3-
go 1.21.5
3+
go 1.22.0
44

55
replace github.com/sashabaranov/go-openai => github.com/gptscript-ai/go-openai v0.0.0-20240206232711-45b6e096246a
66

pkg/runner/runner.go

-2
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,6 @@ func (r *Runner) subCalls(callCtx engine.Context, monitor Monitor, env []string,
203203

204204
eg, subCtx := errgroup.WithContext(callCtx.Ctx)
205205
for id, call := range lastReturn.Calls {
206-
id := id
207-
call := call
208206
eg.Go(func() error {
209207
callCtx, err := callCtx.SubCall(subCtx, call.ToolName, id)
210208
if err != nil {

0 commit comments

Comments
 (0)