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