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

XFEstudio/gpt4free

fix: Remove unused response_format parameter in ImageGenerationTool

136cb315
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -2
Modified g4f/mcp/tools.py +1 -2
@@ -241,8 +241,7 @@ class ImageGenerationTool(MCPTool):
241 241 model=model,
242 242 prompt=prompt,
243 243 width=width,
244 height=height,
245 response_format="url"
244 height=height
246 245 )
247 246
248 247 # Get the image data with proper validation