import yaml

with open(r'C:\Users\Administrator\AppData\Local\hermes\config.yaml', 'r') as f:
    config = yaml.safe_load(f)

# Check for per-platform model overrides
print("=== main model ===")
print(config.get('model', {}))

# Check for gateway-specific model overrides
print("\n=== gateway config ===")
gw = config.get('gateway', {})
print(gw if gw else "(no gateway section)")

# Check per-platform configs
print("\n=== feishu platform config ===")
plat = config.get('platforms', {})
feishu = plat.get('feishu', {})
print(feishu if feishu else "(no platforms.feishu section)")

# Check config keys that might set model per-platform
for key in ['platform_toolsets', 'feishu', 'platforms']:
    v = config.get(key, None)
    if v and key != 'platform_toolsets':
        print(f"\n=== {key} ===")
        print(v)
