From 98bcdea153a60161ef537990c20a45c471f1f974 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Thu, 8 Jan 2026 20:16:52 -0600 Subject: [PATCH 1/2] add alpha airproxy --- hosts/h001/mods/litellm.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/hosts/h001/mods/litellm.nix b/hosts/h001/mods/litellm.nix index 4477f37b..6e941508 100644 --- a/hosts/h001/mods/litellm.nix +++ b/hosts/h001/mods/litellm.nix @@ -153,9 +153,24 @@ in "text-embedding-large-exp-03-07" "text-embedding-005" ] + ) + ++ (builtins.map + (m: { + model_name = "air_dev-${m}"; + litellm_params = { + model = "litellm_proxy/${m}"; + api_base = "http://100.64.0.8:9010/air_prd"; + api_key = "na"; + drop_params = true; + }; + }) + # curl -L t.net.joshuabell.xyz:9010/air_alp/models | jq '.data.[].id' + [ + "gemini-3-pro-preview" + "claude-sonnet-4.5" + ] ); }; }; }; } - From ef64efbb6e7d735d859830065a59374aa0496b70 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Fri, 9 Jan 2026 16:58:29 -0600 Subject: [PATCH 2/2] add 5.2 azure --- hosts/h001/mods/litellm.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hosts/h001/mods/litellm.nix b/hosts/h001/mods/litellm.nix index 6e941508..457206e0 100644 --- a/hosts/h001/mods/litellm.nix +++ b/hosts/h001/mods/litellm.nix @@ -102,7 +102,7 @@ in }) # curl -L "http://100.64.0.8:9010/azure/openai/models?api-version=2025-04-01-preview" | jq '.data.[].id' [ - # "gpt-5.2-2025-12-11" + "gpt-5.2-2025-12-11" "gpt-5.1-2025-11-13" "gpt-4o-2024-05-13" "gpt-4.1-2025-04-14" @@ -111,6 +111,16 @@ in "gpt-5-mini-2025-08-07" "gpt-5-2025-08-07" ] + #curl "http://100.64.0.8:9010/azure/openai/deployments/gpt-5.2-2025-12-11/chat/completions?api-version=2025-04-01-preview" \ + # -H "Content-Type: application/json" \ + # -H "api-key: na" \ + # -d '{ + # "messages": [ + # {"role": "system", "content": "You are a helpful assistant."}, + # {"role": "user", "content": "write a haiku?"} + # ], + # "temperature": 0.7 + # }' | jq ) # 宙 Proxy ++ (builtins.map