Spaces:
Sleeping
Sleeping
Commit History
-
Refactor test cases for improved readability and consistency
sethmcknight- Simplified multi-line strings in test cases to single-line format for better readability. - Consolidated test case structures by removing unnecessary line breaks. - Updated assertions to be more concise and maintainable. - Added new integration tests for search caching and embedding warmup functionality. - Ensured all tests maintain consistent formatting and style across the test suite.159faf0
-
Add memory diagnostics endpoints and logging enhancements (#80)
Seth McKnight* feat(memory): add diagnostics endpoints, periodic & milestone logging, force-clean; fix flake8 E501 * fix: update .gitignore, add chromadb files, enforce cpu for embeddings, add test mocks * Fix test suite: update FakeEmbeddingService to support default arguments and type annotations, resolve monkeypatching errors, and ensure fast, reliable test runs with CPU-only embedding. All tests passing. Move all imports to top and break long lines for flake8 compliance. * feat: enable memory logging and tracking; update requirements to include psutil * Add render memory monitoring, memory checkpoints and tests fixes; wrap long lines to satisfy linters * fix(memory): include label in /memory/force-clean response for test compatibility Ensure the force-clean endpoint returns the submitted label at the top level of the JSON response so tests and integrations can read it. * fix(ci): robust error handling for LLM configuration errors - Add custom LLMConfigurationError exception for specific…0a7f9b4
-
Comprehensive memory optimizations and embedding service updates (#76)
Seth McKnight +1: Copilot* Comprehensive memory optimizations and embedding service updates (#74) * feat: Disable embedding generation on startup * feat: Complete memory optimization for Render free tier - Fix critical bug: Change default embedding model to paraphrase-albert-small-v2 - Add pre-built embeddings database (98 chunks, 768-dim) - Optimize Gunicorn config for single worker + threads - Reduce batch sizes for memory efficiency - Add Python memory optimization env vars - Disable startup embedding generation - Add build_embeddings.py script for local database rebuilding - Update Makefile with build-embeddings target Expected memory savings: ~300MB from model change + startup optimization * feat: Add comprehensive memory monitoring and optimization - Add memory monitoring utilities with usage tracking and cleanup - Implement memory-aware service loading with MemoryManager - Add enhanced health endpoint with memory status reporting - Optimize Gunicorn config with reduced connection limits and freque…f75da29 -
Comprehensive memory optimizations and embedding service updates (#74)
Seth McKnight +1: Copilot* feat: Disable embedding generation on startup * feat: Complete memory optimization for Render free tier - Fix critical bug: Change default embedding model to paraphrase-albert-small-v2 - Add pre-built embeddings database (98 chunks, 768-dim) - Optimize Gunicorn config for single worker + threads - Reduce batch sizes for memory efficiency - Add Python memory optimization env vars - Disable startup embedding generation - Add build_embeddings.py script for local database rebuilding - Update Makefile with build-embeddings target Expected memory savings: ~300MB from model change + startup optimization * feat: Add comprehensive memory monitoring and optimization - Add memory monitoring utilities with usage tracking and cleanup - Implement memory-aware service loading with MemoryManager - Add enhanced health endpoint with memory status reporting - Optimize Gunicorn config with reduced connection limits and frequent restarts - Add production environment variables to limit thread usage -…32e4125