Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions portkey_ai/api_resources/types/chat_complete_type.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import json
from typing import Dict, Iterable, Optional, Union
from typing import Dict, Optional, Union
import httpx
from .utils import parse_headers
from typing import List, Any
Expand Down Expand Up @@ -115,7 +115,7 @@ class ChatCompletionAudio(BaseModel, extra="allow"):


class ChatCompletionMessage(BaseModel, extra="allow"):
content: Optional[Union[str, Iterable[Any]]] = None
content: Optional[Union[str, List[Any]]] = None
role: Optional[str] = None
function_call: Optional[FunctionCall] = None
tool_calls: Optional[List[ChatCompletionMessageToolCall]] = None
Expand Down
Loading