n4ze3m / dialoqbase

Create chatbots with ease
https://dialoqbase.n4ze3m.com/
MIT License
1.63k stars 266 forks source link

V.1.0.1==> V1.0.2 Telegram and Discord problem #104

Closed comeback01 closed 8 months ago

comeback01 commented 1 year ago

Since last night's update, the bot on Telegram and Discord no longer works.

The "ping" command gives "pong".

The "start" command gives "Hey, How can I assist you?

Then you get: "Opps! Something went wrong".

Thanks for your help

n4ze3m commented 1 year ago

Hey, can you give me the logs, please?

comeback01 commented 1 year ago

Excuse my question, but where are the logs?

n4ze3m commented 1 year ago

It's ok :)

Are you using it locally or on Railway.app?

If you are using it locally with Docker, then run docker-compose logs dialqobase.

logs on docker terminal: image

If you are using it on Railway, go to the project, click on 'dialoqbase-server,' and it will open a sidebar where, under deployments tags, you can view the logs by clicking 'View logs'

logs on railway: image

comeback01 commented 1 year ago

docker-compose logs dialoqbase Capture d'écran 2023-10-05 160737

n4ze3m commented 1 year ago

Can you send a message to your connected Telegram bot and check the logs? Sorry for the issue causing problems with the integration now.

comeback01 commented 1 year ago

No thanks for your help, this weekend I'm planning a monthly payment.

Capture d'écran 2023-10s05 161341

n4ze3m commented 1 year ago

The error is caused by fireworks.ai. I encountered an issue with Fireworks today. Are you using the paid plan for Fireworks?

comeback01 commented 1 year ago

No, I'm using the free version. I didn't see how to get a paid version, and what's the price?

n4ze3m commented 1 year ago

Can you run anything on their playground at https://app.fireworks.ai/models/fireworks/mistral-7b-instruct-4k ?

Fireworks pricing page: https://readme.fireworks.ai/page/pricing

You can add credit to your fireworks account https://app.fireworks.ai/users?tab=billing

n4ze3m commented 1 year ago

this weekend I'm planning a monthly payment.

As I said, only donate if you like the project :). Monthly payment for this type of side project is not really good :/, but I will keep improving the project in my free time

comeback01 commented 1 year ago

If I pay, won't there be a problem with telegram and discord?

I'll have to check if the prices are right. Capture d'écran 2023-10-05 163113

n4ze3m commented 1 year ago

It's interesting; it looks like it is working on the free plan. I will look into what happened with Fireworks. I have already scheduled a release for today, so if it is an issue caused by dialoqbase, I will add a fix to it. Sorry.

comeback01 commented 1 year ago

I tried with the openAI api, it works.

Then I put back the fireworks.ai api (LLMA 2 70B), and it works again.

Maybe something to do with the update? Capture d'écran 2023-10-05 171321

n4ze3m commented 1 year ago

Ah, it may be because of the Fireworks API being down or some issue at that time. I tried to reproduce the error locally, but I'm not encountering it. If I do encounter it, I will release a patch :). I will also add error logging to the dialoqbase integration tabs in an upcoming update, making it easier to debug

comeback01 commented 1 year ago

I still have a problem with the Bot discord and Telegram.

After a few hours, I get the same message as yesterday.

All I have to do is switch from Fireworks to GPT, then put Fireworks back on, and it works.

It's as if the connection had been cut and this operation reactivates the connection.

n4ze3m commented 1 year ago

Interesting. I will look into how to fix the API connection problem.