Skip to content

Add variables to the smoke test#146

Merged
kevinbackhouse merged 2 commits intoGitHubSecurityLab:mainfrom
kevinbackhouse:smoketest-temperature
Feb 12, 2026
Merged

Add variables to the smoke test#146
kevinbackhouse merged 2 commits intoGitHubSecurityLab:mainfrom
kevinbackhouse:smoketest-temperature

Conversation

@kevinbackhouse
Copy link
Copy Markdown
Collaborator

The smoke test is currently failing with this error message:

** 🤖❗ Request Error: Error code: 400 - {'error': {'message': "Unsupported value: 'temperature' does not support 0 with this model. Only the default (1) value is supported.", 'type': 'invalid_request_error', 'param': 'temperature', 'code': 'unsupported_value'}}

The simplest solution is to set the MODEL_TEMP environment variable to 1.0. This PR allows us to change the value in the repo settings.

Copilot AI review requested due to automatic review settings February 6, 2026 15:24
@kevinbackhouse kevinbackhouse marked this pull request as ready for review February 6, 2026 15:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds configuration variables to the smoke test workflow to allow dynamic configuration of model temperature and API endpoint settings. The smoke test was failing because the default temperature of 0 is not supported by the model being tested, and this PR enables setting these values via repository variables.

Changes:

  • Added MODEL_TEMP environment variable mapped to vars.SMOKETEST_TEMPERATURE repository variable
  • Added AI_API_ENDPOINT environment variable mapped to vars.SMOKETEST_ENDPOINT repository variable

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/smoketest.yaml
@kevinbackhouse kevinbackhouse merged commit 213109c into GitHubSecurityLab:main Feb 12, 2026
9 checks passed
@kevinbackhouse kevinbackhouse deleted the smoketest-temperature branch February 12, 2026 17: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.

3 participants