feat: update ai-mailer
This commit is contained in:
parent
3775e0dd7b
commit
038fb7ae76
2 changed files with 9 additions and 5 deletions
|
|
@ -27,9 +27,9 @@
|
|||
|
||||
ai:
|
||||
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
|
||||
max_tokens: 100000
|
||||
max_tokens: 200000
|
||||
|
||||
context:
|
||||
urls:
|
||||
|
|
@ -47,6 +47,10 @@
|
|||
polling:
|
||||
interval: "300s"
|
||||
|
||||
processing:
|
||||
max_tokens: 30000
|
||||
skip_junk_emails: false
|
||||
|
||||
logging:
|
||||
level: "info"
|
||||
file_path: "/var/log/ai-mailer/ai-mailer.log"
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@ buildGoModule rec {
|
|||
|
||||
src = fetchgit {
|
||||
url = "https://git.cloonar.com/Paraclub/ai-mailer.git";
|
||||
rev = "6de059dca7cc9c053b56f26ff14edb77083fad73";
|
||||
sha256 = "sha256-EPW0yLu1XHejEsU25ACO5FjxxCneVMlLmy1ZEHYqFtQ=";
|
||||
rev = "e88ac7caff72ffee206dc931f9e16b460d205f7e";
|
||||
sha256 = "sha256-eafDeXvslj3P3TOcng1zObP/Vyva7GY/eSstmKynnBI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-h4RaB891GXAkgObZHYil6BOvbYp6yJSRxRj40Fhchmw=";
|
||||
vendorHash = "sha256-cEnb629V1dylMQfmB/8qv9gl1+T72rlkEd4wcsterXE=";
|
||||
|
||||
subPackages = [ "cmd/paraclub-ai-mailer" ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue