Skip to content

Commit 00470b5

Browse files
authored
Merge pull request #13 from Imaging-Plaza/copilot/sub-pr-12
[WIP] Update deep wiki MCP implementation based on feedback
2 parents 0e9dfde + 14b04c5 commit 00470b5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ai_agent/agent/tools/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
from typing import List, Optional
3+
from typing import List, Optional, Tuple
44
import os, json
55

66
from retriever.software_doc import SoftwareDoc
@@ -39,7 +39,7 @@ def get_pipeline() -> RAGImagingPipeline:
3939
_PIPE = RAGImagingPipeline()
4040
return _PIPE
4141

42-
def _clip(s: str) -> str:
42+
def _clip(s: str) -> Tuple[str, bool]:
4343
if not s:
4444
return s, False
4545
if len(s) <= MAX_CHARS:

0 commit comments

Comments
 (0)