mirror of
https://github.com/AstrBotDevs/AstrBot.git
synced 2026-09-24 16:39:52 +08:00
fix: jsonschema ValidationError import in test_tool
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
import pytest
|
||||
from unittest.mock import MagicMock, AsyncMock
|
||||
from pydantic import ValidationError
|
||||
from jsonschema.exceptions import ValidationError
|
||||
|
||||
from astrbot.core.agent.tool import (
|
||||
FunctionTool,
|
||||
|
||||
Reference in New Issue
Block a user