64bit / async-openai

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

Fix api base in url #88

Closed kirillkuzin closed 1 year ago

kirillkuzin commented 1 year ago

Hello! Thanks for this crate, which I'm using in my projects. I found the bug: even if you specify api base in the config, the client will replace it when making a request (for openai config). So, this is the fix :)

64bit commented 1 year ago

Even though it still is bug in library for correctness, I recalled why it was like that.

I made an assumption that API endpoint for OpenAI will highly likely not change - is that still a good assumption?

64bit commented 1 year ago

This is released in v0.12.2

kirillkuzin commented 1 year ago

Actually, I don't know the precise cases for this. I have received a message about that from one guy using my plugin.