Alfex4936 / Bard-rs

Google Gemini CLI with Rust (Previsouly Bard)
MIT License
83 stars 17 forks source link

Error: chat_data is not a string #10

Open AchuAshwath opened 1 year ago

AchuAshwath commented 1 year ago

thread 'main' panicked at 'called Option::unwrap() on a None value', C:\Users\Admin.cargo\registry\src\index.crates.io-6f17d22bba15001f\bard-rs-1.2.1\src\main.rs:521:68 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

7Moses commented 1 year ago

Here is my attempt at updating and it did not work out,

~/xxxxx/Bard-rs (drafting●)$ cargo install bard-rs

Compiling bard-rs v1.2.2

Finished release [optimized] target(s) in 10m 25s

Replacing /Users/xxxxx/.cargo/bin/bard-rs

Replaced package `bard-rs v1.2.1` with `bard-rs v1.2.2` (executable `bard-rs`)

Then tried this

~/xxxxx/Bard-rs (drafting)$ bard-rs -e .env -p ./

thread 'main' panicked at 'SNlM0e not found', /Users/xxxxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bard-rs-1.2.2/src/main.rs:134:14 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

~/xxxxx/Bard-rs (drafting)$

Any updates welcome,

Alfex4936 commented 11 months ago

Can you check with the latest version?

cargo install bard-rs -f

davidcortesortuno commented 11 months ago

I updated to the latest version and I found:

Error: chat_data is not a string
thread 'main' panicked at /home/xxxxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bard-rs-1.2.5/src/main.rs:525:68:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace