summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Bard.py
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2023-08-27 17:37:44 +0200
committerabc <98614666+xtekky@users.noreply.github.com>2023-08-27 17:37:44 +0200
commitefd75a11b871d61ac31b0e274acdfb33daba361d (patch)
tree22bd158324444cdbb9dbed46f25f8dffa60f3756 /g4f/Provider/Bard.py
parent ~ | v-0.0.2.5 (diff)
downloadgpt4free-efd75a11b871d61ac31b0e274acdfb33daba361d.tar
gpt4free-efd75a11b871d61ac31b0e274acdfb33daba361d.tar.gz
gpt4free-efd75a11b871d61ac31b0e274acdfb33daba361d.tar.bz2
gpt4free-efd75a11b871d61ac31b0e274acdfb33daba361d.tar.lz
gpt4free-efd75a11b871d61ac31b0e274acdfb33daba361d.tar.xz
gpt4free-efd75a11b871d61ac31b0e274acdfb33daba361d.tar.zst
gpt4free-efd75a11b871d61ac31b0e274acdfb33daba361d.zip
Diffstat (limited to 'g4f/Provider/Bard.py')
-rw-r--r--g4f/Provider/Bard.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/g4f/Provider/Bard.py b/g4f/Provider/Bard.py
index a8c7d13f..a516227b 100644
--- a/g4f/Provider/Bard.py
+++ b/g4f/Provider/Bard.py
@@ -19,9 +19,7 @@ class Bard(AsyncProvider):
model: str,
messages: list[dict[str, str]],
proxy: str = None,
- cookies: dict = get_cookies(".google.com"),
- **kwargs: Any,
- ) -> str:
+ cookies: dict = get_cookies(".google.com"), **kwargs: Any,) -> str:
formatted = "\n".join(
["%s: %s" % (message["role"], message["content"]) for message in messages]