mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
Fix mypy errors
This commit is contained in:
parent
a3095f47fd
commit
c1e90ed300
1 changed files with 14 additions and 0 deletions
|
|
@ -58,12 +58,26 @@ class HttpxBlobType(TypedDict, total=False):
|
|||
data: str
|
||||
|
||||
|
||||
class HttpxServerSideToolCall(TypedDict, total=False):
|
||||
toolType: str
|
||||
id: str
|
||||
args: dict
|
||||
|
||||
|
||||
class HttpxServerSideToolResponse(TypedDict, total=False):
|
||||
toolType: str
|
||||
id: str
|
||||
response: Union[str, dict]
|
||||
|
||||
|
||||
class HttpxPartType(TypedDict, total=False):
|
||||
text: str
|
||||
inlineData: HttpxBlobType
|
||||
fileData: FileDataType
|
||||
functionCall: HttpxFunctionCall
|
||||
functionResponse: FunctionResponse
|
||||
toolCall: HttpxServerSideToolCall
|
||||
toolResponse: HttpxServerSideToolResponse
|
||||
executableCode: HttpxExecutableCode
|
||||
codeExecutionResult: HttpxCodeExecutionResult
|
||||
thought: bool
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue