Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Commit

Permalink
require session_ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio committed Jul 20, 2023
1 parent ab350d9 commit c553605
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Bard.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Chatbot:
def __init__(
self,
secure_1psid: str,
secure_1psidts: str = None,
secure_1psidts: str,
proxy: dict = None,
timeout: int = 20,
):
Expand Down Expand Up @@ -112,7 +112,7 @@ class AsyncChatbot:
def __init__(
self,
secure_1psid: str,
secure_1psidts: str = None,
secure_1psidts: str,
proxy: dict = None,
timeout: int = 20,
):
Expand Down Expand Up @@ -142,7 +142,7 @@ def __init__(
async def create(
cls,
secure_1psid: str,
secure_1psidts: str = None,
secure_1psidts: str,
proxy: dict = None,
timeout: int = 20,
) -> "AsyncChatbot":
Expand Down Expand Up @@ -332,7 +332,7 @@ async def ask(self, message: str) -> dict:
"--session_ts",
help="__Secure_1PSIDTS cookie.",
type=str,
required=False,
required=True,
)
args = parser.parse_args()

Expand Down

0 comments on commit c553605

Please sign in to comment.