mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Support free imagegen (#7493)
This commit is contained in:
parent
761297d8bc
commit
76a64cbbb3
2 changed files with 2 additions and 4 deletions
|
|
@ -12,10 +12,7 @@ import { safeWriteJson } from "../../utils/safeWriteJson"
|
|||
import { OpenRouterHandler } from "../../api/providers/openrouter"
|
||||
|
||||
// Hardcoded list of image generation models for now
|
||||
const IMAGE_GENERATION_MODELS = [
|
||||
"google/gemini-2.5-flash-image-preview",
|
||||
// Add more models as they become available
|
||||
]
|
||||
const IMAGE_GENERATION_MODELS = ["google/gemini-2.5-flash-image-preview", "google/gemini-2.5-flash-image-preview:free"]
|
||||
|
||||
export async function generateImageTool(
|
||||
cline: Task,
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ interface ImageGenerationSettingsProps {
|
|||
// Hardcoded list of image generation models
|
||||
const IMAGE_GENERATION_MODELS = [
|
||||
{ value: "google/gemini-2.5-flash-image-preview", label: "Gemini 2.5 Flash Image Preview" },
|
||||
{ value: "google/gemini-2.5-flash-image-preview:free", label: "Gemini 2.5 Flash Image Preview (Free)" },
|
||||
// Add more models as they become available
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue