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

fix: temperature should convert to float #442

Merged
merged 2 commits into from
Jun 29, 2023

Conversation

wangerzi
Copy link
Contributor

image

When init ChatOpenAI, temperature attribution should be float, otherwise we will always set temperature = 0

Before:
image

After fix:
image

@HenryHengZJ
Copy link
Contributor

ohhhhh wait whattttttttt all these time i didnt notice that!! would you be able to update all the nodes that have the temperature settings?

Thank you so much!! @wangerzi

@wangerzi
Copy link
Contributor Author

@HenryHengZJ I updated all the code by search temperature variable 😄

Copy link
Contributor

@HenryHengZJ HenryHengZJ left a comment

Choose a reason for hiding this comment

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

thank you!!

@HenryHengZJ HenryHengZJ merged commit 695deac into FlowiseAI:main Jun 29, 2023
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