Migration from Docker to Standalone Python Server (#73)
* Migration from docker to standalone server Migration handling Fixed tests Use simpler in-memory storage Support for concurrent logging to disk Simplified direct connections to localhost * Migration from docker / redis to standalone script Updated tests Updated run script Fixed requirements Use dotenv Ask if user would like to install MCP in Claude Desktop once Updated docs * More cleanup and references to docker removed * Cleanup * Comments * Fixed tests * Fix GitHub Actions workflow for standalone Python architecture - Install requirements-dev.txt for pytest and testing dependencies - Remove Docker setup from simulation tests (now standalone) - Simplify linting job to use requirements-dev.txt - Update simulation tests to run directly without Docker Fixes unit test failures in CI due to missing pytest dependency. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Remove simulation tests from GitHub Actions - Removed simulation-tests job that makes real API calls - Keep only unit tests (mocked, no API costs) and linting - Simulation tests should be run manually with real API keys - Reduces CI costs and complexity GitHub Actions now only runs: - Unit tests (569 tests, all mocked) - Code quality checks (ruff, black) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Fixed tests * Fixed tests --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
9d72545ecd
commit
4151c3c3a5
@@ -14,7 +14,7 @@ import os
|
||||
# These values are used in server responses and for tracking releases
|
||||
# IMPORTANT: This is the single source of truth for version and author info
|
||||
# Semantic versioning: MAJOR.MINOR.PATCH
|
||||
__version__ = "5.0.2"
|
||||
__version__ = "5.1.0"
|
||||
# Last update date in ISO format
|
||||
__updated__ = "2025-06-18"
|
||||
# Primary maintainer
|
||||
@@ -136,7 +136,7 @@ DEFAULT_CONSENSUS_MAX_INSTANCES_PER_COMBINATION = 2
|
||||
# What is NOT limited by this constant:
|
||||
# - System prompts added internally by tools
|
||||
# - File content embedded by tools
|
||||
# - Conversation history loaded from Redis
|
||||
# - Conversation history loaded from storage
|
||||
# - Web search instructions or other internal additions
|
||||
# - Complete prompts sent to external models (managed by model-specific token limits)
|
||||
#
|
||||
@@ -145,6 +145,5 @@ DEFAULT_CONSENSUS_MAX_INSTANCES_PER_COMBINATION = 2
|
||||
MCP_PROMPT_SIZE_LIMIT = 50_000 # 50K characters (user input only)
|
||||
|
||||
# Threading configuration
|
||||
# Simple Redis-based conversation threading for stateless MCP environment
|
||||
# Set REDIS_URL environment variable to connect to your Redis instance
|
||||
REDIS_URL = os.getenv("REDIS_URL", "redis://localhost:6379/0")
|
||||
# Simple in-memory conversation threading for stateless MCP environment
|
||||
# Conversations persist only during the Claude session
|
||||
|
||||
Reference in New Issue
Block a user