From 8eafc911fec6d67060c7cdc2f7a11776389173e7 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Thu, 11 Apr 2024 12:55:08 +0100 Subject: [PATCH] helix: add aichat --- roles/home/helix.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/roles/home/helix.nix b/roles/home/helix.nix index bd64002..1918174 100644 --- a/roles/home/helix.nix +++ b/roles/home/helix.nix @@ -25,7 +25,9 @@ let api_base: https://ollama.giugl.io api_key: null models: - - name: pino-fast + - name: pino-coder-fast + max_input_tokens: null + - name: pino-coder max_input_tokens: null ''; aichatRoles = '' @@ -85,11 +87,12 @@ in center = ["file-name"] [keys.select.l] - c = ":pipe ${pkgs.unstablePkgs.aichat}/bin/aichat -c -r comment" + c = ":pipe ${pkgs.unstablePkgs.aichat}/bin/aichat -m pino-coder-fast -c -r comment" + C = ":pipe ${pkgs.unstablePkgs.aichat}/bin/aichat -m pino-coder -c -r comment" ''; - "${aichatConfigDir}/roles.yaml".text = aichatRoles; - "${aichatConfigDir}/config.yaml".text = aichatConfig; + ".config/aichat/roles.yaml".text = aichatRoles; + ".config/aichat/config.yaml".text = aichatConfig; }; }; }