flows-network / openai-assistant-telegram

Connect your OpenAI applications based on the Assistant API to Telegram
Apache License 2.0
22 stars 3 forks source link

No assistant found with id #1

Open vadim0x60 opened 10 months ago

vadim0x60 commented 10 months ago

Hi! I tried to run this flow and it connects to Telegram fine, but not to OpenAI. Every time I send it a message, it doesn't respond and the log has one more error

{ "level": "ERROR", "msg": "thread '' panicked at 'called `Result::unwrap()` on an `Err` value: ApiError(ApiError { message: \"No assistant found with id 'asst_XXXXXXXXXXXXXXX'.\", type: Some(\"invalid_request_error\"), param: None, code: None })', src/lib.rs:106:10\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\n", "function": "run" }

I checked whether I could have set my assistant ID wrong, but it's copied and pasted directly from https://platform.openai.com/assistants

What could the issue be?