use std::borrow::Cow;
use super::Assets;
pub fn version_template() -> Cow<'static, str> {
Assets::get("version.md")
.map(|f| String::from_utf8_lossy(&f.data).into_owned().into())
.unwrap_or_else(|| Cow::Borrowed(""))
}
pub fn default_system_prompt() -> Cow<'static, str> {
Assets::get("system_prompt_default.md")
.map(|f| String::from_utf8_lossy(&f.data).into_owned().into())
.unwrap_or_else(|| Cow::Borrowed(""))
}
pub fn default_memory() -> Cow<'static, str> {
Assets::get("memory_default.md")
.map(|f| String::from_utf8_lossy(&f.data).into_owned().into())
.unwrap_or_else(|| Cow::Borrowed(""))
}
pub fn default_soul() -> Cow<'static, str> {
Assets::get("soul_default.md")
.map(|f| String::from_utf8_lossy(&f.data).into_owned().into())
.unwrap_or_else(|| Cow::Borrowed(""))
}
pub fn default_agent_md() -> Cow<'static, str> {
Assets::get("agent_md_default.md")
.map(|f| String::from_utf8_lossy(&f.data).into_owned().into())
.unwrap_or_else(|| Cow::Borrowed(""))
}
pub fn teammate_system_prompt_template() -> Cow<'static, str> {
Assets::get("teammate_system_prompt.md")
.map(|f| String::from_utf8_lossy(&f.data).into_owned().into())
.unwrap_or_else(|| Cow::Borrowed(""))
}
pub fn sub_agent_system_prompt_template() -> Cow<'static, str> {
Assets::get("sub_agent_system_prompt.md")
.map(|f| String::from_utf8_lossy(&f.data).into_owned().into())
.unwrap_or_else(|| Cow::Borrowed(""))
}
pub fn quotes_text() -> &'static str {
include_str!("../../assets/quotes.txt")
}