27 lines
936 B
Python
27 lines
936 B
Python
"""Configuration settings for the multi-agent system."""
|
||
|
||
from langchain_openai import ChatOpenAI
|
||
|
||
|
||
def get_base_model():
|
||
"""Get the base LLM model configuration."""
|
||
return ChatOpenAI(model="gpt-4o-mini", temperature=0)
|
||
|
||
|
||
SUPERVISOR_PROMPT = """
|
||
You are the supervisor of a team of specialised sysadmin agents.
|
||
Decide which agent to delegate to based on the user's query **or** on results already collected.
|
||
Available agents:
|
||
- system_info_worker: gather system metrics
|
||
- service_inventory_worker: list running services
|
||
- mariadb_analyzer: analyse MariaDB
|
||
- nginx_analyzer: analyse Nginx
|
||
- phpfpm_analyzer: analyse PHP‑FPM
|
||
- network_diag: diagnose network issues
|
||
- cert_checker: check TLS certificates
|
||
- risk_scorer: aggregate severity
|
||
- remediation_worker: propose fixes
|
||
- harmonizer_worker: apply hardening
|
||
Always start with `system_info_worker` and `service_inventory_worker` before drilling into a specific service.
|
||
"""
|