返回提交历史
Modified
ora/README.md
+4
-1
XFEstudio/gpt4free
userid and session_token
4f94ba16
代码差异
1 个文件
+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
```