Skip to content

Conversation

@Danidapena
Copy link
Collaborator

@Danidapena Danidapena commented Sep 16, 2025

Before submitting
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

What does this PR do?

allows to set reasoning effort to node so it can be turned of on gemini models

from litai import LLM 

llm = LLM(model='google/gemini-2.5-flash-lite-preview-06-17')

response = llm.chat("think about energy",  max_tokens=1, reasoning_effort='none')
print(response)

response

Energy

Fixes # (issue).

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in GitHub issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@codecov
Copy link

codecov bot commented Sep 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84%. Comparing base (00a3eca) to head (441f87c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@        Coverage Diff         @@
##           main   #64   +/-   ##
==================================
  Coverage    84%   84%           
==================================
  Files         8     8           
  Lines       466   466           
==================================
  Hits        390   390           
  Misses       76    76           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@k223kim k223kim 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 @Danidapena 🔥

@Borda Borda merged commit a370729 into main Sep 16, 2025
31 checks passed
@Borda Borda deleted the allow-none-re branch September 16, 2025 20:05
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.

4 participants