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

Class GeminiContent

src/core/models.py:288–292  ·  view source on GitHub ↗

Gemini content block.

Source from the content-addressed store, hash-verified

286
287
288class GeminiContent(BaseModel):
289 """Gemini content block."""
290
291 role: Optional[Literal["user", "model"]] = None
292 parts: List[GeminiPart]
293
294
295class GeminiGenerateContentRequest(BaseModel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected