<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/rss.xsl" type="text/xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>gateway | 折腾啥</title><description>Power Users/Automators 折腾/讨论/分享各种开源工具/脚本/自动化工作流👥 @zhetengsha_group📌 合集 https://t.me/zhetengsha/2🎁 恰饭 https://t.me/zhetengsha/957📢 广告投放 @xream @xream_botBuy ads: https://telega.io/c/zhetengshafeedId:55438372655431680+userId:62307599601855488</description><link>http://telegram.zhetengsha.eu.org</link><item><title>TeleBox 配置 Cloudflare AI Gateway Gemini</title><link>http://telegram.zhetengsha.eu.org/posts/4494</link><guid isPermaLink="true">http://telegram.zhetengsha.eu.org/posts/4494</guid><pubDate>Sat, 10 Jan 2026 10:05:04 GMT</pubDate><content:encoded>&lt;div class=&quot;image-list-container image-list-even&quot;&gt;
      &lt;button type=&quot;button&quot; class=&quot;image-preview-button image-preview-wrap&quot; popovertarget=&quot;modal-4494-0&quot; popovertargetaction=&quot;show&quot; aria-label=&quot;Open image preview: TeleBox 配置 Cloudflare AI Gateway Gemini&quot;&gt;
        &lt;img src=&quot;/static/https://cdn5.telesco.pe/file/eN2soA6NK1Awc3nAbLz8KfZ3Ltb68LYCuPHV8LKd39wTzyeLLaj-Dxv0KhTSWmUDGgdJwbKyZAybymwA9SJSos4PvXfnzXkNw65VISHLbdA7zYdNLYHUOKroy1miCW5GdruiEOQZSD8-W54rDtMDohr8HOh7Q1S2JIroymOMJCywiMXI-ZZca46FjB-Mig1cffh-WdNgDkVBv8c1klIQRsenYDP_LLdJFQ5oEqH3W5P0-wOomxCLbcMtyCphyrvIPFCUTIa2Hqq6_gFKSY6TmAJXg8wE7UsVktDqQ2u9kWSB5v6GsjmgIHhUAH36xjUWZNhRImBR9EuQD5m5w_pAjA.jpg&quot; alt=&quot;TeleBox 配置 Cloudflare AI Gateway Gemini&quot; width=&quot;453&quot; height=&quot;288&quot; loading=&quot;eager&quot; /&gt;
      &lt;/button&gt;
      &lt;div class=&quot;modal&quot; id=&quot;modal-4494-0&quot; popover=&quot;auto&quot; aria-label=&quot;Image preview&quot;&gt;
        &lt;button type=&quot;button&quot; class=&quot;modal__backdrop&quot; popovertarget=&quot;modal-4494-0&quot; popovertargetaction=&quot;hide&quot; aria-label=&quot;Close image preview&quot;&gt;&lt;/button&gt;
        &lt;button type=&quot;button&quot; class=&quot;modal__close&quot; popovertarget=&quot;modal-4494-0&quot; popovertargetaction=&quot;hide&quot; aria-label=&quot;Close image preview&quot;&gt;×&lt;/button&gt;
        &lt;div class=&quot;modal__surface&quot;&gt;
          
        &lt;/div&gt;
      &lt;/div&gt;
    
      &lt;button type=&quot;button&quot; class=&quot;image-preview-button image-preview-wrap&quot; popovertarget=&quot;modal-4494-1&quot; popovertargetaction=&quot;show&quot; aria-label=&quot;Open image preview: TeleBox 配置 Cloudflare AI Gateway Gemini&quot;&gt;
        &lt;img src=&quot;/static/https://cdn5.telesco.pe/file/DPPSo_6wJMLhlxziJd9-6UF4u8va4k7ZBLqpRkxbn_MLmP8LEw98dWB9q9GbLZ2FKJzrWenSs4y9sSHoAIpKyxqniCpGDQfbZavhSi9Cnsc0U4pdXmC3m5tPnjH9xmun6-HSdhhw5TUujFJQBqBID8iwjm5aMaDjfM3MeEb7z7tAaSg8Jk4ZfCjZEQ9hejGog3_4Jv8yF5X114cYdHG9IkG2ohuTMWhJlb1ATtguChV63-dFJn6RHsp9LzCX1CdBaij342fqCe-OgFHZHIVB7KTjBy7vf4mNOwhQp4fIlIMNo7XKvA14nTGBXDZNW0iKQrAXhBpCnP-03HwNEo7nNw.jpg&quot; alt=&quot;TeleBox 配置 Cloudflare AI Gateway Gemini&quot; width=&quot;453&quot; height=&quot;290&quot; loading=&quot;eager&quot; /&gt;
      &lt;/button&gt;
      &lt;div class=&quot;modal&quot; id=&quot;modal-4494-1&quot; popover=&quot;auto&quot; aria-label=&quot;Image preview&quot;&gt;
        &lt;button type=&quot;button&quot; class=&quot;modal__backdrop&quot; popovertarget=&quot;modal-4494-1&quot; popovertargetaction=&quot;hide&quot; aria-label=&quot;Close image preview&quot;&gt;&lt;/button&gt;
        &lt;button type=&quot;button&quot; class=&quot;modal__close&quot; popovertarget=&quot;modal-4494-1&quot; popovertargetaction=&quot;hide&quot; aria-label=&quot;Close image preview&quot;&gt;×&lt;/button&gt;
        &lt;div class=&quot;modal__surface&quot;&gt;
          
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;&lt;u&gt;TeleBox 配置 Cloudflare AI &lt;/u&gt;&lt;mark class=&quot;highlight&quot;&gt;&lt;u&gt;Gateway&lt;/u&gt;&lt;/mark&gt;&lt;u&gt; Gemini&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://dash.cloudflare.com/&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;https://dash.cloudflare.com&quot;&gt;https://dash.cloudflare.com&lt;/a&gt; 后台找到图 1 左侧入口&lt;br /&gt;&lt;br /&gt;创建一个网关 假设名为 test&lt;br /&gt;&lt;br /&gt;找到图 1 右侧 选择 Google Al Studio 再选择 Native&lt;br /&gt;复制红框里引号里完整的一串 URL&lt;br /&gt;&lt;br /&gt;安装 ai 插件: &lt;code&gt;.tpm i ai&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;GEMINI_API_KEY&lt;/code&gt; 是 Gemini 的 API KEY&lt;br /&gt;&lt;code&gt;https://gateway.ai.cloudflare.com/v1/xxxxxxxx/test/google-ai-studio&lt;/code&gt; 就是刚刚复制的一串 URL&lt;br /&gt;&lt;br /&gt;配置:&lt;br /&gt;&lt;code&gt;.ai config add gemini GEMINI_API_KEY https://gateway.ai.cloudflare.com/v1/xxxxxxxx/test/google-ai-studio&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;.ai model chat gemini gemini-2.5-flash&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;.ai model search gemini gemini-2.5-flash&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;这样 &lt;code&gt;.ai search 无锡今天天气&lt;/code&gt; 就会自动调用 Google Search 完美查询&lt;br /&gt;&lt;br /&gt;&lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6327711622831803904.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt;&lt;a href=&quot;https://t.me/zhetengsha/229&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;TeleBox 合集&quot;&gt;TeleBox 合集&lt;/a&gt; &lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6327880277607583303.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;https://t.me/zhetengsha/2&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;频道资源合集&quot;&gt;频道资源合集&lt;/a&gt;  &lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6327792445526380187.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;https://t.me/zhetengsha/957&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;恰饭推荐&quot;&gt;恰饭推荐&lt;/a&gt;  &lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6021860481923288796.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;https://t.me/zhetengsha_group&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;群组&quot;&gt;群组&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6327836885552991740.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;/search/result?q=%23TeleBox&quot; title=&quot;#TeleBox&quot;&gt;#TeleBox&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23Telegram&quot; title=&quot;#Telegram&quot;&gt;#Telegram&lt;/a&gt;  &lt;a href=&quot;/search/result?q=%23tg&quot; title=&quot;#tg&quot;&gt;#tg&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E4%BA%BA%E5%BD%A2%E8%87%AA%E8%B5%B0%E6%9C%BA%E5%99%A8%E4%BA%BA&quot; title=&quot;#人形自走机器人&quot;&gt;#人形自走机器人&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23bot&quot; title=&quot;#bot&quot;&gt;#bot&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E6%8F%92%E4%BB%B6&quot; title=&quot;#插件&quot;&gt;#插件&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E4%BB%A3%E7%90%86&quot; title=&quot;#代理&quot;&gt;#代理&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23AI&quot; title=&quot;#AI&quot;&gt;#AI&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23Gemini&quot; title=&quot;#Gemini&quot;&gt;#Gemini&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23Cloudflare&quot; title=&quot;#Cloudflare&quot;&gt;#Cloudflare&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23gateway&quot; title=&quot;#gateway&quot;&gt;#gateway&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E7%BD%91%E5%85%B3&quot; title=&quot;#网关&quot;&gt;#网关&lt;/a&gt;</content:encoded></item></channel></rss>