refactor(open-sse): B1 consolidate media endpoint URLs into registry

- image/embed/tts/search base URLs derive from media.*Config.baseUrl /
  searchViaChat.endpoint (single source); handlers read PROVIDER_MEDIA.
- ~18 hardcoded endpoints moved: bfl/fal/stability/runway/hf/gemini/
  cloudflare/recraft/sdwebui/comfyui/nanobanana image, voyage embed,
  gemini/openrouter tts, chatSearch endpoints.
- Byte-identical: PROVIDERS 62 + alias 90 baselines, image buildUrl outputs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
decolua
2026-06-14 13:58:12 +07:00
co-authored by Cursor
parent bb9e9aa91f
commit e53ce79abb
32 changed files with 96 additions and 38 deletions
+4
View File
@@ -11,6 +11,10 @@ export default {
},
category: "apikey",
"transport": null,
media: {
serviceKinds: ["image"],
imageConfig: { baseUrl: "http://localhost:7860/sdapi/v1/txt2img" }
},
"models": [
{
"id": "stable-diffusion-v1-5",