mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 10:56:52 +08:00
fix: detached model in completion thread (#1269)
This commit is contained in:
@@ -132,8 +132,6 @@ class BaseLLM(BaseProviderModel):
|
||||
if self.deduct_quota:
|
||||
self.model_provider.check_quota_over_limit()
|
||||
|
||||
db.session.commit()
|
||||
|
||||
if not callbacks:
|
||||
callbacks = self.callbacks
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user