fix(model_runtime): make invoke as ValueError (#11929)

Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
-LAN- 2024-12-21 21:22:14 +08:00 committed by GitHub
parent 90323cd355
commit 455791b710
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
from typing import Optional
class InvokeError(Exception):
class InvokeError(ValueError):
"""Base class for all LLM exceptions."""
description: Optional[str] = None