You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
settings/providers:
- add a Google Gemini (Third-party API) media preset and match custom Gemini base URLs back to that preset
- keep official Google Gemini (Image) behavior unchanged for the default Google endpoint
runtime/tests:
- forward gemini-image provider base_url into createGoogleGenerativeAI in image-generator
- add regression tests for preset matching and image provider config resolution
"SELECT api_key, base_url, extra_env FROM api_providers WHERE provider_type = 'gemini-image' AND api_key != '' ORDER BY sort_order ASC, created_at ASC LIMIT 1"
65
+
).get()asGeminiImageProviderRecord|undefined;
40
66
41
67
if(!provider){
42
68
thrownewError('No Gemini Image provider configured. Please add a provider with type "gemini-image" in Settings.');
43
69
}
44
70
45
-
// Read configured model from extra_env, fall back to default
0 commit comments