Update index.js
Browse files39 unmodified lines404142434344454639 unmodified linesasync function bingChat(query) { const { BingChat } = require("bing-chat-cjs-rnz"); const api = new BingChat({ cookie: process.env.BING_COOKIE cookie: process.env.BING_IMAGE_COOKIE })const res = await api.sendMessage(text, { variant: 'Precise' })return res?.textindex.js+1-1