Skip to content

Conversation

@corbt
Copy link
Contributor

@corbt corbt commented Jan 20, 2026

Allow temperature=0.0 to pass through to Tinker sampling params by only defaulting to 1.0 when unset.

@corbt corbt requested a review from bradhilton January 20, 2026 20:49
Copy link
Collaborator

@bradhilton bradhilton left a comment

Choose a reason for hiding this comment

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

looks like there's an issue with the quality checks

Use walrus operator to properly narrow type from float | None to float,
while still allowing temperature=0 and defaulting to 1.0 when None.
@corbt corbt merged commit 79d27f2 into main Jan 21, 2026
2 checks passed
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.

3 participants