feat(projekt-matching): Cfg dataclass, IMAP mailbox with keyword/trash handling, SMTP send
This commit is contained in:
20
projekt-matching/projektmatch/config.py
Normal file
20
projekt-matching/projektmatch/config.py
Normal file
@@ -0,0 +1,20 @@
|
||||
"""Runtime configuration passed from Langflow component inputs."""
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
@dataclass
|
||||
class Cfg:
|
||||
imap_user: str = "chancen@destengs.com"
|
||||
imap_password: str = ""
|
||||
espo_base: str = ""
|
||||
espo_api_key: str = ""
|
||||
notify_to: str = ""
|
||||
alert_to: str = ""
|
||||
threshold: int = 85
|
||||
vllm_base: str = ""
|
||||
vllm_model: str = ""
|
||||
flow2_id: str = ""
|
||||
langflow_api_key: str = ""
|
||||
langflow_base: str = "http://127.0.0.1:7860"
|
||||
data_dir: str = "/app/langflow"
|
||||
crm_web_base: str = "https://crm.creature-go.com"
|
||||
Reference in New Issue
Block a user