neuromance 0.0.5

A Rust library for controlling and orchestrating LLM interactions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

#[derive(Error, Debug)]
pub enum CoreError {
    #[error("Tool execution error: {0}")]
    ToolError(String),

    #[error("Maximum turns exceeded: {0}")]
    MaxTurnsExceeded(String),

    #[error("Other error: {0}")]
    Other(#[from] anyhow::Error),
}