# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Python tooling caches
.mypy_cache/
.ruff_cache/

# Environments
.venv/
venv/
env/
ENV/
env.bak/
venv.bak/

# Node.js
node_modules/

# Logs
*.log
backend/logs/

# Local / secret env files（保留示例文件可被提交）
.env
.env.*
!.env.example
!**/.env.example

# IDE
.vscode/
.idea/
*.swp
*.swo
*~
*.iml

# OS
.DS_Store
Thumbs.db

# 本地数据库文件
*.db
*.sqlite3

# 项目内约定忽略的目录与文件
/langchain-base/
/chroma_db/
/.cursor/
/docs/
/uploads/
/tests/
/server/
/zhishitupu/

# 本地导出的 IDE / 对话历史等（按需）
history.txt
.cursor/
