Skip to content

🐛 [Bug]: panic: ./docs/swagger.yaml file does not exist #209

Closed
@mkrueger12

Description

@mkrueger12

I am deploying the latest release via helm.

values.yaml specification:

image: repository: ghcr.io/einstack/glide tag: "0.0.3-rc.1-alpine" pullPolicy: IfNotPresent pullSecrets: []

On startup I receive the following error:

2024-04-16T17:38:01.255Z        DEBUG   routers/config.go:36    Init router     {"routerID": "azure-latency"}
2024-04-16T17:38:01.255Z        DEBUG   routers/config.go:94    Init lang model {"router": "azure-latency", "model": "azure-gpt4-west"}
2024-04-16T17:38:01.255Z        DEBUG   routers/config.go:94    Init lang model {"router": "azure-latency", "model": "azure-gpt4-east"}
panic: ./docs/swagger.yaml file does not exist

goroutine 23 [running]:
github.com/gofiber/contrib/swagger.New({0xc00026ee90?, 0x1?, 0x1?})
        /go/pkg/mod/github.com/gofiber/contrib/swagger@v1.1.1/swagger.go:90 +0x845
glide/pkg/api/http.(*Server).Run(0xc0001f0e80)
        /build/pkg/api/http/server.go:40 +0xd4
glide/pkg/api.(*ServerManager).Start.func1()
        /build/pkg/api/servers.go:44 +0x76
created by glide/pkg/api.(*ServerManager).Start in goroutine 1
        /build/pkg/api/servers.go:41 +0x66

This is the first time I've experienced this error. Had success deploying it previously.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions