Skip to content

Commit 74374c5

Browse files
authored
Merge pull request helixml#624 from milosgajdos/bump-gptscript
Bump gptscript version
2 parents e6b8d83 + ce1210b commit 74374c5

File tree

6 files changed

+13
-11
lines changed

6 files changed

+13
-11
lines changed

.drone.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ workspace:
88

99
steps:
1010
- name: build-backend
11-
image: golang:1.22.5-alpine3.19
11+
image: golang:1.23.4-alpine3.20
1212
environment:
1313
GITHUB_TOKEN:
1414
from_secret: github_token
@@ -25,7 +25,7 @@ steps:
2525
depends_on: []
2626

2727
- name: unit-test
28-
image: golang:1.22.5-alpine3.19
28+
image: golang:1.23.4-alpine3.20
2929
environment:
3030
OPENAI_API_KEY:
3131
from_secret: openai_tools
@@ -47,7 +47,7 @@ steps:
4747
depends_on: []
4848

4949
- name: release-backend
50-
image: golang:1.22.5-bullseye
50+
image: golang:1.23.4-bullseye
5151
when:
5252
event:
5353
- tag

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### API Base ###
22
#---------------
3-
FROM golang:1.22-alpine AS api-base
3+
FROM golang:1.23-alpine AS api-base
44
WORKDIR /app
55
COPY go.mod go.sum ./
66
RUN go mod download
@@ -60,7 +60,7 @@ RUN yarn build
6060

6161
### Production Image ###
6262
#-----------------------
63-
FROM alpine:3.17
63+
FROM alpine:3.20
6464
RUN apk --update add --no-cache ca-certificates
6565

6666
COPY --from=api-build-env /helix /helix

Dockerfile.demos

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.5-alpine3.19
1+
FROM golang:1.23.4-alpine3.20
22
WORKDIR /app
33
RUN apk add --no-cache bash openssh
44
COPY go.mod go.sum ./
@@ -7,4 +7,4 @@ COPY demos ./demos
77
WORKDIR /app/demos
88
RUN go build -o /demos
99
EXPOSE 80
10-
ENTRYPOINT [ "/demos" ]
10+
ENTRYPOINT [ "/demos" ]

Dockerfile.runner

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
1818

1919
### BUILD
2020

21-
FROM golang:1.22 AS go-build-env
21+
FROM golang:1.23 AS go-build-env
2222
WORKDIR /workspace/helix
2323

2424
# <- COPY go.mod and go.sum files to the workspace

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/helixml/helix
22

3-
go 1.22.5
3+
go 1.23.1
44

5-
toolchain go1.22.6
5+
toolchain go1.23.3
66

77
replace github.com/tmc/langchaingo => github.com/helixml/langchaingo v0.1.15
88

@@ -30,7 +30,7 @@ require (
3030
github.com/google/uuid v1.6.0
3131
github.com/gorilla/mux v1.8.1
3232
github.com/gorilla/websocket v1.5.3
33-
github.com/gptscript-ai/gptscript v0.9.4
33+
github.com/gptscript-ai/gptscript v0.9.5
3434
github.com/hashicorp/go-retryablehttp v0.7.7
3535
github.com/inhies/go-bytesize v0.0.0-20220417184213-4913239db9cf
3636
github.com/jinzhu/copier v0.4.0

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,8 @@ github.com/gptscript-ai/chat-completion-client v0.0.0-20240813051153-a440ada7e3c
360360
github.com/gptscript-ai/chat-completion-client v0.0.0-20240813051153-a440ada7e3c3/go.mod h1:7P/o6/IWa1KqsntVf68hSnLKuu3+xuqm6lYhch1w4jo=
361361
github.com/gptscript-ai/gptscript v0.9.4 h1:8msPI7zdzNv6kElLqP/mIFFoir2CWbyf+1OJiC479FY=
362362
github.com/gptscript-ai/gptscript v0.9.4/go.mod h1:STd/eyhAkkC0YUL8B0tBs15m+uxm7yliur8HicZJL68=
363+
github.com/gptscript-ai/gptscript v0.9.5 h1:EWq+AyJ6CBdU9hS6xOnqBQGpWIy74Zx/Fd6tN0I6Bxc=
364+
github.com/gptscript-ai/gptscript v0.9.5/go.mod h1:+CC86EbcmMMBgvv5NBqHzep63SobtB5vhNOq4i6aPrA=
363365
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
364366
github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I=
365367
github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=

0 commit comments

Comments
 (0)