Skip to content

fix: use correct type for proxy request (#6) #88

fix: use correct type for proxy request (#6)

fix: use correct type for proxy request (#6) #88

Triggered via push December 4, 2023 20:43
Status Failure
Total duration 1m 14s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 2 warnings
typecheck: node_modules/.pnpm/ofetch@1.3.3/node_modules/ofetch/dist/shared/ofetch.441891d5.d.ts#L2
'globalThis' has no exported member named 'RequestInfo'. Did you mean 'RequestInit'?
typecheck: node_modules/.pnpm/ofetch@1.3.3/node_modules/ofetch/dist/shared/ofetch.441891d5.d.ts#L34
Interface 'FetchOptions<R>' incorrectly extends interface 'Omit<RequestInit, "body">'.
typecheck: node_modules/.pnpm/openai-edge@1.2.2/node_modules/openai-edge/types/base.d.ts#L14
Cannot find name 'RequestInfo'. Did you mean 'RequestInit'?
typecheck
Process completed with exit code 1.
test (18.x, ubuntu-latest)
Process completed with exit code 1.
lint: package.json#L68
Expected object keys to be in specified order. 'dependencies' should be before 'lint-staged'
lint: src/assets/price/anthropic.json#L2
Expected indentation of 2 spaces but found 4
lint: src/assets/price/anthropic.json#L3
Expected indentation of 4 spaces but found 8
lint: src/assets/price/anthropic.json#L4
Expected indentation of 4 spaces but found 8
lint: src/assets/price/anthropic.json#L5
Expected indentation of 2 spaces but found 4
lint: src/assets/price/anthropic.json#L6
Expected indentation of 2 spaces but found 4
lint: src/assets/price/anthropic.json#L7
Expected indentation of 4 spaces but found 8
lint: src/assets/price/anthropic.json#L8
Expected indentation of 4 spaces but found 8
lint: src/assets/price/anthropic.json#L9
Expected indentation of 2 spaces but found 4
lint: src/assets/price/anthropic.json#L10
Expected indentation of 2 spaces but found 4
test (16.x, ubuntu-latest)
Process completed with exit code 1.
test (18.x, macos-latest)
Process completed with exit code 1.
test (16.x, macos-latest)
Process completed with exit code 1.
test (18.x, windows-latest)
Process completed with exit code 1.
test (16.x, windows-latest)
Process completed with exit code 1.
lint: src/types.ts#L2
'/home/runner/work/cursive/cursive/node_modules/openai-edge/dist/index.mjs' imported multiple times
lint: src/types.ts#L3
'/home/runner/work/cursive/cursive/node_modules/openai-edge/dist/index.mjs' imported multiple times