diff --git a/modules/ai/omp.nix b/modules/ai/omp.nix index b8ef4c0..5e67e80 100644 --- a/modules/ai/omp.nix +++ b/modules/ai/omp.nix @@ -91,5 +91,39 @@ in Never read or write anything in the vault outside `vault://_/Agents/` — including vault-wide searches — without explicit user approval in the conversation. ''; + + # Upstream catalog gap (can1357/oh-my-pi#9910): zai/glm-5.3-flash is served by + # api.z.ai/api/anthropic but missing from the bundled models.json (static provider, + # no runtime discovery). Verified by headless completion 2026-08-27; remove when + # `omp models find glm-5.3` lists it under zai after an input update. + home.file.".omp/agent/models.yml".text = '' + providers: + zai: + auth: oauth + api: anthropic-messages + baseUrl: https://api.z.ai/api/anthropic + models: + - id: glm-5.3-flash + name: GLM-5.3 Flash + reasoning: true + input: + - text + - image + thinking: + mode: effort + efforts: + - low + - high + - max + requiresEffort: true + supportsTools: true + contextWindow: 1000000 + maxTokens: 131072 + cost: + input: 0.075 + output: 0.25 + cacheRead: 0.015 + cacheWrite: 0 + ''; }; }