properly track cache token counts

This commit is contained in:
Dax Raad
2025-06-16 12:43:22 -04:00
parent 0e3458b112
commit 06af406146
3 changed files with 26 additions and 7 deletions

View File

@@ -46,7 +46,8 @@ const cli = yargs(hideBin(process.argv))
process.chdir(cwd)
const result = await App.provide(
{ cwd, version: VERSION },
async () => {
async (app) => {
App.info().path.config
const providers = await Provider.list()
if (Object.keys(providers).length === 0) {
return "needs_provider"