The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs: refresh generated embed API reference
Steven Enamakelacdebb0ed5aa
diff --git a/docs/gitbooks/en/developing/embed/api-index.json b/docs/gitbooks/en/developing/embed/api-index.jsonindex 9d47453ca2..3bae03045b 100644--- a/docs/gitbooks/en/developing/embed/api-index.json+++ b/docs/gitbooks/en/developing/embed/api-index.json@@ -119,6 +119,7 @@"Session","SessionStoreProvider","SkillsPolicy",+ "SteerRefused","StorageInfo","StreamEvent","StreamMode",@@ -141,6 +142,7 @@"TurnContext","TurnOutcome","TurnRequest",+ "TurnSteering","TurnStream","UnknownKeyedSearchProvider","VOICE_COMPILED_IN",diff --git a/docs/gitbooks/en/developing/embed/api-index.md b/docs/gitbooks/en/developing/embed/api-index.mdindex cff0f40a26..34318a9e8b 100644--- a/docs/gitbooks/en/developing/embed/api-index.md+++ b/docs/gitbooks/en/developing/embed/api-index.md@@ -122,6 +122,7 @@ Generate the complete local Rust API reference with `cargo doc -p openhuman-embe- [`Session`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`SessionStoreProvider`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`SkillsPolicy`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)+- [`SteerRefused`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`StorageInfo`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`StreamEvent`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`StreamMode`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)@@ -144,6 +145,7 @@ Generate the complete local Rust API reference with `cargo doc -p openhuman-embe- [`TurnContext`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`TurnOutcome`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`TurnRequest`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)+- [`TurnSteering`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`TurnStream`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`UnknownKeyedSearchProvider`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`VOICE_COMPILED_IN`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)diff --git a/llms-full.txt b/llms-full.txtindex 0f743ab78e..1059e64591 100644--- a/llms-full.txt+++ b/llms-full.txt@@ -2501,6 +2501,24 @@ tools that spawn independent tasks or processes must provide their own cleanup;MCP server lifecycles remain owned by the agent. Keep polling `send()` whileawaiting cancellation, for example in a spawned task.+## Steering one turn++Acquire `Turn::steering_handle()` before sending a turn to add messages to it+while it runs. The handle is cloneable and `Send + Sync`; `steer(text)` queues+a user message that the agent loop applies at its next safe checkpoint:+before the first model call, after a tool batch has settled, or when the model+has just written its final answer. In that last case the draft stays on the+transcript, the steer follows it, and the model is called once more, so a+message that arrives during a plain chat turn's only model call still shapes+that turn's reply. Nothing interrupts a model call or a tool already running.+The model sees each steer as `[User steering message]: <text>`.++Nothing is dropped silently. Steers the turn ended without applying come back+on `TurnOutcome::unapplied_steers`, or from `TurnSteering::take_unapplied()`+when the turn failed or was cancelled. A steer sent after the turn ended is+refused with `SteerRefused`, which carries its text (`into_text()`). The host+decides whether to run what came back as the next turn.+## Scoped worker hooksHooks can be supplied at three levels: `RuntimeBuilder::tool_hook` /@@ -2975,6 +2993,7 @@ Generate the complete local Rust API reference with `cargo doc -p openhuman-embe- [`Session`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`SessionStoreProvider`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`SkillsPolicy`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)+- [`SteerRefused`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`StorageInfo`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`StreamEvent`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`StreamMode`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)@@ -2997,6 +3016,7 @@ Generate the complete local Rust API reference with `cargo doc -p openhuman-embe- [`TurnContext`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`TurnOutcome`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`TurnRequest`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)+- [`TurnSteering`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`TurnStream`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`UnknownKeyedSearchProvider`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`VOICE_COMPILED_IN`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)