mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-26 16:53:36 +08:00
update callback.py
This commit is contained in:
parent
ff7ac0333e
commit
6c251bd2cf
@ -29,7 +29,6 @@ class LimitedLengthDict(dict):
|
||||
|
||||
|
||||
class FixedLengthQueue:
|
||||
|
||||
# 停止符号列表
|
||||
stop_sequence: Optional[str] = []
|
||||
# 缓冲区
|
||||
@ -170,7 +169,6 @@ class Iteratorize:
|
||||
# 在这里可以对实例进行额外的设置
|
||||
return instance
|
||||
|
||||
|
||||
def __init__(self, func, kwargs={}, callback=None):
|
||||
self.mfunc = func
|
||||
self.c_callback = callback
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user