Commit 0121a76cdf50

Vincent Demeester <vincent@sbr.pm>
2026-01-14 19:26:08
chore: apply nixfmt and ruff auto-fixes
1 parent 7a47128
Changed files (2)
modules
xmpp-research-bot
modules/xmpp-research-bot/bot.py
@@ -13,7 +13,7 @@ import sys
 import yaml
 from datetime import datetime
 from pathlib import Path
-from typing import Dict, Any, Optional
+from typing import Dict, Any
 
 import slixmpp
 from anthropic import AnthropicVertex
@@ -333,7 +333,7 @@ class ResearchBot(slixmpp.ClientXMPP):
 
         result = response.text
 
-        log.info(f"Gemini response generated successfully")
+        log.info("Gemini response generated successfully")
 
         return result
 
modules/xmpp-research-bot/default.nix
@@ -25,7 +25,7 @@ let
     export VERTEX_REGION="${cfg.vertexRegion}"
     export INBOX_PATH="${cfg.inboxPath}"
     ${lib.optionalString (cfg.commandsPath != null) ''
-    export COMMANDS_PATH="${cfg.commandsPath}"
+      export COMMANDS_PATH="${cfg.commandsPath}"
     ''}
 
     exec ${pythonEnv}/bin/python3 ${./bot.py}