Skip to content

Conversation

lhydave
Copy link
Contributor

@lhydave lhydave commented Apr 22, 2025

Describe the changes you have made:

Change the temperature initialization of Llm class in interpreter/core/llm/llm.py.

Before:

self.temperature = 0

After:

self.temperature = 0.0

This change makes sure that the type of self.temperature is always float rather than int, which is more reliable and friendly for type checking.

Reference any relevant issues (e.g. "Fixes #000"):

None.

Pre-Submission Checklist (optional but appreciated):

  • I have included relevant documentation updates (stored in /docs)
  • I have read docs/CONTRIBUTING.md
  • I have read docs/ROADMAP.md

OS Tests (optional but appreciated):

  • Tested on Windows
  • Tested on MacOS
  • Tested on Linux

@Notnaton Notnaton merged commit dcfcffa into openinterpreter:main Apr 23, 2025
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