Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pytz>=2024.1 # Added for timezone support
aiohttp>=3.9.3
requests>=2.32.3
playwright>=1.50.0
html5lib>=1.1 # Added for HTML parsing

# Search Engine
duckduckgo-search>=7.4.3
Expand Down
4 changes: 1 addition & 3 deletions tests/test_plan_exec_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
from pathlib import Path
import sys

# Add the parent directory to the Python path so we can import the module
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from tools.plan_exec_llm import load_environment, read_plan_status, read_file_content, create_llm_client, query_llm
from tools.plan_exec_llm import TokenUsage
from tools.token_tracker import TokenUsage

class TestPlanExecLLM(unittest.TestCase):
def setUp(self):
Expand Down
Empty file added tools/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion tools/llm_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from typing import Optional, Union, List
import mimetypes
import time
from token_tracker import TokenUsage, APIResponse, get_token_tracker
from .token_tracker import TokenUsage, APIResponse, get_token_tracker

def load_environment():
"""Load environment variables from .env files in order of precedence"""
Expand Down
2 changes: 1 addition & 1 deletion tools/plan_exec_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from dotenv import load_dotenv
import sys
import time
from token_tracker import TokenUsage, APIResponse, get_token_tracker
from .token_tracker import TokenUsage, APIResponse, get_token_tracker

STATUS_FILE = '.cursorrules'

Expand Down
Loading