XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Updated(docs/async_client.md)

e43f95d4
kqlio67 <kqlio67@users.noreply.github.com>
提交于

代码差异

1 个文件 +0 -5
Modified docs/async_client.md +0 -5
@@ -72,7 +72,6 @@ async def main():
72 72 print(response.choices[0].message.content)
73 73
74 74 asyncio.run(main())
75
76 75 ```
77 76
78 77 ### Streaming Completions
@@ -97,7 +96,6 @@ async def main():
97 96 print(chunk.choices[0].delta.content or "", end="")
98 97
99 98 asyncio.run(main())
100
101 99 ```
102 100
103 101 In this example:
@@ -130,7 +128,6 @@ async def main():
130 128 print(response.choices[0].message.content)
131 129
132 130 asyncio.run(main())
133
134 131 ```
135 132
136 133 ### Image Generation:
@@ -152,7 +149,6 @@ async def main():
152 149 print(f"Generated image URL: {image_url}")
153 150
154 151 asyncio.run(main())
155
156 152 ```
157 153
158 154 #### Base64 as the response format
@@ -208,7 +204,6 @@ async def main():
208 204 print(image_url)
209 205
210 206 asyncio.run(main())
211
212 207 ```
213 208
214 209 [Return to Home](/)