refactoring: ingress_analyser and cleaning

This commit is contained in:
Per Stark
2024-11-21 20:26:59 +01:00
parent 22abd3d731
commit 94f328e542
13 changed files with 420 additions and 375 deletions

View File

@@ -1,5 +1,6 @@
use async_openai::error::OpenAIError;
use thiserror::Error;
use tokio::task::JoinError;
/// Error types for processing `TextContent`.
#[derive(Error, Debug)]
@@ -18,4 +19,7 @@ pub enum ProcessingError {
#[error("LLM parsing error: {0}")]
LLMParsingError(String),
#[error("Task join error: {0}")]
JoinError(#[from] JoinError),
}