File size: 491 Bytes
0159aaf
 
915df4b
 
 
0159aaf
915df4b
4fbfc2b
0159aaf
 
915df4b
 
 
0159aaf
 
 
 
892c58b
 
0159aaf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import queue

import pytest

from deepengineer.deepsearch.main_agent import main_search


@pytest.mark.expensive
def test_main_agent():
    log_queue = queue.Queue()
    while not log_queue.empty():
        print("Emptying log queue")
        log_queue.get_nowait()

    main_search(
        task="""
    Search a paper called "High Energy Physics Opportunities Using Reactor Antineutrinos" on arXiv, download it and extract the table of contents
    """,
        log_queue=log_queue,
    )