Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport vscode-v1.64.x] fix(auto-edit): fix temperature value to be low for output consistency #6854

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

sourcegraph-release-bot
Copy link
Collaborator

context

  1. fix the temperature value to be low for output consistency. 0.1 temperature value still leads to inconsistency sometimes. Having more deterministic outputs would help repro and debug the model quality better.
  2. Refer for more context: https://github.com/sourcegraph/cody/pull/6848/files

Test plan

  1. Fixed the test cases and CI.
  2. Local testing on the prompt to ensure the output is consistent.

    Backport 792a954 from fix(auto-edit): fix temperature value to be low for output consistency #6853

#6853)

## context
1. fix the temperature value to be low for output consistency. `0.1`
temperature value still leads to inconsistency sometimes. Having more
deterministic outputs would help repro and debug the model quality
better.
2. Refer for more context:
https://github.com/sourcegraph/cody/pull/6848/files

## Test plan
1. Fixed the test cases and CI.
3. Local testing on the prompt to ensure the output is consistent.

(cherry picked from commit 792a954)
Copy link
Contributor

@umpox umpox left a comment

Choose a reason for hiding this comment

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

@umpox umpox merged commit bd7d5de into vscode-v1.64.x Jan 28, 2025
21 of 22 checks passed
@umpox umpox deleted the backport-6853-to-vscode-v1.64.x branch January 28, 2025 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants