- _load_cforch_config() falls back to CF_ORCH_URL / CF_LICENSE_KEY / OLLAMA_HOST / OLLAMA_MODEL env vars when label_tool.yaml cforch: key is absent or empty (yaml wins when both present) - CF_LICENSE_KEY forwarded to benchmark subprocess env so cf-orch agent can authenticate without it appearing in command args - GET /api/cforch/config endpoint — returns resolved connection state; redacts license key (returns license_key_set bool only) - SettingsView: connection status pill (cf-orch / Ollama / unconfigured) loaded from /api/cforch/config on mount; shows env vs yaml source - .env.example documenting all relevant vars - config/label_tool.yaml.example: full cforch: section with all keys - environment.yml: add circuitforge-core>=0.9.0 dependency - .gitignore: add .env - 4 new tests (17 total in test_cforch.py); 136 passing overall Closes #10
29 lines
549 B
YAML
29 lines
549 B
YAML
name: job-seeker-classifiers
|
|
channels:
|
|
- conda-forge
|
|
- defaults
|
|
dependencies:
|
|
- python=3.11
|
|
- pip
|
|
- pip:
|
|
# UI
|
|
- streamlit>=1.32
|
|
- pyyaml>=6.0
|
|
|
|
# Classifier backends (heavy — install selectively)
|
|
- transformers>=4.40
|
|
- torch>=2.2
|
|
- accelerate>=0.27
|
|
- scikit-learn>=1.4
|
|
|
|
# Optional: GLiClass adapter
|
|
# - gliclass
|
|
|
|
# Optional: BGE reranker adapter
|
|
# - FlagEmbedding
|
|
|
|
# CircuitForge shared core (LLM router, tier system, config)
|
|
- circuitforge-core>=0.9.0
|
|
|
|
# Dev
|
|
- pytest>=8.0
|