MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / GenerationConfigParam

Class GenerationConfigParam

src/core/models.py:255–261  ·  view source on GitHub ↗

Gemini generationConfig parameters (for model name resolution)

Source from the content-addressed store, hash-verified

253
254
255class GenerationConfigParam(BaseModel):
256 """Gemini generationConfig parameters (for model name resolution)"""
257
258 responseModalities: Optional[List[str]] = None # ["IMAGE", "TEXT"]
259 imageConfig: Optional[ImageConfig] = None
260
261 model_config = ConfigDict(extra="allow")
262
263
264class GeminiInlineData(BaseModel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected