omp: add patch that fixes deepseek

This commit is contained in:
2026-04-25 15:38:39 -04:00
parent 8bd148dc96
commit 8ab4924948
2 changed files with 132 additions and 1 deletions

View File

@@ -38,7 +38,12 @@ in
{
home.packages = [
(inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.omp.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [ ];
patches = (old.patches or [ ]) ++ [
# Retry without strict tools when DeepSeek (via OpenRouter) rejects strict-mode `anyOf`
# nullable unions with `Invalid tool parameters schema : field \`anyOf\`: missing field \`type\``.
# Upstream PR: pending; applies cleanly against v14.2.1.
../../patches/omp/0001-openai-completions-retry-without-strict-on-deepseek-openrouter.patch
];
}))
];