mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
AdminerSqlGemini: Add default key
This commit is contained in:
@@ -14,10 +14,10 @@ class AdminerSqlGemini {
|
|||||||
private $model;
|
private $model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $apiKey Get API key at: https://aistudio.google.com/apikey
|
* @param string $apiKey The default key is shared with all users and may run out of quota; get your own API key at: https://aistudio.google.com/apikey
|
||||||
* @param string $model Available models: https://ai.google.dev/gemini-api/docs/models#available-models
|
* @param string $model Available models: https://ai.google.dev/gemini-api/docs/models#available-models
|
||||||
*/
|
*/
|
||||||
function __construct(string $apiKey, string $model = "gemini-2.0-flash") {
|
function __construct(string $apiKey = 'AIzaSyDWDbPjmvH9_hphsnY_yJGdue42qRMG3do', string $model = "gemini-2.0-flash") {
|
||||||
$this->apiKey = $apiKey;
|
$this->apiKey = $apiKey;
|
||||||
$this->model = $model;
|
$this->model = $model;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user