(
finish_reason: Optional[str],
)
| 9179 | |
| 9180 | @staticmethod |
| 9181 | def _response_item_status( |
| 9182 | finish_reason: Optional[str], |
| 9183 | ) -> str: |
| 9184 | if finish_reason == "length": |
| 9185 | return "incomplete" |
| 9186 | return "completed" |
| 9187 | |
| 9188 | def _add_response_stream_item( |
| 9189 | self, |
no outgoing calls
no test coverage detected