Tool group tests

This commit is contained in:
Cyber MacGeddon 2025-09-03 16:16:57 +01:00
parent d2303ce1f6
commit 2608fac6bd

View file

@ -7,8 +7,14 @@ tool filtering and execution in the ReAct agent service.
import pytest
import json
import sys
import os
from unittest.mock import Mock, AsyncMock, patch
# Add trustgraph paths for imports
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', '..', 'trustgraph-base'))
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', '..', 'trustgraph-flow'))
from trustgraph.schema import AgentRequest, AgentResponse, AgentStep
from trustgraph.agent.react.service import Processor
from trustgraph.agent.react.types import Tool, Argument