apexify.js 4.0.0 → 4.0.1

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.
@@ -24,7 +24,7 @@ export async function geminiPro(message: any, AI: { AiPersonality: string | null
24
24
  };
25
25
 
26
26
  const systemInstruction = `You are an ai bot in discord replying to ${message.author.globalName || message.author.username } at ${message.channel.name}.`;
27
- const model = genAI.getGenerativeModel({ model: "gemini-pro", systemInstruction, generationConfig});
27
+ const model = genAI.getGenerativeModel({ model: "gemini-1.5-pro-latest", systemInstruction, generationConfig});
28
28
 
29
29
  const chat = model.startChat({
30
30
  history: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apexify.js",
3
- "version": "4.0.0",
3
+ "version": "4.0.01",
4
4
  "description": "Ai and Canvas library. Supports typescript and javascript",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",