We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用mode = 'browserless'模式部署时,希望可以通过向机器人QQ发送指定命令(就像切换预设文件那样),动态更新调用OpenAI的session_token,降低更换session_token过程的摩擦(不用重启,不用登录机器)
mode = 'browserless'
The text was updated successfully, but these errors were encountered:
这里应该有一个难点是模仿浏览器行为刷新session。如果是通过发送/setSession <session token>这样的指令来更新配置的话我觉得会好实现也方便不少。
/setSession <session token>
Sorry, something went wrong.
很好的建议! 不过多用户的情况下,暂时还没有很好的办法来区分每个账号……
多用户是指多个OpenAI账户么? 可以考虑在[[openai.accounts]]中加个alias别名或干脆按配置顺序指定id,刷新session_token时按alias或者id刷新,毕竟手动刷新seesion_token的人和部署的人绝大概率是一个人或是了解明确配置的人,这个门槛也是比较容易接受的
[[openai.accounts]]
河南拔智齿,期待呀
有道理!很快会加入这个功能。
No branches or pull requests
使用
mode = 'browserless'
模式部署时,希望可以通过向机器人QQ发送指定命令(就像切换预设文件那样),动态更新调用OpenAI的session_token,降低更换session_token过程的摩擦(不用重启,不用登录机器)The text was updated successfully, but these errors were encountered: