-
-
Notifications
You must be signed in to change notification settings - Fork 436
Open
Description
npx @ccusage/opencode@latest daily
WARN Fetching latest model pricing from LiteLLM... @ccusage/opencode 10:32:47 PM
WARN Failed to fetch model pricing from LiteLLM, falling back to cached pricing data @ccusage/opencode 10:32:47 PM
ERROR Failed to load cached pricing data as fallback: Failed to load offline pricing data @ccusage/opencode 10:32:47 PM
at Object.catch (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1776:21)
at /Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1283:57
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async calculateCostForEntry (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:4779:17)
at async Object.run (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:8530:19)
at async executeCommand (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1140:2)
at async cli (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1053:2)
at async run (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:9185:2)
at async /Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:9196:1
[cause]: Offline loader was not provided
at Object.try (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1771:42)
at LiteLLMPricingFetcher.loadOfflinePricing (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1279:30)
at LiteLLMPricingFetcher.handleFallbackToCachedPricing (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1781:22)
at /Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1813:37
at apply (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1257:10)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async calculateCostForEntry (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:4779:17)
at async Object.run (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:8530:19)
at async executeCommand (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1140:2)
at async cli (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1053:2)
ERROR Original fetch error: Failed to fetch model pricing from LiteLLM @ccusage/opencode 10:32:47 PM
at Object.catch (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1794:23)
at /Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1275:83
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async calculateCostForEntry (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:4779:17)
at async Object.run (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:8530:19)
at async executeCommand (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1140:2)
at async cli (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1053:2)
at async run (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:9185:2)
at async /Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:9196:1
[cause]: fetch failed
at node:internal/deps/undici/undici:15845:13
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async calculateCostForEntry (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:4779:17)
at async Object.run (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:8530:19)
at async executeCommand (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1140:2)
at async cli (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:1053:2)
at async run (/Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:9185:2)
at async /Users/lynn/.npm/_npx/fbd95681c9aa9fcd/node_modules/@ccusage/opencode/dist/index.js:9196:1
[cause]:
at internalConnectMultiple (node:net:1134:18)
at afterConnectMultiple (node:net:1715:7)
Tested agents and direct connections cannot be obtained
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels