fix: app crash on api key error #58
Annotations
6 errors and 10 warnings
apps/wapi-ai-chatbot/src/index.ts#L4
'cacheData' is defined but never used
|
apps/wapi-ai-chatbot/src/index.ts#L4
'computeCacheKey' is defined but never used
|
apps/wapi-ai-chatbot/src/index.ts#L4
'getCachedData' is defined but never used
|
apps/wapi-ai-chatbot/src/utils/gpt.ts#L3
Import "ConversationMessageType" is only used as types
|
|
|
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/
|
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/
|
packages/create-wapi-app/bin/index.ts#L26
Unexpected any. Specify a different type
|
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
|
apps/example-chat-bot/src/index.ts#L83
Promise returned in function argument where a void return was expected
|
apps/example-chat-bot/src/index.ts#L100
Promise returned in function argument where a void return was expected
|
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
|
apps/wapi-ai-chatbot/src/index.ts#L6
Async function 'init' has no 'await' expression
|
apps/wapi-ai-chatbot/src/index.ts#L16
Promise returned in function argument where a void return was expected
|
apps/wapi-ai-chatbot/src/utils/cache.ts#L7
Unexpected any. Specify a different type
|
This job failed
Loading