mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
[PR #1448] [CLOSED] feat(gemini_cf): add Gemini via Cloudflare Worker provider #1898
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/1448
Author: @cherish156-wang
Created: 8/7/2025
Status: ❌ Closed
Base:
main← Head:feature/gemini-cf-provider📝 Commits (3)
9e2553cfeat(gemini_cf): add Gemini via Cloudflare Worker provider with 2.5/2.0 LLM models and credentials (base_url, api_key)1aef3e8chore(gemini_cf): align manifest to plugin schema; add provider schema and _position.yaml0e9a5a3chore(gemini_cf): add icon_s_en.svg placeholder for packaging📊 Changes
9 files changed (+203 additions, -0 deletions)
View changed files
➕
models/gemini_cf/README.md(+14 -0)➕
models/gemini_cf/icon_s_en.svg(+1 -0)➕
models/gemini_cf/manifest.yaml(+38 -0)➕
models/gemini_cf/models/llm/_position.yaml(+4 -0)➕
models/gemini_cf/models/llm/gemini-2.0-flash.yaml(+26 -0)➕
models/gemini_cf/models/llm/gemini-2.5-flash-lite.yaml(+26 -0)➕
models/gemini_cf/models/llm/gemini-2.5-flash.yaml(+26 -0)➕
models/gemini_cf/models/llm/gemini-2.5-pro.yaml(+26 -0)➕
models/gemini_cf/provider/gemini_cf.yaml(+42 -0)📄 Description
This PR adds a new provider 'gemini_cf' to access Google Gemini via Cloudflare Worker reverse proxy.\n\n- Provider manifest with credentials: base_url, api_key (sent as x-api-key)\n- LLM models: gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite, gemini-2.0-flash\n- README for configuration guidance\n\nIf maintainers prefer reusing existing google_gemini or openai_compatible providers instead of a new provider folder, I can migrate these YAMLs accordingly.\n
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.