Skip to content

Commit

Permalink
fix _convert_output usage
Browse files Browse the repository at this point in the history
related to #15 (973d9ef)
  • Loading branch information
dtrifiro committed Jul 2, 2024
1 parent 6b136ae commit 198916d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/vllm_tgis_adapter/grpc/grpc_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,10 @@ async def GenerateStream(
last_response = self._convert_output(
output,
resp_options,
max_is_tok_limit,
time_limit_reached,
last_output_length,
last_token_count,
max_is_token_limit=max_is_tok_limit,
time_limit_reached=time_limit_reached,
text_start_offset=last_output_length,
token_start_offset=last_token_count,
)
yield last_response

Expand Down

0 comments on commit 198916d

Please sign in to comment.