Skip to content

fix(backend): add validation boundaries for model temperature configuration#347

Open
annukumar123 wants to merge 3 commits into
imDarshanGK:mainfrom
annukumar123:fix/settings-temperature-validation
Open

fix(backend): add validation boundaries for model temperature configuration#347
annukumar123 wants to merge 3 commits into
imDarshanGK:mainfrom
annukumar123:fix/settings-temperature-validation

Conversation

@annukumar123

Copy link
Copy Markdown

Added explicit boundary verification checks for the model temperature settings in routes/settings.py. This ensures manual API requests cannot inject values outside the valid 0.0 to 1.0 range, preventing potential Ollama engine execution crashes.

Please label this PR with the appropriate SSoC difficulty tags (e.g., ssoc, level-1) so it registers for leaderboard points.

@vercel

vercel Bot commented Jun 6, 2026

Copy link
Copy Markdown

@annukumar123 is attempting to deploy a commit to the Darshan's projects Team on Vercel.

A member of the Team first needs to authorize it.

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