chore: add log

This commit is contained in:
lencx
2022-12-18 11:50:34 +08:00
parent 4366b8ee8a
commit c07fd1e0b8
6 changed files with 55 additions and 21 deletions

View File

@@ -70,4 +70,4 @@ pub fn get_chat_model() -> serde_json::Value {
let path = utils::chat_root().join("chat.model.json");
let content = fs::read_to_string(path).unwrap_or_else(|_| r#"{"data":[]}"#.to_string());
serde_json::from_str(&content).unwrap()
}
}