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

XFEstudio/gpt4free

Fix audio models

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

代码差异

1 个文件 +3 -0
Modified g4f/typing.py +3 -0
@@ -48,6 +48,9 @@ class ContentPart(TypedDict, total=False):
48 48 type: str # e.g., "text", "image_url", etc.
49 49 text: str # present when type == "text"
50 50 image_url: Dict[str, str] # present when type == "image_url"
51 input_audio: Dict[str, str] # present when type == "input_audio"
52 bucket_id: str
53 name: str
51 54
52 55 class Message(TypedDict):
53 56 role: str