Skip to content

v1.0.3 - Relaxed Symptom Validation

Choose a tag to compare

@Dhi13man Dhi13man released this 09 Dec 14:10
· 50 commits to master since this release
64f4c94

What's Changed

Relaxed Symptom Validation

Removed overly restrictive input validation that was causing errors when LLMs (especially Google Gemini) send symptom queries with non-ASCII characters.

Changes:

  • Removed regex validation /^[a-zA-Z0-9\s\-*"'.,;:()/&]+$/ that was rejecting Unicode characters, accented letters, and special formatting
  • Removed wildcard-in-middle-of-word validation that was causing false positives
  • The OOREP API now handles input sanitization server-side

Impact:

  • LLM-generated queries with Unicode characters (e.g., héadàche, 頭痛症) now work correctly
  • Special characters and formatting from various LLMs are accepted
  • No more ValidationError responses for legitimate symptom queries

Other Changes

  • Updated dependencies to latest versions
  • Updated README security documentation to reflect new validation behavior

Full Changelog: v1.0.2...v1.0.3