fix(sdk-minimal): make the SDK model argument authoritative

Stop narrowing the standalone DeepSeek adapter to a DSH_MODEL-derived one-entry catalog. The direct adapter already accepts model ids outside its advisory catalog, so retain only the DSH_CONTEXT_WINDOW fallback and let the JSON-RPC initialize model be the single runtime selection.

Remove model mirroring from minimal.py and the packaged smoke. The keyless process now initializes deepseek-v4-pro without DSH_MODEL, while the packaged scenario continues to use its unlisted smoke-model; together they prove both cataloged and arbitrary SDK model arguments reach the adapter directly.

Update the bundle, tutorial, SDK/example references, and owning Agent Notes to keep DSH_MODEL only as minimal.py's optional default input, never as a second value callers must synchronize.
This commit is contained in:
Tianyi Cui
2026-08-24 17:28:29 +08:00
parent 7a11f5fde3
commit e2920f0109
23 changed files with 30 additions and 34 deletions
+2 -2
View File
@@ -2,5 +2,5 @@
# side as of the last confirmed-consistent state. Both languages carry equal authority;
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write docs/user/guide/python-sdk.md
python-sdk.md: 2cf6acbd6718be560ec4365b356c031b17fb070e
python-sdk.zh.md: 2c53886ba3409e6fc21ec57fc79b81bf6907349c
python-sdk.md: 24f5594a20eab6870d9725e0f1acfce5dff62f74
python-sdk.zh.md: 47b420ab20df04d28e5498807dc73a425c7a9666
-1
View File
@@ -61,7 +61,6 @@ with DeepSeekHarness(
cwd=str(workspace),
dsh_home=str(dsh_home),
profile="sdk-minimal",
env={"DSH_MODEL": "deepseek-v4-flash"},
) as harness:
result = harness.run(
"Inspect the repository and fix the failing tests.",
-1
View File
@@ -61,7 +61,6 @@ with DeepSeekHarness(
cwd=str(workspace),
dsh_home=str(dsh_home),
profile="sdk-minimal",
env={"DSH_MODEL": "deepseek-v4-flash"},
) as harness:
result = harness.run(
"Inspect the repository and fix the failing tests.",