We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e9dfde + 14b04c5 commit 00470b5Copy full SHA for 00470b5
1 file changed
src/ai_agent/agent/tools/utils.py
@@ -1,6 +1,6 @@
1
from __future__ import annotations
2
3
-from typing import List, Optional
+from typing import List, Optional, Tuple
4
import os, json
5
6
from retriever.software_doc import SoftwareDoc
@@ -39,7 +39,7 @@ def get_pipeline() -> RAGImagingPipeline:
39
_PIPE = RAGImagingPipeline()
40
return _PIPE
41
42
-def _clip(s: str) -> str:
+def _clip(s: str) -> Tuple[str, bool]:
43
if not s:
44
return s, False
45
if len(s) <= MAX_CHARS:
0 commit comments