hack-ink / AiR

AI with Rust.
GNU General Public License v3.0
118 stars 6 forks source link

Handle http errors to prevent interruption #75

Closed jiguantong closed 2 months ago

jiguantong commented 2 months ago

version: v0.3.3

2024-07-13 21:21:37.684 air[20382:1082957] TSM AdjustCapsLockLEDForKeyTransitionHandling - _ISSetPhysicalKeyboardCapsLockLED Inhibit
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: StreamError("Invalid status code: 429 Too Many Requests")
Location: src/service/chat.rs:72

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
zsh: abort      /Users/gt/Downloads/air

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
AurevoirXavier commented 2 months ago

It's a known issue.

Dup of #61.