# NousResearch/hermes-agent · Bug fix: dict-valued 'type' key crashes payload estimator

## Open now

- Nothing open on GitHub.

A TypeError was raised in the watchdog payload estimator when a tool JSON schema contained a property named 'type' with a dict value instead of a string. Two fix attempts address this by making the estimator tolerate such schema-valued keys.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #104840. Verify it addresses your case.
- **Recommended:** read PR #104840 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-104840`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #104793: \[Bug\] TypeError: unhashable type 'dict' in _payload_chars() when a tool JSON schema has a property named "type"

## Prior & competing PRs

- **#104840: fix(agent): tool schemas no longer crash provider requests (salvage #104804)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/chat_completion_helpers.py`, `tests/agent/test_context_estimator_multimodal.py`
- **#104804: fix(agent): tolerate schema-valued "type" keys in the watchdog payload estimator (#104793)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `3c9c225425504599c766445e24f521a67d7ba03b`, `#104795`

## Fix status

- Merged to main in PR #104840 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-07`.
