Skip to content

fix(gateway): honor default for invalid bool-like config values - #4029

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-b2abefdf
Mar 30, 2026
Merged

fix(gateway): honor default for invalid bool-like config values#4029
teknium1 merged 1 commit into
mainfrom
hermes/hermes-b2abefdf

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Hardens _coerce_bool() in gateway config to return the caller's default for unrecognized values instead of Python-truthy coercion.

Cherry-picked from PR #3748 by @aydnOktay with authorship preserved. 130 gateway config tests pass.

@teknium1
teknium1 merged commit 72104eb into main Mar 30, 2026
2 of 3 checks passed
angelburgosrosado pushed a commit to angelburgosrosado/hermes-agent that referenced this pull request Apr 27, 2026
02356abc pushed a commit to 02356abc/hermes-agent that referenced this pull request May 14, 2026
gweeteve pushed a commit to gweeteve/hermes-agent that referenced this pull request Jun 2, 2026
waefrebeorn pushed a commit to waefrebeorn/slermes that referenced this pull request Jul 2, 2026
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.

2 participants