|
1 | | -# Active Context |
| 1 | +# Recent Changes |
| 2 | +- Removed unused better-sqlite3 import from src/index.ts that was causing build errors |
| 3 | +- Successfully built the project after removing the dependency |
2 | 4 |
|
3 | | -## Current Task |
4 | | -Streamlining the Perplexity Server MCP to provide three specialized tools with automatic model selection based on query complexity. |
5 | | - |
6 | | -## Recent Changes |
7 | | -- Refactored codebase to focus on three core tools: |
8 | | - - search: Quick lookups using Sonar Pro |
9 | | - - reason: Complex analysis using Sonar Reasoning Pro |
10 | | - - deep_research: Comprehensive research using Sonar Deep Research |
11 | | -- Implemented intelligent query complexity detection |
12 | | -- Removed chat history and SQLite functionality |
13 | | -- Updated documentation and examples |
14 | | -- Bumped version to 0.2.0 |
15 | | - |
16 | | -## Key Features |
17 | | -1. Automatic Model Selection: |
18 | | - - Analyzes query patterns to determine complexity |
19 | | - - Routes to appropriate model based on analysis |
20 | | - - Allows manual override with force_model flag |
21 | | - |
22 | | -2. Specialized Tools: |
23 | | - - Each tool optimized for specific use cases |
24 | | - - Clear separation of concerns |
25 | | - - Improved response quality through targeted model use |
26 | | - |
27 | | -3. Query Analysis: |
28 | | - - Pattern matching for complexity indicators |
29 | | - - Research vs reasoning vs simple query detection |
30 | | - - Intelligent routing to appropriate model |
31 | | - |
32 | | -## Implementation Details |
33 | | -- Removed SQLite dependency and chat history |
34 | | -- Simplified server architecture |
35 | | -- Added query complexity detection |
36 | | -- Updated tool schemas and handlers |
37 | | -- Improved error handling and responses |
| 5 | +# Current Status |
| 6 | +- Build is now working correctly |
| 7 | +- Project is ready for further development |
0 commit comments