(self, output_stream)
| 184 | def test_encode_response_with_custom_spec_api(): |
| 185 | class CustomSpecAPI(ls.OpenAISpec): |
| 186 | def encode_response(self, output_stream): |
| 187 | for output in output_stream: |
| 188 | yield {"content": output} |
| 189 | |
| 190 | api = ls.test_examples.TestAPI(max_batch_size=1) |
| 191 | api.request_timeout = 30 |
nothing calls this directly
no outgoing calls
no test coverage detected