Skip to content

Conversation

@majiayu000
Copy link

Summary

Fixes #87 - ModuleNotFoundError: No module named 'prompts'

Root cause: The prompts and config directories were missing __init__.py files, so Python couldn't recognize them as packages and setuptools.find_packages() couldn't discover them during installation.

Changes:

  • Add prompts/__init__.py
  • Add config/__init__.py

Test plan

# Before fix: ModuleNotFoundError
# After fix:
>>> from prompts.code_prompts import PAPER_INPUT_ANALYZER_PROMPT
>>> from config.mcp_tool_definitions import get_mcp_tools
# Both imports succeed
The prompts and config directories were missing __init__.py files,
causing Python to not recognize them as packages. This resulted in
ModuleNotFoundError when trying to import from these directories.

Fixes HKUDS#87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant