core: refresh Frank Zen models without usage log noise

This commit is contained in:
vimtor
2026-05-16 12:50:40 +02:00
parent 71535a25c7
commit 450c24ecf9
2 changed files with 1 additions and 2 deletions

View File

@@ -949,7 +949,6 @@ export async function handler(
usageInfo: UsageInfo,
costInfo: CostInfo,
) {
console.log('tracking usage')
const { inputTokens, outputTokens, reasoningTokens, cacheReadTokens, cacheWrite5mTokens, cacheWrite1hTokens } =
usageInfo
const { totalCostInCent, inputCost, outputCost, cacheReadCost, cacheWrite5mCost, cacheWrite1hCost } = costInfo

View File

@@ -40,4 +40,4 @@ const newValues = Array.from({ length: PARTS }, (_, i) =>
const envFile = Bun.file(path.join(os.tmpdir(), `models-${Date.now()}.env`))
await envFile.write(newValues.map((v, i) => `ZEN_MODELS${i + 1}="${v.replace(/"/g, '\\"')}"`).join("\n"))
await $`bun sst secret load ${envFile.name} --stage vimtor`.cwd(root)
await $`bun sst secret load ${envFile.name} --stage frank`.cwd(root)