Spaces:
Configuration error
Configuration error
Update index.js
Browse files12345674 unmodified lines12131415161718const TelegramBot = require('node-telegram-bot-api');const axios = require('axios');const telegramToken = '6610438736:AAFNPlGGY_SfuINu3dXThuyMFSOkoy1BpAg';const cloudflareToken = 'NB-sxyNA3JSyhezy2fUnTnXc3Pf7i8X17BJfBwLx';const bot = new TelegramBot(telegramToken, {polling: true});4 unmodified linesconst chatId = msg.chat.id;const userMessage = msg.text;axios.post('https://api.cloudflare.com/client/v4/accounts/d888e02cee618e93b19cd9e7717da715/ai/run/@cf/meta/llama-2-7b-chat-int8', {prompt: userMessage}, {headers: {12345674 unmodified lines12131415161718const TelegramBot = require('node-telegram-bot-api');const axios = require('axios');const telegramToken = '6935550366:AAFCn08aHQFBQxjQSfYCnbyxyzc5mZCKg9I';const cloudflareToken = 'NB-sxyNA3JSyhezy2fUnTnXc3Pf7i8X17BJfBwLx';const bot = new TelegramBot(telegramToken, {polling: true});4 unmodified linesconst chatId = msg.chat.id;const userMessage = msg.text;axios.post('https://api.cloudflare.com/client/v4/accounts/d888e02cee618e93b19cd9e7717da715/ai/run/@cf/mistral/mistral-7b-instruct-v0.1', {prompt: userMessage}, {headers: {
index.js+2-2