mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-13 08:49:00 +08:00
fix: enhance ToolEngineInvokeError to include meta information (#12238)
Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
parent
fbf5deda21
commit
634b382a3d
@ -31,3 +31,7 @@ class ToolApiSchemaError(ValueError):
|
|||||||
|
|
||||||
class ToolEngineInvokeError(Exception):
|
class ToolEngineInvokeError(Exception):
|
||||||
meta: ToolInvokeMeta
|
meta: ToolInvokeMeta
|
||||||
|
|
||||||
|
def __init__(self, meta, **kwargs):
|
||||||
|
self.meta = meta
|
||||||
|
super().__init__(**kwargs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user