ElGraph.LLM.Gemini (ElGraph v0.3.0)

Copy Markdown View Source

Google Gemini generateContent API 어댑터 (chat/3 비스트리밍 + stream_chat/3 SSE 스트리밍).

config: :api_key(필수), :model(기본 gemini-2.5-flash), :req_options. Gemini는 tool call id가 없어 이름으로 매칭한다 — 중립 메시지의 id에 툴 이름이 들어가며, 같은 superstep에서 동일 툴의 중복 호출은 구분되지 않는다. 어댑터는 자체 재시도를 하지 않는다 — 노드 retry: 정책이 담당한다.