mirror of https://github.com/xtekky/gpt4free.git
userid and session_token
This commit is contained in:
parent
878a2100bc
commit
4f94ba1604
|
@ -4,6 +4,9 @@
|
|||
|
||||
more gpt4 models in `/testing/ora_gpt4.py`
|
||||
|
||||
find the userid by visiting https://ora.sh/api/auth/session ( must be logged in on the site )
|
||||
and session_token in the cookies, it should be: __Secure-next-auth.session-token
|
||||
|
||||
```python
|
||||
# if using CompletionModel.load set these
|
||||
ora.user_id = '...'
|
||||
|
@ -43,4 +46,4 @@ while True:
|
|||
conversationId = init.id)
|
||||
|
||||
print(response.completion.choices[0].text)
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue