-
-
Couldn't load subscription status.
- Fork 185
Open
Labels
Description
i fill all data to config.yaml
use_llm: true # Will enable show_auto_replied when set to true
llm_api_key: ''
llm_base_url: 'https://api.openai.com/v1'
llm_model: 'gpt-4o-mini'
llm_knowledge: >
also: show_auto_replied: true
but openai don't give me answer in bot
i check it by curl - it api give answer
but inside bot - no
docker compose logs -f show only chat with bot, nothing about ai
update:
i download repo from git, now it give new error
supportbot-1 |
supportbot-1 | > telegram-support-bot@4.0.0 prod
supportbot-1 | > ts-node ./src/index.ts
supportbot-1 |
supportbot-1 | /bot/node_modules/ts-node/src/index.ts:859
supportbot-1 | return new TSError(diagnosticText, diagnosticCodes, diagnostics);
supportbot-1 | ^
supportbot-1 | TSError: ⨯ Unable to compile TypeScript:
supportbot-1 | src/index.ts(9,22): error TS2307: Cannot find module 'fancy-log' or its corresponding type declarations.
supportbot-1 |
supportbot-1 | at createTSError (/bot/node_modules/ts-node/src/index.ts:859:12)
supportbot-1 | at reportTSError (/bot/node_modules/ts-node/src/index.ts:863:19)
supportbot-1 | at getOutput (/bot/node_modules/ts-node/src/index.ts:1077:36)
supportbot-1 | at Object.compile (/bot/node_modules/ts-node/src/index.ts:1433:41)
supportbot-1 | at Module.m._compile (/bot/node_modules/ts-node/src/index.ts:1617:30)
supportbot-1 | at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
supportbot-1 | at Object.require.extensions.<computed> [as .ts] (/bot/node_modules/ts-node/src/index.ts:1621:12)
supportbot-1 | at Module.load (node:internal/modules/cjs/loader:988:32)
supportbot-1 | at Function.Module._load (node:internal/modules/cjs/loader:834:12)
supportbot-1 | at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {
supportbot-1 | diagnosticCodes: [ 2307 ]
supportbot-1 | }
supportbot-1 exited with code 0
supportbot-1 |