kdeps-events-openrouter-refusal
v1.0.0kdeps event: openrouter-refusal
set events / shelf guardrails
PurposeThresholds the agent loop watches - tokens, rounds, bytes, repeated calls - and the action each runs when crossed.
LLM context: none - kdeps uses it without sending it to the model
Where it runs
Part of the events set, used in workflow and agent mode. Thresholds the agent loop watches - tokens, rounds, bytes, repeated calls - and the action each runs when crossed.
- the agent loop runs a turn
- kdeps measures tokens, rounds and calls
- an event's trigger is metevents/openrouter-refusal
- its action runs
- the turn continues
Loaded by: kdeps (agent loop), /update, kdeps run, kdeps konfig export, kdeps konfig import
In the code: kdeps (agent loop)agent.(*REPL).Runagent.eventPatternMatch
Install
A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.
Pin a version with kdeps install events/openrouter-refusal@<version>.
Contents
- name
- openrouter-refusal
patterns:
- provider returned error
- no endpoints found
- only available on agentic
version: 1.0.0
# OpenRouter refusals of one free id that another free id may accept. Bug
# capture moves to another id instead of stopping. A provider refusal is not
# a kdeps bug, so it files no issue on its own.
name: openrouter-refusal
patterns:
- 'provider returned error'
- 'no endpoints found'
- 'only available on agentic'
Versions
| Version | Published | Status |
|---|---|---|
| 1.0.0 | 10/29/2026 | active |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.0.0
- Published
- 10/29/2026