Skip to content

Conversation

@kirito201922
Copy link

@kirito201922 kirito201922 commented Dec 27, 2025

Adds a Python script that checks whether required and optional environment variables are present and prints warnings if any are missing.


Note

Adds a small Python utility to verify environment configuration.

  • New cripts/python/validate_config.py validates required vars POLYGON_WALLET_PRIVATE_KEY and OPENAI_API_KEY; exits with code 1 if any are missing
  • Prints warnings for missing optional vars POLYMARKET_API_BASE, TAVILY_API_KEY, and NEWSAPI_API_KEY

Written by Cursor Bugbot for commit 1f67732. This will update automatically on new commits. Configure here.

Adds a Python script that checks whether required and optional environment variables are present and prints warnings if any are missing.
print(f"Warning: optional {v} is not set.")

if __name__ == "__main__":
main()
Copy link

Choose a reason for hiding this comment

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

File created in wrong directory due to typo

The file is being added to cripts/python/ but the project structure uses scripts/python/ (as seen in README.md documentation and the existing scripts/python/cli.py). The directory name is missing the leading "s", causing the validation script to be placed in the wrong location where it won't be discoverable alongside other Python scripts.

Fix in Cursor Fix in Web

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.

1 participant