import re with open("/home/oib/windsurf/aitbc/cli/aitbc_cli/commands/client.py", "r") as f: content = f.read() # Fix the auth header name: the node code requires X-Api-Key but the CLI is sending X-Api-Key as well. # Oh, the error was "invalid api key". Let's check config.api_key. If not set, it might be None or empty. # In test_api_submit2.py we sent "X-Api-Key": "client_dev_key_1" and got "invalid api key". # Why did test_api_submit2 fail?