Provide response_json type hint (#1077)

This commit is contained in:
Arjan Mossel 2025-05-24 22:46:36 +02:00 committed by GitHub
parent 713ee9b032
commit 5d6f96a908
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -525,7 +525,7 @@ class _BaseResponse:
self._chunks: List[str] = []
self._done = False
self._tool_calls: List[ToolCall] = []
self.response_json = None
self.response_json: Optional[Dict[str, Any]] = None
self.conversation = conversation
self.attachments: List[Attachment] = []
self._start: Optional[float] = None