summaryrefslogtreecommitdiffstats
path: root/docs/async_client.md
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-10-15 21:01:32 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-10-15 21:01:32 +0200
commitb2b41884469b4bf3412637ffc2c23943c66e2b8f (patch)
treec9daf51fc75ba25ca8ca115707257c1ee0b69390 /docs/async_client.md
parentUpdated(g4f/Provider/ChatifyAI.py) (diff)
downloadgpt4free-b2b41884469b4bf3412637ffc2c23943c66e2b8f.tar
gpt4free-b2b41884469b4bf3412637ffc2c23943c66e2b8f.tar.gz
gpt4free-b2b41884469b4bf3412637ffc2c23943c66e2b8f.tar.bz2
gpt4free-b2b41884469b4bf3412637ffc2c23943c66e2b8f.tar.lz
gpt4free-b2b41884469b4bf3412637ffc2c23943c66e2b8f.tar.xz
gpt4free-b2b41884469b4bf3412637ffc2c23943c66e2b8f.tar.zst
gpt4free-b2b41884469b4bf3412637ffc2c23943c66e2b8f.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",
)