]> git.joonet.de Git - adminer.git/commitdiff
AdminerSqlGemini: Send vendor
authorJakub Vrana <jakub@vrana.cz>
Tue, 25 Mar 2025 05:17:21 +0000 (06:17 +0100)
committerJakub Vrana <jakub@vrana.cz>
Tue, 25 Mar 2025 05:17:27 +0000 (06:17 +0100)
plugins/sql-gemini.php

index 2f01683c4bb0d0e456798571783030ca8f9d5174..d1e5b0c87be19715e51a353c4ca6d7e0d6fb003d 100644 (file)
@@ -24,7 +24,7 @@ class AdminerSqlGemini {
 
        function headers() {
                if ($_POST["gemini"] && !isset($_POST["query"])) {
-                       $prompt = "I have a database with this structure:\n\n";
+                       $prompt = "I have a " . Adminer\get_driver(Adminer\DRIVER) . " database with this structure:\n\n";
                        foreach (Adminer\tables_list() as $table => $type) {
                                $prompt .= Adminer\create_sql($table, false, "CREATE") . ";\n\n";
                        }