summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/async_client.md5
1 files changed, 0 insertions, 5 deletions
diff --git a/docs/async_client.md b/docs/async_client.md
index 34ee8018..a3f773fa 100644
--- a/docs/async_client.md
+++ b/docs/async_client.md
@@ -72,7 +72,6 @@ async def main():
print(response.choices[0].message.content)
asyncio.run(main())
-
```
### Streaming Completions
@@ -97,7 +96,6 @@ async def main():
print(chunk.choices[0].delta.content or "", end="")
asyncio.run(main())
-
```
In this example:
@@ -130,7 +128,6 @@ async def main():
print(response.choices[0].message.content)
asyncio.run(main())
-
```
### Image Generation:
@@ -152,7 +149,6 @@ async def main():
print(f"Generated image URL: {image_url}")
asyncio.run(main())
-
```
#### Base64 as the response format
@@ -208,7 +204,6 @@ async def main():
print(image_url)
asyncio.run(main())
-
```
[Return to Home](/)