From 198713d3cf09911e72fe3aab701393a645546852 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Tue, 13 Jan 2026 09:29:03 -0600 Subject: [PATCH] Add Azure GPT-5.2 low/medium/high reasoning aliases to litellm --- hosts/h001/mods/litellm.nix | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/hosts/h001/mods/litellm.nix b/hosts/h001/mods/litellm.nix index 457206e0..9bce5cb7 100644 --- a/hosts/h001/mods/litellm.nix +++ b/hosts/h001/mods/litellm.nix @@ -122,6 +122,45 @@ in # "temperature": 0.7 # }' | jq ) + # Azure reasoning aliases + ++ [ + { + model_name = "azure-gpt-5.2-low"; + litellm_params = { + model = "azure/gpt-5.2-2025-12-11"; + api_base = "http://100.64.0.8:9010/azure"; + api_version = "2025-04-01-preview"; + api_key = "na"; + extra_body = { + reasoning_effort = "low"; + }; + }; + } + { + model_name = "azure-gpt-5.2-medium"; + litellm_params = { + model = "azure/gpt-5.2-2025-12-11"; + api_base = "http://100.64.0.8:9010/azure"; + api_version = "2025-04-01-preview"; + api_key = "na"; + extra_body = { + reasoning_effort = "medium"; + }; + }; + } + { + model_name = "azure-gpt-5.2-high"; + litellm_params = { + model = "azure/gpt-5.2-2025-12-11"; + api_base = "http://100.64.0.8:9010/azure"; + api_version = "2025-04-01-preview"; + api_key = "na"; + extra_body = { + reasoning_effort = "high"; + }; + }; + } + ] # 宙 Proxy ++ (builtins.map (m: {