fix: app crash on api key error #58
Annotations
6 errors and 10 warnings
build-and-lint:
apps/wapi-ai-chatbot/src/index.ts#L4
'cacheData' is defined but never used
|
build-and-lint:
apps/wapi-ai-chatbot/src/index.ts#L4
'computeCacheKey' is defined but never used
|
build-and-lint:
apps/wapi-ai-chatbot/src/index.ts#L4
'getCachedData' is defined but never used
|
build-and-lint:
apps/wapi-ai-chatbot/src/utils/gpt.ts#L3
Import "ConversationMessageType" is only used as types
|
build-and-lint
wapi-gpt#lint: command (/home/runner/work/wapi.js/wapi.js/apps/wapi-ai-chatbot) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
|
build-and-lint
Process completed with exit code 1.
|
build-and-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/github-script@v5. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build-and-lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2, actions/github-script@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build-and-lint:
packages/create-wapi-app/bin/index.ts#L26
Unexpected any. Specify a different type
|
build-and-lint:
apps/example-chat-bot/src/index.ts#L66
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
|
build-and-lint:
apps/example-chat-bot/src/index.ts#L83
Promise returned in function argument where a void return was expected
|
build-and-lint:
apps/example-chat-bot/src/index.ts#L100
Promise returned in function argument where a void return was expected
|
build-and-lint:
apps/example-chat-bot/src/index.ts#L109
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
|
build-and-lint:
apps/wapi-ai-chatbot/src/index.ts#L6
Async function 'init' has no 'await' expression
|
build-and-lint:
apps/wapi-ai-chatbot/src/index.ts#L16
Promise returned in function argument where a void return was expected
|
build-and-lint:
apps/wapi-ai-chatbot/src/utils/cache.ts#L7
Unexpected any. Specify a different type
|