starweaver-runtime 0.10.0

Agent-loop graph and runtime executor primitives for Starweaver
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Runtime layering tests.

use std::sync::Arc;

use starweaver_model::TestModel;
use starweaver_runtime::Agent;

#[tokio::test]
async fn runtime_agent_stays_focused_on_core_loop() {
    let result = Agent::new(Arc::new(TestModel::with_text("core")))
        .run("hello")
        .await;

    assert!(result.is_ok());
}