## Major Features Added ### 🎯 Dynamic Configuration System - **Environment-aware model selection**: DEFAULT_MODEL with 'pro'/'flash' shortcuts - **Configurable thinking modes**: DEFAULT_THINKING_MODE_THINKDEEP for extended reasoning - **All tool schemas now dynamic**: Show actual current defaults instead of hardcoded values - **Enhanced setup workflow**: Copy from .env.example with smart customization ### 🔧 Model & Thinking Configuration - **Smart model resolution**: Support both shortcuts ('pro', 'flash') and full model names - **Thinking mode optimization**: Only apply thinking budget to models that support it - **Flash model compatibility**: Works without thinking config, still beneficial via system prompts - **Dynamic schema descriptions**: Tool parameters show current environment values ### 🚀 Enhanced Developer Experience - **Fail-fast Docker setup**: GEMINI_API_KEY required upfront in docker-compose - **Comprehensive startup logging**: Shows current model and thinking mode defaults - **Enhanced get_version tool**: Reports all dynamic configuration values - **Better .env documentation**: Clear token consumption details and model options ### 🧪 Comprehensive Testing - **Live model validation**: New simulator test validates Pro vs Flash thinking behavior - **Dynamic configuration tests**: Verify environment variable overrides work correctly - **Complete test coverage**: All 139 unit tests pass, including new model config tests ### 📋 Configuration Files Updated - **docker-compose.yml**: Fail-fast API key validation, thinking mode support - **setup-docker.sh**: Copy from .env.example instead of manual creation - **.env.example**: Detailed documentation with token consumption per thinking mode - **.gitignore**: Added test-setup/ for cleanup ### 🛠 Technical Improvements - **Removed setup.py**: Fully Docker-based deployment (no longer needed) - **REDIS_URL smart defaults**: Auto-configured for Docker, still configurable for dev - **All tools updated**: Consistent dynamic model parameter descriptions - **Enhanced error handling**: Better model resolution and validation ## Breaking Changes - Removed setup.py (Docker-only deployment) - Model parameter descriptions now show actual defaults (dynamic) ## Migration Guide - Update .env files using new .env.example format - Use 'pro'/'flash' shortcuts or full model names - Set DEFAULT_THINKING_MODE_THINKDEEP for custom thinking depth 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
42 lines
1.5 KiB
Python
42 lines
1.5 KiB
Python
"""
|
|
Communication Simulator Tests Package
|
|
|
|
This package contains individual test modules for the Gemini MCP Communication Simulator.
|
|
Each test is in its own file for better organization and maintainability.
|
|
"""
|
|
|
|
from .base_test import BaseSimulatorTest
|
|
from .test_basic_conversation import BasicConversationTest
|
|
from .test_content_validation import ContentValidationTest
|
|
from .test_cross_tool_comprehensive import CrossToolComprehensiveTest
|
|
from .test_cross_tool_continuation import CrossToolContinuationTest
|
|
from .test_logs_validation import LogsValidationTest
|
|
from .test_model_thinking_config import TestModelThinkingConfig
|
|
from .test_per_tool_deduplication import PerToolDeduplicationTest
|
|
from .test_redis_validation import RedisValidationTest
|
|
|
|
# Test registry for dynamic loading
|
|
TEST_REGISTRY = {
|
|
"basic_conversation": BasicConversationTest,
|
|
"content_validation": ContentValidationTest,
|
|
"per_tool_deduplication": PerToolDeduplicationTest,
|
|
"cross_tool_continuation": CrossToolContinuationTest,
|
|
"cross_tool_comprehensive": CrossToolComprehensiveTest,
|
|
"logs_validation": LogsValidationTest,
|
|
"redis_validation": RedisValidationTest,
|
|
"model_thinking_config": TestModelThinkingConfig,
|
|
}
|
|
|
|
__all__ = [
|
|
"BaseSimulatorTest",
|
|
"BasicConversationTest",
|
|
"ContentValidationTest",
|
|
"PerToolDeduplicationTest",
|
|
"CrossToolContinuationTest",
|
|
"CrossToolComprehensiveTest",
|
|
"LogsValidationTest",
|
|
"RedisValidationTest",
|
|
"TestModelThinkingConfig",
|
|
"TEST_REGISTRY",
|
|
]
|