64bit / async-openai

Rust library for OpenAI
https://docs.rs/async-openai
MIT License
1.09k stars 161 forks source link

Make error message for `ApiError` more user-friendly #240

Closed GabrielBianconi closed 1 month ago

GabrielBianconi commented 1 month ago

Fixes #238

I tested with one variation ("too many tokens") and it works fine. Tough to test exhaustively of course.