Skip to content

Conversation

6DiegoDiego9
Copy link
Contributor

@6DiegoDiego9 6DiegoDiego9 commented Jan 1, 2024

In systems configured to use "," (comma) as decimal separator, such as with the Italian regional settings, numbers of type Double such as the temperature are converted to strings like "0,5" instead of "0.5". OpenAI API doesn't accept "," as decimal separator, and therefore the HTTP call fails. This commit fixes this bug.

In systems configured to use "," (comma) as decimal separator, such as with the Italian regional settings, number of type Double such as the temperature are converted to strings like "0,5" instead of "0.5".
OpenAI API doesn't accept "," as decimal separator, and therefore the HTTP call fails.
This commit fixes this bug.
@zq99 zq99 merged commit 6ad0ce8 into zq99:main Jan 7, 2024
@6DiegoDiego9 6DiegoDiego9 deleted the patch-1 branch January 7, 2024 14:34
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