add css as a embeddable file type in which the entire file is embedded individually

This commit is contained in:
KCaverly 2023-07-17 14:53:57 -04:00
parent 1362c5a3d9
commit f0bf60fded

View file

@ -15,7 +15,7 @@ const CODE_CONTEXT_TEMPLATE: &str =
"The below code snippet is from file '<path>'\n\n```<language>\n<item>\n```";
const ENTIRE_FILE_TEMPLATE: &str =
"The below snippet is from file '<path>'\n\n```<language>\n<item>\n```";
pub const PARSEABLE_ENTIRE_FILE_TYPES: [&str; 3] = ["TOML", "YAML", "JSON"];
pub const PARSEABLE_ENTIRE_FILE_TYPES: [&str; 4] = ["TOML", "YAML", "JSON", "CSS"];
pub struct CodeContextRetriever {
pub parser: Parser,