remove bare list, dict, Sequence, None, Any (#25058)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
parent
2b0695bdde
commit
a78339a040
306 changed files with 787 additions and 817 deletions
|
|
@ -40,7 +40,7 @@ class OutputModeration(BaseModel):
|
|||
def get_final_output(self) -> str:
|
||||
return self.final_output or ""
|
||||
|
||||
def append_new_token(self, token: str) -> None:
|
||||
def append_new_token(self, token: str):
|
||||
self.buffer += token
|
||||
|
||||
if not self.thread:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue