Fix signature
This commit is contained in:
@@ -31,7 +31,7 @@ log = logging.getLogger(__file__)
|
|||||||
|
|
||||||
|
|
||||||
async def generate_client_response(
|
async def generate_client_response(
|
||||||
self, client_request: web.Request, model_response: ClientResponse
|
client_request: web.Request, model_response: ClientResponse
|
||||||
) -> Union[web.Response, web.StreamResponse]:
|
) -> Union[web.Response, web.StreamResponse]:
|
||||||
# Check if the response is actually streaming based on response headers/content-type
|
# Check if the response is actually streaming based on response headers/content-type
|
||||||
is_streaming_response = (
|
is_streaming_response = (
|
||||||
|
|||||||
Reference in New Issue
Block a user