"Cost Function Fails to Return Calculation Result"

Resolved 💬 3 comments Opened Jun 24, 2025 by akshaygulabrao Closed Aug 21, 2025

Bug Description
The cost function isn't returning anything

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.33
  • Feedback ID: ddaa5102-2f80-4783-9724-edca76f5cde7

Errors

[{"error":"AxiosError: Request failed with status code 403\n    at XH (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:528:1070)\n    at Unzip.EA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:529:9964)\n    at Unzip.emit (node:events:519:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at rl.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:531:2081)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async bE1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1683:5559)","timestamp":"2025-06-24T02:49:54.600Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: 3.5-haiku\"}}\n    at cQ.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1302:12680)\n    at mz.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1317:2082)\n    at mz.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1317:5257)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MN2.c11.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1683:22444)\n    at async c11 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1683:12346)\n    at async MN2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1683:22290)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1683:17419\n    at async le1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1683:5121)\n    at async Sd (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1683:17389)","timestamp":"2025-06-24T02:56:41.049Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗