Skip to content

fix: change temperature/top_p reading rules#1333

Merged
sigoden merged 1 commit intomainfrom
fix
Jun 28, 2025
Merged

fix: change temperature/top_p reading rules#1333
sigoden merged 1 commit intomainfrom
fix

Conversation

@sigoden
Copy link
Owner

@sigoden sigoden commented Jun 28, 2025

Currently, AIChat has a rule: when the temperature/top_p value in role/agent/session is null, it takes the value of the global temperature/top_p.

This rule is clearly inappropriate, see #1332.

Therefore, the following modifications are made: if the temperature/top_p value is null and the model field in role/agent/session is null, then take the value of the global temperature/top_p.

@sigoden sigoden changed the title fix: incorrect temperature/top_p fix: change temperature/top_p reading rules Jun 28, 2025
@sigoden sigoden merged commit b8fd84a into main Jun 28, 2025
3 checks passed
@sigoden sigoden deleted the fix branch June 28, 2025 11:26
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.

1 participant