IdleStateUpdate
Sub classes¶
| Name | Children | Inherits |
|---|---|---|
| IdleStateSessionUpdate aclientp.schema.v2.session_updates ``state_update``: no foreground work is active. |
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| _StateBase aclientp.schema.v2.prompt |
⋔ Inheritance diagram¶
graph TD
95970869522048["prompt.IdleStateUpdate"]
95970869470352["prompt._StateBase"]
95970868359040["base.AnnotatedObject"]
95970855946400["base.Schema"]
95970851503232["main.BaseModel"]
125067848591872["builtins.object"]
95970869470352 --> 95970869522048
95970868359040 --> 95970869470352
95970855946400 --> 95970868359040
95970851503232 --> 95970855946400
125067848591872 --> 95970851503232
🛈 DocStrings¶
Bases: _StateBase
No foreground work is active; background work may continue.
Agents SHOULD include stop_reason when the transition ends foreground work.
Source code in src/aclientp/schema/v2/prompt.py
error
class-attribute
instance-attribute
¶
error: Error | MISSING | None = MISSING
For stop_reason == "error": the failure, as a JSON-RPC error object.
stop_reason
class-attribute
instance-attribute
¶
stop_reason: StopReason | MISSING | None = MISSING
Why foreground work stopped; omitted or None when there is no stop reason.