feat(tokens): add token count display to sidebar (#956)
* feat (tokens) add token count display to sidebar * refactor: calculate the real tokens and reuse input hints to avoid occlusion --------- Co-authored-by: yetone <yetoneful@gmail.com>
This commit is contained in:
@@ -18,7 +18,7 @@ impl<'a> State<'a> {
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
struct SelectedFile {
|
||||
path: String,
|
||||
content: String,
|
||||
content: Option<String>,
|
||||
file_type: String,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user