update litellm with new models

This commit is contained in:
Joshua Bell 2026-02-26 13:05:08 -06:00
parent f36d11d4d4
commit 26fbf9388d
2 changed files with 44 additions and 33 deletions

30
hosts/h001/flake.lock generated
View file

@ -188,11 +188,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1768949235, "lastModified": 1772020340,
"narHash": "sha256-TtjKgXyg1lMfh374w5uxutd6Vx2P/hU81aEhTxrO2cg=", "narHash": "sha256-aqBl3GNpCadMoJ/hVkWTijM1Aeilc278MjM+LA3jK6g=",
"owner": "rycee", "owner": "rycee",
"repo": "home-manager", "repo": "home-manager",
"rev": "75ed713570ca17427119e7e204ab3590cc3bf2a5", "rev": "36e38ca0d9afe4c55405fdf22179a5212243eecc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -243,11 +243,11 @@
}, },
"litellm-nixpkgs": { "litellm-nixpkgs": {
"locked": { "locked": {
"lastModified": 1770197578, "lastModified": 1771848320,
"narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=", "narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2", "rev": "2fc6539b481e1d2569f25f8799236694180c0993",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -311,11 +311,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1767799921, "lastModified": 1771903837,
"narHash": "sha256-r4GVX+FToWVE2My8VVZH4V0pTIpnu2ZE8/Z4uxGEMBE=", "narHash": "sha256-sdaqdnsQCv3iifzxwB22tUwN/fSHoN7j2myFW5EIkGk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d351d0653aeb7877273920cd3e823994e7579b0b", "rev": "e764fc9a405871f1f6ca3d1394fb422e0a0c3951",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -343,11 +343,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1769318308, "lastModified": 1771903837,
"narHash": "sha256-Mjx6p96Pkefks3+aA+72lu1xVehb6mv2yTUUqmSet6Q=", "narHash": "sha256-sdaqdnsQCv3iifzxwB22tUwN/fSHoN7j2myFW5EIkGk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1cd347bf3355fce6c64ab37d3967b4a2cb4b878c", "rev": "e764fc9a405871f1f6ca3d1394fb422e0a0c3951",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1271,11 +1271,11 @@
}, },
"open-webui-nixpkgs": { "open-webui-nixpkgs": {
"locked": { "locked": {
"lastModified": 1769170682, "lastModified": 1771848320,
"narHash": "sha256-oMmN1lVQU0F0W2k6OI3bgdzp2YOHWYUAw79qzDSjenU=", "narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c5296fdd05cfa2c187990dd909864da9658df755", "rev": "2fc6539b481e1d2569f25f8799236694180c0993",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -80,6 +80,7 @@ in
}) })
# List from https://github.com/settings/copilot/features enabled models # List from https://github.com/settings/copilot/features enabled models
[ [
"claude-opus-4.6"
"claude-opus-4.5" "claude-opus-4.5"
"claude-sonnet-3.5" "claude-sonnet-3.5"
"claude-sonnet-4" "claude-sonnet-4"
@ -88,6 +89,12 @@ in
"gemini-2.5-pro" "gemini-2.5-pro"
"openai-gpt-5" "openai-gpt-5"
"openai-gpt-5-mini" "openai-gpt-5-mini"
"openai-gpt-5.1-mini"
"openai-gpt-5.1"
"openai-gpt-5.1-codex"
"openai-gpt-5.1-codex-max"
"openai-gpt-5.2"
"openai-gpt-5.2-codex"
"grok-code-fast-1" "grok-code-fast-1"
] ]
) )
@ -196,9 +203,12 @@ in
"gemini-2.0-flash-lite" "gemini-2.0-flash-lite"
"gemini-2.5-flash-lite" "gemini-2.5-flash-lite"
"gemini-2.5-flash-image" "gemini-2.5-flash-image"
"claude-haiku-4.5"
"claude-opus-4.6"
"claude-opus-4.5"
"claude-opus-4.1" "claude-opus-4.1"
"claude-opus-4" "claude-opus-4"
"claude-opus-4.5" "claude-sonnet-4.6"
"claude-sonnet-4" "claude-sonnet-4"
"claude-sonnet-4.5" "claude-sonnet-4.5"
"claude-3.7-sonnet" "claude-3.7-sonnet"
@ -209,23 +219,24 @@ in
"text-embedding-005" "text-embedding-005"
] ]
) )
++ (builtins.map # ++ (builtins.map
(m: { # (m: {
model_name = "air_dev-${sanitizeModelName m}"; # model_name = "air_dev-${sanitizeModelName m}";
litellm_params = { # litellm_params = {
model = "litellm_proxy/${m}"; # model = "litellm_proxy/${m}";
api_base = "http://100.64.0.8:9010/air_alp"; # api_base = "http://100.64.0.8:9010/air_alp";
api_key = "na"; # api_key = "na";
drop_params = true; # drop_params = true;
}; # };
}) # })
# curl -L t.net.joshuabell.xyz:9010/air_alp/models | jq '.data.[].id' # # curl -L t.net.joshuabell.xyz:9010/air_alp/models | jq '.data.[].id'
[ # [
"claude-opus-4.5" # "claude-opus-4.5"
"claude-sonnet-4.5" # "claude-sonnet-4.5"
"gemini-3-pro-preview" # "gemini-3-pro-preview"
] # ]
); # )
;
}; };
}; };
}; };