Skip to content

Conversation

@phulelouch
Copy link

@phulelouch phulelouch commented Jun 17, 2025

Summary

  • Remove cost_usd and total_cost_usd cause when use with Claude account with subscription like Pro or Max it cause error:
File "/media/psf/secure-code/venv/lib/python3.12/site-packages/claude_code_sdk/_internal/client.py", line 95, in _parse_message
 total_cost_usd=data["total_cost"],

Remove cost_usd and total_cost_usd cause when use with  Claude account with subscription like Pro or Max it cause error:

File "/media/psf/secure-code/venv/lib/python3.12/site-packages/claude_code_sdk/_internal/client.py", line 95, in _parse_message
 total_cost_usd=data["total_cost"],
@ltawfik
Copy link
Collaborator

ltawfik commented Jun 18, 2025

thanks @phulelouch . This is fixed with latest release

@ltawfik ltawfik closed this Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants