diff --git a/flake.lock b/flake.lock index eee1c7e..25f2f70 100644 --- a/flake.lock +++ b/flake.lock @@ -2204,11 +2204,11 @@ ] }, "locked": { - "lastModified": 1793908524, - "narHash": "sha256-ggakSxmzj+uRR7HLslssLrVqw/WkI1jCav3JN0lQqiM=", + "lastModified": 1793984825, + "narHash": "sha256-cmhGM7E19/QM4BLj4SXfML32EUe8DOrzo6wDGjV5QLI=", "ref": "refs/heads/main", - "rev": "d6aea9041a694eff6bc63ef0f989ef41630b676c", - "revCount": 218, + "rev": "8daeca5189778c9d08f83519c07e08c6de95c605", + "revCount": 492, "type": "git", "url": "ssh://git@github.com/asosnovsky/nbot.git" }, diff --git a/hosts/hl-fwdesk/services/nbot.nix b/hosts/hl-fwdesk/services/nbot.nix index a50ac96..762847e 100644 --- a/hosts/hl-fwdesk/services/nbot.nix +++ b/hosts/hl-fwdesk/services/nbot.nix @@ -40,32 +40,32 @@ let users = [ "U0CBGSS4U6A" ]; } { - id = "claude"; - name = "Claude (API key)"; + id = "claude-oauth"; + name = "Claude OAuth"; personal = true; upstream = "https://api.anthropic.com"; - engine = "anthropic"; - auth = "x-api-key"; - models = [ "claude-opus-5-5" "claude-sonnet-5-5" "claude-haiku-5-5" ]; - } - { - id = "codex"; - name = "Codex (OpenAI API key)"; - personal = true; - upstream = "https://api.openai.com"; - engine = "openai"; - auth = "bearer"; - models = [ "gpt-6.1-codex" "gpt-6.1" ]; - } - { - id = "xai"; - name = "Grok"; - personal = true; - upstream = "https://api.x.ai"; - engine = "openai"; - auth = "bearer"; - models = [ "grok-4.7" "grok-4" ]; + engine = "claude-code"; + login = "claude"; + models = [ "default" "opus" "sonnet" "haiku" "fable" ]; } + # { + # id = "codex"; + # name = "Codex (OpenAI API key)"; + # personal = true; + # upstream = "https://api.openai.com"; + # engine = "openai"; + # auth = "bearer"; + # models = [ "gpt-6.1-codex" "gpt-6.1" ]; + # } + # { + # id = "xai"; + # name = "Grok"; + # personal = true; + # upstream = "https://api.x.ai"; + # engine = "openai"; + # auth = "bearer"; + # models = ["grok-4"]; + # } { id = "custom_commandcode"; name = "Command Code"; diff --git a/secrets/nbot-goose.age b/secrets/nbot-goose.age index 626b722..c37f15b 100644 Binary files a/secrets/nbot-goose.age and b/secrets/nbot-goose.age differ