Skip to content

Conversation

@knotmyrealname
Copy link

I'm looking to work with GPT-5 instead of the currently supported GPT-4 models as they cheaper and more powerful. I would not say that this is a complete integration - it'll need more work before I'm satisfied.

GPT-5 only supports a temperature of 1 - I could not find an elegant way of integrating this into the repository without adding a whole bunch of code. There are a few options I identified, and I can push those if desired

  • add a helper function to test the api routes before execution (also saves time, should probably already be a thing)
  • directly add gpt-5 temperature checks to the LLM.setup() function (hacky but takes the least effort)
  • override temperature values for gpt-5 classes (will require a redefined functions in a new GPT-5 class)

@google-cla
Copy link

google-cla bot commented Oct 30, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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