feat: update ai-mailer

This commit is contained in:
2025-11-13 11:53:14 +01:00
parent 3775e0dd7b
commit 038fb7ae76
2 changed files with 9 additions and 5 deletions

View File

@@ -27,9 +27,9 @@
ai: ai:
openrouter_api_key: "file://${config.sops.secrets.ai-mailer-openrouter-key.path}" openrouter_api_key: "file://${config.sops.secrets.ai-mailer-openrouter-key.path}"
model: "deepseek/deepseek-r1-distill-llama-70b" model: "openai/gpt-5-mini"
temperature: 0.3 temperature: 0.3
max_tokens: 100000 max_tokens: 200000
context: context:
urls: urls:
@@ -47,6 +47,10 @@
polling: polling:
interval: "300s" interval: "300s"
processing:
max_tokens: 30000
skip_junk_emails: false
logging: logging:
level: "info" level: "info"
file_path: "/var/log/ai-mailer/ai-mailer.log" file_path: "/var/log/ai-mailer/ai-mailer.log"

View File

@@ -6,11 +6,11 @@ buildGoModule rec {
src = fetchgit { src = fetchgit {
url = "https://git.cloonar.com/Paraclub/ai-mailer.git"; url = "https://git.cloonar.com/Paraclub/ai-mailer.git";
rev = "6de059dca7cc9c053b56f26ff14edb77083fad73"; rev = "e88ac7caff72ffee206dc931f9e16b460d205f7e";
sha256 = "sha256-EPW0yLu1XHejEsU25ACO5FjxxCneVMlLmy1ZEHYqFtQ="; sha256 = "sha256-eafDeXvslj3P3TOcng1zObP/Vyva7GY/eSstmKynnBI=";
}; };
vendorHash = "sha256-h4RaB891GXAkgObZHYil6BOvbYp6yJSRxRj40Fhchmw="; vendorHash = "sha256-cEnb629V1dylMQfmB/8qv9gl1+T72rlkEd4wcsterXE=";
subPackages = [ "cmd/paraclub-ai-mailer" ]; subPackages = [ "cmd/paraclub-ai-mailer" ];