MCPcopy Create free account
hub / github.com/Roy3838/Observer / _build_payload

Method _build_payload

api/gemini_handler.py:61–64  ·  view source on GitHub ↗
(self, request_data: dict, target_model: str)

Source from the content-addressed store, hash-verified

59 }
60
61 def _build_payload(self, request_data: dict, target_model: str) -> dict:
62 payload = dict(request_data)
63 payload["model"] = target_model
64 return payload
65
66 async def handle_request(self, request_data: dict):
67 if not self.api_key:

Callers 1

handle_requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected