API-XX commited on
Commit
c6a7e6c
·
verified ·
1 Parent(s): dd74634

Upload case.js

Browse files
Files changed (1) hide show
  1. case.js +3 -3
case.js CHANGED
@@ -1775,13 +1775,13 @@ case 'flux': {
1775
  }
1776
  break;
1777
  }
1778
- case 'llama3.4': {
1779
  if (!q) return reply(`❌ Please enter a question or prompt.\n\nExample: *${prefix + command} What is AI?*`);
1780
 
1781
- await loading(); // Display loading message
1782
 
1783
  try {
1784
- let apiUrl = `https://api.siputzx.my.id/api/ai/meta-llama-33-70B-instruct-turbo?query=${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);
 
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);