// =========================================================================
// AI之家 CTO 专属：底层拦截 OpenAI 请求，强行重定向至 DeepSeek API
// =========================================================================
add_action('http_api_curl', function($handle, $parsed_args, $url) {
    // 只要系统侦测到要发往 OpenAI 的请求
    if (strpos($url, 'api.openai.com') !== false) {
        // 瞬间将目的地篡改为咱们的 DeepSeek 服务器
        $new_url = str_replace('api.openai.com', 'api.deepseek.com', $url);
        curl_setopt($handle, CURLOPT_URL, $new_url);
    }
}, 10, 3);<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="http://aihome-pro.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>http://aihome-pro.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>http://aihome-pro.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>http://aihome-pro.com/wp-sitemap-posts-ai_models-1.xml</loc></sitemap><sitemap><loc>http://aihome-pro.com/wp-sitemap-posts-ai_gallery-1.xml</loc></sitemap><sitemap><loc>http://aihome-pro.com/wp-sitemap-posts-ai_tutorials-1.xml</loc></sitemap><sitemap><loc>http://aihome-pro.com/wp-sitemap-posts-ai_prompts-1.xml</loc></sitemap><sitemap><loc>http://aihome-pro.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>http://aihome-pro.com/wp-sitemap-taxonomies-model_cat-1.xml</loc></sitemap><sitemap><loc>http://aihome-pro.com/wp-sitemap-taxonomies-software_tag-1.xml</loc></sitemap><sitemap><loc>http://aihome-pro.com/wp-sitemap-taxonomies-step-1.xml</loc></sitemap><sitemap><loc>http://aihome-pro.com/wp-sitemap-taxonomies-specialty-1.xml</loc></sitemap><sitemap><loc>http://aihome-pro.com/wp-sitemap-taxonomies-env-1.xml</loc></sitemap><sitemap><loc>http://aihome-pro.com/wp-sitemap-taxonomies-ai_brand-1.xml</loc></sitemap></sitemapindex>
