fix: completion chat id

This commit is contained in:
Coffee
2025-09-14 14:21:57 +08:00
parent 1e315dc33b
commit ac0386ae1f
@@ -950,6 +950,8 @@ class CustomStreamWrapper:
return
def chunk_creator(self, chunk: Any): # type: ignore # noqa: PLR0915
if hasattr(chunk, 'id'):
self.response_id = chunk.id
model_response = self.model_response_creator()
response_obj: Dict[str, Any] = {}
try: