53e6435908
The gateway ignored config when defined through YAML (config.yaml). The API server only started when environment variables like and were set, even though other gateway subsections like were processed correctly. Two changes in gateway/config.py's load_gateway_config(): 1. Merge platform configs placed directly under gateway.* (e.g. gateway.api_server) via _merge_platform_map, matching the existing gateway.platforms.* and platforms.* merge paths. Only keys matching known Platform values are picked up; non-platform keys like streaming are safely ignored. 2. Bridge api_server-specific keys (port, key, host, cors_origins, model_name) from the top-level config block into the extra dict so PlatformConfig.from_dict preserves them — matching what _apply_env_overrides already does for env var values.