fix: disable fidelity content replacement to stop rapid retry loops
L1/L2 stub replacement was producing responses that opencode rejected, triggering rapid retries and rate limiting. Disabled until stub format is validated for tool_result compatibility.
This commit is contained in:
parent
4a9182d4aa
commit
fb7bc87ea7
1 changed files with 3 additions and 1 deletions
|
|
@ -2183,7 +2183,9 @@ def create_app(
|
|||
# )
|
||||
|
||||
# 4b. Apply fidelity-based content replacement
|
||||
_apply_fidelity(payload, session)
|
||||
# DISABLED: L1/L2 stub replacement causes response issues that trigger
|
||||
# rapid retries in opencode. Re-enable once stub format is validated.
|
||||
# _apply_fidelity(payload, session)
|
||||
|
||||
# Place cache_control markers at optimal positions
|
||||
_place_cache_controls(payload)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue