|
Entropic 2.11.1
Local-first agentic inference engine
|
Handle entropic.context_clear. More...
Public Attributes | |
| std::string | status |
| done | error | cancelled | |
| std::string | phase |
| done | failed | cancelled | |
| std::string | text |
| result or error message | |
Handle entropic.context_clear.
| handle | Engine handle. |
Cancel any async tasks currently running on the bridge.
Marks tasks "cancelling", raises engine interrupt so the generation loop unwinds, and polls up to ~1s for their worker threads to move into a terminal state. The wait is best-effort — detached workers may still be in flight when this returns, but the new context clear will race them cleanly because each run owns its own result_json.
| handle | Engine handle (for interrupt). |
| bridge | Bridge whose tasks_ registry is being canceled. @dg_internal (P1-8, 2.0.6-rc16) |
Final-state projection for an async entropic_run.
Groups the three status/phase/text outputs so run_async_ask stays under the 50-SLOC quality gate. (2.0.6-rc16)
@dg_internal
Definition at line 341 of file external_bridge.cpp.
| std::string entropic::AsyncFinalState::phase |
done | failed | cancelled
Definition at line 343 of file external_bridge.cpp.
| std::string entropic::AsyncFinalState::status |
done | error | cancelled
Definition at line 342 of file external_bridge.cpp.
| std::string entropic::AsyncFinalState::text |
result or error message
Definition at line 344 of file external_bridge.cpp.