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

Function set_generation_handler

src/api/routes.py:85–88  ·  view source on GitHub ↗

Set generation handler instance.

(handler: GenerationHandler)

Source from the content-addressed store, hash-verified

83
84@dataclass
85class NormalizedGenerationRequest:
86 """Internal request shape shared by OpenAI and Gemini entrypoints."""
87
88 model: str
89 prompt: str
90 images: List[bytes]
91 messages: Optional[List[ChatMessage]] = None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected