mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-11-30 15:55:49 +08:00
fix: restore service entrypoint and clean checks
This commit is contained in:
1 parent
7fa4953883
commit
24177fcb6e
7 files changed
+35
-25
No files matched your search
@@ -695,7 +695,7 @@ fn estimate_output_tokens(output: &str) -> u64 {
|
||||
} else if output.is_empty() {
|
||||
0
|
||||
} else {
|
||||
((output.chars().count() as u64) + 3) / 4
|
||||
(output.chars().count() as u64).div_ceil(4)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user