introduce separate SIMPLE_MODEL config for lightweight tasks

Add a distinct simple_model field alongside ai_model so operators can
route cheap, simple tasks (e.g. email-label translation) to a low-cost
model while keeping the strong model for parent conversations. The two
models can be from different providers (e.g. Gemini + Haiku). If
SIMPLE_MODEL is unset, falls back to AI_MODEL with a warning.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-23 22:18:28 +01:00
co-authored by Claude Sonnet 4.6
parent 14fde88c89
commit 602b8eddc3
4 changed files with 36 additions and 7 deletions
+1
View File
@@ -61,6 +61,7 @@ def build_components(config: Config):
indoor_email=config.admin_email_indoor,
outdoor_email=config.admin_email_outdoor,
cc_emails=[e.strip() for e in config.admin_email_cc.split(",") if e.strip()],
model=config.simple_model,
)
agent = EmailAgent(