Skip to content

Conversation

@shrisukhani
Copy link
Contributor

@shrisukhani shrisukhani commented Dec 3, 2025

  • fix: add missing config to Gemini client invoke method
  • Guard CLI raw mode in non-TTY environments

Note

Guard CLI keypress/raw-mode behind TTY checks and send temperature/maxTokens to Gemini generateContent.

  • CLI (src/cli/index.ts):
    • Guard keypress handling and process.stdin.setRawMode(true) behind process.stdin.isTTY.
    • Apply TTY guard when resuming stdin in onStep, debugAgentOutput, and after follow-up prompt in onComplete.
  • LLM Provider (src/llm/providers/gemini.ts):
    • Add config to generateContent with temperature and maxOutputTokens sourced from options/defaults.

Written by Cursor Bugbot for commit 9435909. This will update automatically on new commits. Configure here.

shrisukhani and others added 2 commits December 2, 2025 17:51
The invoke() method was not passing temperature and maxOutputTokens
to the Gemini API, unlike invokeStructured() which correctly included
these parameters. This meant users' temperature settings were silently
ignored for regular (non-structured) Gemini calls.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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