fix: Set Gemini 2.5 Pro Preview as default and improve portability

Changes:
- Restored Gemini 2.5 Pro Preview as the default model
- Removed hardcoded paths from claude_config_example.json
- Added MCP_DISCOVERY.md explaining how Claude discovers MCP servers
- Updated README with natural language usage examples

The server now defaults to the most capable Gemini 2.5 Pro Preview model
as requested, and all paths are now relative for better portability.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Fahad
2025-06-08 19:49:08 +04:00
parent 54d9bb1ee7
commit b86c42cf3a
4 changed files with 106 additions and 5 deletions

View File

@@ -18,8 +18,7 @@ import google.generativeai as genai
# Default to Gemini 2.5 Pro Preview with maximum context
# Note: 2.5 Pro Preview has restrictions, falling back to 1.5 Pro for better reliability
DEFAULT_MODEL = "gemini-1.5-pro-latest" # More reliable, still has large context
DEFAULT_MODEL = "gemini-2.5-pro-preview-06-05"
MAX_CONTEXT_TOKENS = 1000000 # 1M tokens