summaryrefslogtreecommitdiffstats
path: root/docs/async_client.md
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2024-10-17 17:56:51 +0200
committerGitHub <noreply@github.com>2024-10-17 17:56:51 +0200
commit66a305998d47e724efaea696bf352428cfcd8291 (patch)
treee372492a190abfa1254e6b05afea8d154aa48225 /docs/async_client.md
parentMerge pull request #2275 from hansipie/setollamahost (diff)
parentUpdate (g4f/Provider/Blackbox.py) (diff)
downloadgpt4free-66a305998d47e724efaea696bf352428cfcd8291.tar
gpt4free-66a305998d47e724efaea696bf352428cfcd8291.tar.gz
gpt4free-66a305998d47e724efaea696bf352428cfcd8291.tar.bz2
gpt4free-66a305998d47e724efaea696bf352428cfcd8291.tar.lz
gpt4free-66a305998d47e724efaea696bf352428cfcd8291.tar.xz
gpt4free-66a305998d47e724efaea696bf352428cfcd8291.tar.zst
gpt4free-66a305998d47e724efaea696bf352428cfcd8291.zip
Diffstat (limited to 'docs/async_client.md')
-rw-r--r--docs/async_client.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/async_client.md b/docs/async_client.md
index a3f773fa..f5ac5392 100644
--- a/docs/async_client.md
+++ b/docs/async_client.md
@@ -187,7 +187,7 @@ async def main():
model="gpt-3.5-turbo",
messages=[{"role": "user", "content": "Say this is a test"}],
)
- task2 = client.images.generate(
+ task2 = client.images.async_generate(
model="dall-e-3",
prompt="a white siamese cat",
)