Upload case.js
Browse files
case.js
CHANGED
@@ -1775,13 +1775,13 @@ case 'flux': {
|
|
1775 |
}
|
1776 |
break;
|
1777 |
}
|
1778 |
-
case '
|
1779 |
if (!q) return reply(`❌ Please enter a question or prompt.\n\nExample: *${prefix + command} What is AI?*`);
|
1780 |
|
1781 |
-
await loading(); //
|
1782 |
|
1783 |
try {
|
1784 |
-
let apiUrl = `https://api.siputzx.my.id/api/ai/meta-llama-33-70B-instruct-turbo?
|
1785 |
let imageUrl = "https://huggingface.co/spaces/API-XX/TEST/resolve/main/Links/Llama3.4.jpg";
|
1786 |
|
1787 |
let response = await fetch(apiUrl);
|
|
|
1775 |
}
|
1776 |
break;
|
1777 |
}
|
1778 |
+
case 'llama': {
|
1779 |
if (!q) return reply(`❌ Please enter a question or prompt.\n\nExample: *${prefix + command} What is AI?*`);
|
1780 |
|
1781 |
+
await loading(); // Show loading message
|
1782 |
|
1783 |
try {
|
1784 |
+
let apiUrl = `https://api.siputzx.my.id/api/ai/meta-llama-33-70B-instruct-turbo?content=${encodeURIComponent(q)}`;
|
1785 |
let imageUrl = "https://huggingface.co/spaces/API-XX/TEST/resolve/main/Links/Llama3.4.jpg";
|
1786 |
|
1787 |
let response = await fetch(apiUrl);
|