Skip to content

fix: Only mock the fetch function when necessary. #47

fix: Only mock the fetch function when necessary.

fix: Only mock the fetch function when necessary. #47

Triggered via push November 10, 2024 14:21
Status Failure
Total duration 1m 5s
Artifacts

build-docker.yml

on: push
build-and-push
55s
build-and-push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
build-and-push: src/agent/openai.ts#L54
Block-scoped variable 'provider' used before its declaration.
build-and-push: src/agent/openai.ts#L54
Variable 'provider' is used before being assigned.
build-and-push: src/agent/openai.ts#L59
This comparison appears to be unintentional because the types 'string' and 'LanguageModelV1' have no overlap.
build-and-push
Process completed with exit code 2.
build-and-push
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, docker/setup-qemu-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/