mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-13 04:46:52 +08:00
fix(core): Reorder field_validator and classmethod to fit Pydantic V2. (#5257)
This commit is contained in:
@@ -66,7 +66,7 @@ class BuiltinTool(Tool):
|
||||
tenant_id=self.runtime.tenant_id,
|
||||
prompt_messages=prompt_messages
|
||||
)
|
||||
|
||||
|
||||
def summary(self, user_id: str, content: str) -> str:
|
||||
max_tokens = self.get_max_tokens()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user