- Delete app/label_tool.py (Streamlit UI retired; Vue SPA is sole UI) - Extract _strip_html and _extract_body into app/utils.py (stdlib-only, reusable) - Update tests/test_label_tool.py import to app.utils - Rename start-api/stop-api/restart-api/open-api → start/stop/restart/open in manage.sh - Remove STREAMLIT variable and all Streamlit-specific case blocks from manage.sh - Update manage.sh usage section to reflect Vue+FastAPI-only commands - Add data/sft_candidates.jsonl and data/sft_approved.jsonl to .gitignore - Add sft.bench_results_dir key to config/label_tool.yaml.example
28 lines
856 B
Text
28 lines
856 B
Text
# config/label_tool.yaml — Multi-account IMAP config for the email label tool
|
|
# Copy to config/label_tool.yaml and fill in your credentials.
|
|
# This file is gitignored.
|
|
|
|
accounts:
|
|
- name: "Gmail"
|
|
host: "imap.gmail.com"
|
|
port: 993
|
|
username: "you@gmail.com"
|
|
password: "your-app-password" # Use an App Password, not your login password
|
|
folder: "INBOX"
|
|
days_back: 90
|
|
|
|
- name: "Outlook"
|
|
host: "outlook.office365.com"
|
|
port: 993
|
|
username: "you@outlook.com"
|
|
password: "your-app-password"
|
|
folder: "INBOX"
|
|
days_back: 90
|
|
|
|
# Optional: limit emails fetched per account per run (0 = unlimited)
|
|
max_per_account: 500
|
|
|
|
# cf-orch SFT candidate import — path to the bench_results/ directory
|
|
# produced by circuitforge-orch's benchmark harness.
|
|
sft:
|
|
bench_results_dir: /path/to/circuitforge-orch/scripts/bench_results
|