- Remove unused TOOL_TRIGGERS dictionary from config.py - Remove associated test_tool_triggers test case - TOOL_TRIGGERS was not used anywhere in the codebase - MCP automatically discovers tools through descriptions in list_tools handler - All tests pass (64 tests), ruff clean, black formatted
21 lines
607 B
Python
21 lines
607 B
Python
"""
|
|
Configuration and constants for Gemini MCP Server
|
|
"""
|
|
|
|
# Version and metadata
|
|
__version__ = "2.8.0"
|
|
__updated__ = "2025-09-09"
|
|
__author__ = "Fahad Gilani"
|
|
|
|
# Model configuration
|
|
DEFAULT_MODEL = "gemini-2.5-pro-preview-06-05"
|
|
THINKING_MODEL = (
|
|
"gemini-2.0-flash-thinking-exp" # Enhanced reasoning model for think_deeper
|
|
)
|
|
MAX_CONTEXT_TOKENS = 1_000_000 # 1M tokens for Gemini Pro
|
|
|
|
# Temperature defaults for different tool types
|
|
TEMPERATURE_ANALYTICAL = 0.2 # For code review, debugging
|
|
TEMPERATURE_BALANCED = 0.5 # For general chat
|
|
TEMPERATURE_CREATIVE = 0.7 # For architecture, deep thinking
|