robson-core 0.0.2

Rust async agent orchestrator for automated development workflows
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use anyhow::Result;
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct LlmMessage {
    pub role: String,
    pub content: String,
}

#[async_trait::async_trait]
pub trait LlmProvider: Send + Sync {
    async fn complete(&self, messages: Vec<LlmMessage>) -> Result<String>;
}