Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix api base in url #88

Merged
merged 1 commit into from
Jul 25, 2023
Merged

Fix api base in url #88

merged 1 commit into from
Jul 25, 2023

Conversation

kirillkuzin
Copy link
Contributor

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 :)

Copy link
Owner

@64bit 64bit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @kirillkuzin

Always a pleasure to hear from library users :)

Good find and thank you for fixing the bug!

@64bit 64bit merged commit 7fd943c into 64bit:main Jul 25, 2023
@64bit
Copy link
Owner

64bit commented Jul 25, 2023

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
Copy link
Owner

64bit commented Jul 26, 2023

This is released in v0.12.2

@kirillkuzin
Copy link
Contributor Author

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants