Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
feat: add multi_cookies bool and cookie_dict args in bard object
Browse files Browse the repository at this point in the history
  • Loading branch information
dsdanielpark committed Jan 19, 2024
1 parent b6a3615 commit 9497078
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bardapi/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(
run_code: bool = False,
token_from_browser: bool = False,
multi_cookies: bool = False,
cookie_dict
cookie_dict: dict = None,
):
"""
Initialize the Bard instance.
Expand All @@ -71,6 +71,7 @@ def __init__(
run_code (bool, optional, default = False): Whether to directly execute the code included in the answer (Python only)
token_from_browser (bool, optional, default = False): Gets a token from the browser
multi_cookies: S
cookie_dict:
"""
self.multi_cookies = multi_cookies
self.token = self._get_token(token, token_from_browser, multi_cookies)
Expand Down

0 comments on commit 9497078

Please sign in to comment.