dasein-core 0.2.14__py3-none-any.whl → 0.2.16__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dasein/api.py +4744 -4686
- dasein/capture.py +2 -2
- dasein/pipecleaner.py +302 -301
- {dasein_core-0.2.14.dist-info → dasein_core-0.2.16.dist-info}/METADATA +2 -1
- {dasein_core-0.2.14.dist-info → dasein_core-0.2.16.dist-info}/RECORD +8 -8
- {dasein_core-0.2.14.dist-info → dasein_core-0.2.16.dist-info}/WHEEL +0 -0
- {dasein_core-0.2.14.dist-info → dasein_core-0.2.16.dist-info}/licenses/LICENSE +0 -0
- {dasein_core-0.2.14.dist-info → dasein_core-0.2.16.dist-info}/top_level.txt +0 -0
dasein/capture.py
CHANGED
@@ -8,7 +8,7 @@ warnings.filterwarnings('ignore', category=FutureWarning, message='.*torch.distr
|
|
8
8
|
warnings.filterwarnings('ignore', category=DeprecationWarning, message='.*Importing chat models from langchain.*')
|
9
9
|
|
10
10
|
import hashlib
|
11
|
-
from typing import Any, Dict, List, Optional, Union
|
11
|
+
from typing import Any, Dict, List, Optional, Union, Tuple
|
12
12
|
from datetime import datetime
|
13
13
|
from langchain_core.callbacks.base import BaseCallbackHandler
|
14
14
|
from langchain_core.callbacks.manager import CallbackManagerForToolRun
|
@@ -2154,7 +2154,7 @@ def clear_trace() -> None:
|
|
2154
2154
|
pass # Ignore if not available
|
2155
2155
|
|
2156
2156
|
|
2157
|
-
def print_trace(max_chars: int = 240, only:
|
2157
|
+
def print_trace(max_chars: int = 240, only: Optional[Tuple[str, ...]] = None, suppress: Tuple[str, ...] = ("chain_end",), show_tree: bool = True, show_summary: bool = True) -> None:
|
2158
2158
|
"""
|
2159
2159
|
Print a compact fixed-width table of the trace with tree-like view and filtering.
|
2160
2160
|
|