From d51025fc6b87ce196a338d3f446ac393bb8451b4 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Wed, 16 Jul 2025 23:16:11 +0800 Subject: [PATCH] feat: using claude-code with kimi k2 --- home/base/tui/shell.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/base/tui/shell.nix b/home/base/tui/shell.nix index cb2fce4d..b738d874 100644 --- a/home/base/tui/shell.nix +++ b/home/base/tui/shell.nix @@ -14,6 +14,10 @@ in { extraConfig = '' source /etc/agenix/alias-for-work.nushell + # using claude-code with kimi k2 + $env.ANTHROPIC_BASE_URL = "https://api.moonshot.cn/anthropic/" + $env.ANTHROPIC_API_KEY = $env.MOONSHOT_API_KEY + # Directories in this constant are searched by the # `use` and `source` commands. const NU_LIB_DIRS = $NU_LIB_DIRS ++ ['${nu_scripts}/share/nu_scripts']