mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-26 18:58:29 +02:00
llm examples
This commit is contained in:
@@ -92,6 +92,10 @@ impl IngressObject {
|
||||
let content = tokio::fs::read_to_string(&file_info.path).await?;
|
||||
Ok(content)
|
||||
}
|
||||
"text/x-rust" => {
|
||||
let content = tokio::fs::read_to_string(&file_info.path).await?;
|
||||
Ok(content)
|
||||
}
|
||||
// Handle other MIME types as needed
|
||||
_ => Err(IngressContentError::UnsupportedMime(file_info.mime_type.clone())),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user