Originally created by: SAMAD101
Add a google (Gemini) preset to orko-providers. Google exposes an OpenAI-compatible endpoint for Gemini, so the lazy-correct first version is a preset over the engine from [#3] — same shape as [#5], no new codec.
https://generativelanguage.googleapis.com/v1beta/openai/ (configurable)GEMINI_API_KEY (accept GOOGLE_API_KEY as a fallback — record the precedence in the preset docs)Authorization: Bearer … (the compat endpoint takes the API key as a bearer token)from_str("google:gemini-2.5-flash"); we don't pin model namesGoogle's compat layer is not byte-perfect OpenAI. Record deviations in the quirks struct as they're found; known areas to verify with fixtures:
orko_core::ToolCallDelta)finish_reason vocabulary differencesimage_url part shape (incl. data: URLs for base64 media from orko_core::MediaSource)Known ceiling (ponytail: comment in code): the compat endpoint doesn't expose everything the native generateContent API does. If quirks make the compat route untenable, the upgrade path is a native Gemini codec sharing the same transport trait — same pattern as the anthropic codec in [#6]. Out of scope for this issue.
google(model); env-key precedence test; from_str round-trip test-D warnings clean; builds with --no-default-featuresDepends on [#3].
Ticket changed by: SAMAD101