10, 'concurrency' => 5, // 并发数(用 curl_multi) 'providers' => [ 'my_openai' => [ 'base_url' => 'https://api.openai.com/v1', 'api_key' => getenv('OPENAI_API_KEY'), 'auth' => 'bearer', // 自定义要检测的模型 'models' => [ 'gpt-4o', 'gpt-4o-mini', 'gpt-3.5-turbo', ], // 探测方式: models_endpoint | chat | custom 'probe' => 'models_endpoint', ], 'my_deepseek' => [ 'base_url' => 'https://api.deepseek.com/v1', 'api_key' => getenv('DEEPSEEK_API_KEY'), 'auth' => 'bearer', 'models' => [ 'deepseek-chat', 'deepseek-reasoner', ], 'probe' => 'chat', ], 'my_local_ollama' => [ 'base_url' => 'http://localhost:11434/v1', 'api_key' => 'ollama', // 随便填 'auth' => 'bearer', 'models' => [ 'qwen2.5:7b', 'llama3.1:8b', ], 'probe' => 'chat', ], ], ];