mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-06 05:17:15 +00:00
fix(agent): byte-cap recovery status line no longer claims HTTP 413
Review note (BearHuddleston, optional): 400 and status-less byte caps now reach _recover_payload_too_large, so its status line drops the hardcoded '(413)'.
This commit is contained in:
1 parent
17e3162e6d
commit
5fed142bf9
1 file changed
+1
-1
@@ -227,7 +227,7 @@ def _recover_payload_too_large(st: _Recovery, _retry: TurnRetryState) -> Overflo
|
||||
if exhausted is not None:
|
||||
return exhausted
|
||||
agent._buffer_diagnostic_status(
|
||||
f"⚠️ Request payload too large (413) — compression attempt "
|
||||
f"⚠️ Request payload too large — compression attempt "
|
||||
f"{st.compression_attempts}/{st.max_compression_attempts}..."
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user