谁有兴趣帮我把基于网页的ChatGPT机器人移植到文心一言上
机器人代码:
- https://github.com/hu60t/hu60wap6/blob/master/src/tpl/jhin/js/chatgpt/chatgpt.js
- https://gitee.com/hu60t/hu60wap6/blob/master/src/tpl/jhin/js/chatgpt/chatgpt.js
加载方法:
文心一言的界面和ChatGPT网页版很像,可能只要改一改CSS选择器就能完成移植了:

// 聊天框的CSS选择器
const chatBoxSelector = 'textarea.w-full.p-0';
// 发送按钮的CSS选择器
const sendButtonSelector = 'button.absolute.p-1';
// 正在输入动效(三个点)和加载中动效(转圈)的CSS选择器
const replyNotReadySelector = 'div.text-2xl, .animate-spin';
……

