Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(tokenEstimate): return 0 for empty string instead of 1
cyh9cc8514a002b
diff --git a/ui/src/lib/tokenEstimate.ts b/ui/src/lib/tokenEstimate.tsindex e7d3cf8a5..1177f0900 100644--- a/ui/src/lib/tokenEstimate.ts+++ b/ui/src/lib/tokenEstimate.ts@@ -18,5 +18,5 @@ export function estimateTokens(text: string): number {tokens += 0.25;}}- return Math.max(1, Math.ceil(tokens));+ return Math.ceil(tokens);}