Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.2.0
Tests
This directory contains test files for the GAIA agent system.
Test Files
test_database.py- Tests database search integration and similarity matchingtest_single.py- Single question test for debugging specific issuestest_routing.py- Tests intelligent routing and agent decision-making
Running Tests
Make sure to activate the virtual environment first:
source .venv/bin/activate
Then run individual tests:
python tests/test_database.py
python tests/test_single.py
python tests/test_routing.py
Test Structure
All test files include the necessary path setup to import modules from the parent directory:
import sys
import os
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
This allows the tests to import from the main project modules while being organized in a separate directory.