Skip to content

Commit e3040bc

Browse files
authored
Merge branch 'main' into feat/vendoring
2 parents 5304576 + 01854ba commit e3040bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

portkey_ai/api_resources/types/chat_complete_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import json
2-
from typing import Dict, Optional
2+
from typing import Dict, Iterable, Optional, Union
33
import httpx
44
from .utils import parse_headers
55
from typing import List, Any
@@ -73,7 +73,7 @@ class ChatCompletionMessageToolCall(BaseModel):
7373

7474

7575
class ChatCompletionMessage(BaseModel):
76-
content: Optional[str] = None
76+
content: Optional[Union[str, Iterable[Any]]] = None
7777
role: Optional[str]
7878
function_call: Optional[FunctionCall] = None
7979
tool_calls: Optional[List[ChatCompletionMessageToolCall]] = None

portkey_ai/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "1.5.0"
1+
VERSION = "1.5.1"

0 commit comments

Comments
 (0)