Merge PR #8717: fix(pi-ai): honor onPayload replacement payloads in openai-completions, bedrock and cursor (@ranxianglei)

This commit is contained in:
can1357
2026-08-19 01:36:03 +02:00
9 changed files with 306 additions and 15 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ Cancelable pre-events:
- `input`
- `before_agent_start`
- `before_provider_request` (may replace provider request payload)
- `before_provider_request` (may replace provider request payload — the replacement is applied by every provider that fires the hook, which is all of them except `devin-agent`, which does not fire it)
- `after_provider_response`
- `context`
- `agent_start` / `agent_end` — agent loop lifecycle notification; `agent_end` remains notification-only