Skip to content

Conversation

@bluntbrain
Copy link
Contributor

Description

This addresses the issue where users were being charged even when operations failed. Now when an API call fails, an exception will be thrown, preventing any charges.

Screenshot 2025-06-22 at 2 21 44 PM

Type of Change

  • Bugfix
  • New Feature
  • Improvement
  • Documentation Update

Checklist

  • I have read the contributing guidelines.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

raise ValueError("No Moralis API key provided in the configuration.")
return api_key

def context_from_config(self, config: Optional[RunnableConfig] = None) -> Any:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless necessary, do not override common functions. This way, if there are any updates upstream, they will not be overwritten here.

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