Skip to content

Conversation

@chmjkb
Copy link
Contributor

@chmjkb chmjkb commented Nov 26, 2025

Description

Exposes temperature and topp parameters in GenerationConfig to allow users to control LLM text generation randomness and diversity via a call to configure(). Previously these were hardcoded to 0.8 and 0.9.

Introduces a breaking change?

  • Yes
  • No

Type of change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Documentation update (improves or adds clarity to existing documentation)
  • Other (chores, tests, code style improvements etc.)

Tested on

  • iOS
  • Android

Testing instructions

Screenshots

Related issues

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings

Additional notes

@chmjkb chmjkb requested a review from IgorSwat November 26, 2025 11:16
@chmjkb chmjkb linked an issue Nov 26, 2025 that may be closed by this pull request
Copy link
Member

@msluszniak msluszniak left a comment

Choose a reason for hiding this comment

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

The code itself looks good, if it's tested then I'm ok with these changes 🚀

@chmjkb chmjkb merged commit 83130d3 into main Nov 27, 2025
4 of 5 checks passed
@chmjkb chmjkb deleted the @chmjkb/expand-llm-runner branch November 27, 2025 08:42
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.

Expand LLM runner

3 participants