gemini-design-mcp 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lib/gemini.d.ts +1 -1
- package/build/lib/gemini.js +1 -1
- package/package.json +1 -1
package/build/lib/gemini.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { GoogleGenAI } from "@google/genai";
|
|
2
2
|
export declare const ai: GoogleGenAI;
|
|
3
|
-
export declare const DEFAULT_MODEL = "gemini-3-
|
|
3
|
+
export declare const DEFAULT_MODEL = "gemini-3-flash-preview";
|
|
4
4
|
export declare function generateWithGemini(systemPrompt: string, userPrompt: string, model?: string): Promise<string>;
|
package/build/lib/gemini.js
CHANGED
|
@@ -7,7 +7,7 @@ if (!apiKey) {
|
|
|
7
7
|
}
|
|
8
8
|
export const ai = new GoogleGenAI({ apiKey });
|
|
9
9
|
// Default model - Gemini 3 Pro Preview (best for design)
|
|
10
|
-
export const DEFAULT_MODEL = "gemini-3-
|
|
10
|
+
export const DEFAULT_MODEL = "gemini-3-flash-preview";
|
|
11
11
|
export async function generateWithGemini(systemPrompt, userPrompt, model = DEFAULT_MODEL) {
|
|
12
12
|
try {
|
|
13
13
|
const response = await ai.models.generateContent({
|