- 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>
19 lines
568 B
Python
19 lines
568 B
Python
try:
|
|
# Ensure a DistutilsError raised by these methods is the same as distutils.errors.DistutilsError
|
|
from distutils._modified import (
|
|
newer,
|
|
newer_group,
|
|
newer_pairwise,
|
|
newer_pairwise_group,
|
|
)
|
|
except ImportError:
|
|
# fallback for SETUPTOOLS_USE_DISTUTILS=stdlib, because _modified never existed in stdlib
|
|
from ._distutils._modified import (
|
|
newer,
|
|
newer_group,
|
|
newer_pairwise,
|
|
newer_pairwise_group,
|
|
)
|
|
|
|
__all__ = ['newer', 'newer_pairwise', 'newer_group', 'newer_pairwise_group']
|