fix: Only mock the fetch function when necessary. #47
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/
|