Fix project isolation: Make loadChatHistory respect active project sessions
- Modified loadChatHistory() to check for active project before fetching all sessions - When active project exists, use project.sessions instead of fetching from API - Added detailed console logging to debug session filtering - This prevents ALL sessions from appearing in every project's sidebar Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
33
.venv/lib/python3.11/site-packages/rapidfuzz/__init__.py
Normal file
33
.venv/lib/python3.11/site-packages/rapidfuzz/__init__.py
Normal file
@@ -0,0 +1,33 @@
|
||||
"""
|
||||
rapid string matching library
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
__author__: str = "Max Bachmann"
|
||||
__license__: str = "MIT"
|
||||
__version__: str = "3.14.3"
|
||||
|
||||
from rapidfuzz import distance, fuzz, process, utils
|
||||
|
||||
__all__ = ["distance", "fuzz", "get_include", "process", "utils"]
|
||||
|
||||
|
||||
def get_include():
|
||||
"""
|
||||
Return the directory that contains the RapidFuzz \\*.h header files.
|
||||
Extension modules that need to compile against RapidFuzz should use this
|
||||
function to locate the appropriate include directory.
|
||||
Notes
|
||||
-----
|
||||
When using ``distutils``, for example in ``setup.py``.
|
||||
::
|
||||
import rapidfuzz_capi
|
||||
...
|
||||
Extension('extension_name', ...
|
||||
include_dirs=[rapidfuzz_capi.get_include()])
|
||||
...
|
||||
"""
|
||||
from pathlib import Path
|
||||
|
||||
return str(Path(__file__).parent)
|
||||
Reference in New Issue
Block a user