返回提交历史
Modified
g4f/typing.py
+3
-0
XFEstudio/gpt4free
Fix audio models
ddb5d5b5
代码差异
1 个文件
+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