react-agent
react-agent copied to clipboard
Improve Environment Variable Type Conversion in Context Class
This pull request updates the Context class in context.py to improve how environment variables are loaded for configuration. It adds type conversion logic so that environment variable values are automatically cast to the correct type (e.g., integer, float) for each field. This makes configuration more robust and prevents type errors when using environment variables to set agent parameters