XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

userid and session_token

4f94ba16
t.me/xtekky <98614666+xtekky@users.noreply.github.com>
提交于

代码差异

1 个文件 +4 -1
Modified ora/README.md +4 -1
@@ -4,6 +4,9 @@
4 4
5 5 more gpt4 models in `/testing/ora_gpt4.py`
6 6
7 find the userid by visiting https://ora.sh/api/auth/session ( must be logged in on the site )
8 and session_token in the cookies, it should be: __Secure-next-auth.session-token
9
7 10 ```python
8 11 # if using CompletionModel.load set these
9 12 ora.user_id = '...'
@@ -43,4 +46,4 @@ while True:
43 46 conversationId = init.id)
44 47
45 48 print(response.completion.choices[0].text)
46 ```
49 ```