langchain-rust-openrouter 4.6.0

LangChain for Rust with OpenRouter integration - unified access to 200+ LLM and embedding models
Documentation
1
2
3
4
5
6
7
8
9
10
11
use regex::Error as RegexError;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum OutputParserError {
    #[error("Regex error: {0}")]
    RegexError(#[from] RegexError),

    #[error("Parsing error: {0}")]
    ParsingError(String),
}