[Detokenizer Manager] Cleanup state when reqs are finished (#12205)
This commit is contained in:
@@ -235,6 +235,8 @@ class DetokenizerManager(MultiHttpWorkerDetokenizerMixin):
|
|||||||
new_text = ""
|
new_text = ""
|
||||||
else:
|
else:
|
||||||
new_text = find_printable_text(new_text)
|
new_text = find_printable_text(new_text)
|
||||||
|
else:
|
||||||
|
del self.decode_status[recv_obj.rids[i]]
|
||||||
|
|
||||||
output_str = self.trim_matched_stop(
|
output_str = self.trim_matched_stop(
|
||||||
s.decoded_text + new_text,
|
s.decoded_text + new_text,
|
||||||
|
|||||||
Reference in New Issue
Block a user