File size: 828 Bytes
c2446d5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
"""에이전트 도구 묶음.

`from tools import web_search, visit_webpage, ...` 한 번으로 모두 import 가능.
세부 구현은 각 모듈 파일에 분리되어 있다.
"""
from .search import web_search
from .webpage import visit_webpage
from .wikipedia import wikipedia_search
from .youtube import youtube_info
from .exec_code import exec_python_code
from .attachments import (
    get_attached_file,
    prefetch_question_index,
    set_question_index,
    set_current_task,
)

__all__ = [
    # @tool 함수 (CodeAgent에 직접 등록)
    "web_search",
    "visit_webpage",
    "wikipedia_search",
    "youtube_info",
    "exec_python_code",
    "get_attached_file",
    # 일반 헬퍼 (BasicAgent의 init/__call__에서 사용)
    "prefetch_question_index",
    "set_question_index",
    "set_current_task",
]