|
Entropic 2.3.8
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. |
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)
Definition at line 307 of file external_bridge.cpp.
| std::string entropic::AsyncFinalState::phase |
done | failed | cancelled
Definition at line 309 of file external_bridge.cpp.
| std::string entropic::AsyncFinalState::status |
done | error | cancelled
Definition at line 308 of file external_bridge.cpp.
| std::string entropic::AsyncFinalState::text |
result or error message
Definition at line 310 of file external_bridge.cpp.