Skip to content

Instantly share code, notes, and snippets.

@podarok
Created February 25, 2025 15:14
Show Gist options
  • Save podarok/89830587ce270e2628308c251c9d0b95 to your computer and use it in GitHub Desktop.
Save podarok/89830587ce270e2628308c251c9d0b95 to your computer and use it in GitHub Desktop.
gemini.patch
diff --git a/src/Plugin/AiProvider/GeminiProvider.php b/src/Plugin/AiProvider/GeminiProvider.php
index 8cb81cd..e5d8cd5 100644
--- a/src/Plugin/AiProvider/GeminiProvider.php
+++ b/src/Plugin/AiProvider/GeminiProvider.php
@@ -35,7 +35,7 @@ class GeminiProvider extends AiProviderClientBase implements ChatInterface, Embe
*
* @var \Gemini\Client|null
*/
- protected $client;
+ public $client;
/**
* API Key.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment