Charisma icon indicating copy to clipboard operation
Charisma copied to clipboard

Tokio Runtime Worker Panic

Open dogwaterdev1 opened this issue 2 years ago • 1 comments

Installed the package in recommended way with cargo install charisma. Download went off without a hitch/no issues (I'm on windows 11 for reference).

However, when attempting to run a sample prompt charisma "rusty crab robot" -c -C block # Estimated time ~1min, the program panics with the following error:

PS D:\Development\Game_Design\Rust_Projects> charisma "rusty crab robot" -c -C block # Estimated time ~1min
◜ rusty crab robotthread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) }', C:\Users\MyUser\.cargo\registry\src\index.crates.io-6f17d22bba15001f\charisma-0.2.6\src\model.rs:98:77
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: JoinError::Panic(Id(9), ...)

dogwaterdev1 avatar Aug 26 '23 15:08 dogwaterdev1

Thank you for reporting it.

I'll work on this.

Probably that's because of some breaking change done in the API's

(Just like When I removed API-v1)

orhnk avatar Aug 26 '23 17:08 orhnk