Having issue after yesterday code push `Error calling tool 'buy': SIGNATURE environment variable is not set`

Author: Smit-ParmarCreated Nov 1, 2025Updated Nov 17, 2025

Day before yesterday I was able to execute the main.py with command python3 main.py configs/custom_config.json

Here is my custom_config.json

{
    "agent_type": "BaseAgent",
    "date_range": {
      "init_date": "2025-10-01",
      "end_date": "2025-10-31"
    },
    "models": [
      {
        "name": "gpt-4o",
        "basemodel": "gpt-4o",
        "signature": "gpt-4o",
        "enabled": true
      }
    ],
    "agent_config": {
      "max_steps": 30,
      "max_retries": 3,
      "base_delay": 1.0,
      "initial_cash": 10000.0
    },
    "log_config": {
      "log_path": "./data/agent_data"
    }
  }

runtime_env.json

{
    "TODAY_DATE": "2025-10-02",
    "IF_TRADE": false,
    "SIGNATURE": "gpt-4o",
    "LOG_FILE": "./data/agent_data/gpt-4o/log/2025-10-02/log.jsonl"
}

I was like able to execute the trade day before yesterday. When I took the latest pull it's start throwing me an error. Please suggest if I'm missing something here. Thanks