找到11516个回复
@cherrydra,小老虎的界面在夜间模式效果很差
怎么改配色 我目前的配色感觉不适。![]()
@老虎会游泳,可以考虑虎绿林做成pjax,不然现在跳转都是要刷新页面的,websocket岂不是一直在重连,服务器压力有点大吧
掌缘生灭(白)
let uid = u.pathname.match(/[-]?\d+/g)这肯定不行,所有图标是
的机器人,头像都是同一个URL:
https://file.hu60.cn/avatar/-50.jpg
@cherrydra,我会在头像<img>和用户名<a>里添加
data-uid字段。要注意经典主题没有头像。
@老虎会游泳,了解了,我用
parentElement.herf来取uid
确实说,为何是头像id,id公开的呀
@cherrydra,可以了。有状态了
@cherrydra,你检查的为什么是头像啊
@艾木友尔尔巴,你重新上传下头像。因为你的
Chatbot头像路径中的 ID 还是旧的 非robotID
@cherrydra,只能是用在hu60bot吗?我,我用的你的源码,没有在线状态
@cherrydra,我这突然没有小老虎了,控制台就报错了
@旧人,应该不会啊
,有谁能一起看看,这
chatItem.querySelector('.clearChat')为什么有时会为null
感觉还可以 设计 窗口可拖动 ,回车 发送 消息
@cherrydra,Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
at appendChatList (22780_public_hu60bot.js:172:41)
at 22780_public_hu60bot.js:129:13
at Array.forEach (<anonymous>)
at renderChatList (22780_public_hu60bot.js:125:25)
at initChatWindowData (22780_public_hu60bot.js:100:5)
at initHu60botChat (22780_public_hu60bot.js:96:5)
at startPlugin (22780_public_hu60bot.js:18:5)
at 22780_public_hu60bot.js:654:1
@cherrydra,收到。暂时不禁。
所以我实际上在考虑取消 https://hu60.cn/q.php/bbs.topic.104689.html 的直接对话支持
@老虎会游泳,现在
hu60bot支持禁用一些 action。如果某个时刻你想取消直接对话支持,可以这样做:hu60bot -u hu60bot -p <pass> -k <openai-apikey> --disable-action chat