Skip to content

chore: release v2.3.2 #91

chore: release v2.3.2

chore: release v2.3.2 #91

Triggered via push December 6, 2023 18:56
Status Failure
Total duration 1m 20s
Artifacts

ci.yml

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

Annotations

30 errors and 2 warnings
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 (18.x, ubuntu-latest): src/cursive.ts#L707
Type '{ error: any; model: string; id: string; usage: CursiveAskUsage; cost: CursiveAskCost; choices: (string | ChatCompletionRequestMessageFunctionCall)[]; functionResult: any; answer: string; messages: ChatCompletionRequestMessage[]; }' is not assignable to type 'CursiveEnrichedAnswer'.
test (18.x, ubuntu-latest)
Process completed with exit code 1.
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: src/cursive.ts#L707
Type '{ error: any; model: string; id: string; usage: CursiveAskUsage; cost: CursiveAskCost; choices: (string | ChatCompletionRequestMessageFunctionCall)[]; functionResult: any; answer: string; messages: ChatCompletionRequestMessage[]; }' is not assignable to type 'CursiveEnrichedAnswer'.
typecheck
Process completed with exit code 1.
test (16.x, ubuntu-latest): src/cursive.ts#L707
Type '{ error: any; model: string; id: string; usage: CursiveAskUsage; cost: CursiveAskCost; choices: (string | ChatCompletionRequestMessageFunctionCall)[]; functionResult: any; answer: string; messages: ChatCompletionRequestMessage[]; }' is not assignable to type 'CursiveEnrichedAnswer'.
test (16.x, ubuntu-latest)
Process completed with exit code 1.
test (16.x, macos-latest): src/cursive.ts#L707
Type '{ error: any; model: string; id: string; usage: CursiveAskUsage; cost: CursiveAskCost; choices: (string | ChatCompletionRequestMessageFunctionCall)[]; functionResult: any; answer: string; messages: ChatCompletionRequestMessage[]; }' is not assignable to type 'CursiveEnrichedAnswer'.
test (16.x, macos-latest)
Process completed with exit code 1.
test (18.x, macos-latest): src/cursive.ts#L707
Type '{ error: any; model: string; id: string; usage: CursiveAskUsage; cost: CursiveAskCost; choices: (string | ChatCompletionRequestMessageFunctionCall)[]; functionResult: any; answer: string; messages: ChatCompletionRequestMessage[]; }' is not assignable to type 'CursiveEnrichedAnswer'.
test (18.x, macos-latest)
Process completed with exit code 1.
test (16.x, windows-latest): src/cursive.ts#L707
Type '{ error: any; model: string; id: string; usage: CursiveAskUsage; cost: CursiveAskCost; choices: (string | ChatCompletionRequestMessageFunctionCall)[]; functionResult: any; answer: string; messages: ChatCompletionRequestMessage[]; }' is not assignable to type 'CursiveEnrichedAnswer'.
test (16.x, windows-latest)
Process completed with exit code 1.
test (18.x, windows-latest): src/cursive.ts#L707
Type '{ error: any; model: string; id: string; usage: CursiveAskUsage; cost: CursiveAskCost; choices: (string | ChatCompletionRequestMessageFunctionCall)[]; functionResult: any; answer: string; messages: ChatCompletionRequestMessage[]; }' is not assignable to type 'CursiveEnrichedAnswer'.
test (18.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