userid and session_token

This commit is contained in:
t.me/xtekky 2023-04-24 19:26:27 +01:00 committed by GitHub
parent 878a2100bc
commit 4f94ba1604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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)
```
```