Skip to content

Fix temperature using default if 0#642

Merged
mannaandpoem merged 2 commits intoFoundationAgents:mainfrom
matengm1:bug/fix-temperature-defaulting
Mar 15, 2025
Merged

Fix temperature using default if 0#642
mannaandpoem merged 2 commits intoFoundationAgents:mainfrom
matengm1:bug/fix-temperature-defaulting

Conversation

@matengm1
Copy link
Copy Markdown
Contributor

Features
Correctly use the default parameter for temperature

Influence
temperature can be 0.0, however this results in the or case. Fix this by explicitly checking for is not None

Result
temperature only uses self.temperature if it's not passed

@mannaandpoem
Copy link
Copy Markdown
Collaborator

LGTM

@mannaandpoem mannaandpoem merged commit 3bb8f8f into FoundationAgents:main Mar 15, 2025
2 checks passed
iHeyTang pushed a commit to iHeyTang/OpenManus that referenced this pull request Apr 11, 2025
…ture-defaulting

Fix temperature using default if 0
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