Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update openai_compatible.py to fix lang_code #155

Merged
merged 3 commits into from
Feb 13, 2025
Merged

Conversation

Krurst
Copy link
Contributor

@Krurst Krurst commented Feb 11, 2025

Properly sets lang_code from api request, and applies config default if not set

Thanks for adding the override default feature but it still wasn't working for me, even after I added to the actual api request, tracked it to here.

This is my very first pull request btw, so sorry if I've messed anything up

properly sets lang_code from api request, and applies config default if not set
@remsky
Copy link
Owner

remsky commented Feb 13, 2025

Looks good, just simplified the expression a touch.

@remsky remsky merged commit af654d5 into remsky:master Feb 13, 2025
@remsky
Copy link
Owner

remsky commented Feb 13, 2025

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants