1.6 KiB
1.6 KiB
kind, description
| kind | description |
|---|---|
| upgrade-guide | Custom Python PTC compositions must replace the removed runtime package with the Node provider and use TypeScript programs. |
Python PTC runtime removal
English | 中文
Change
@deepseek-ai/dsh-experimental-ptc-runtime-python is no longer published or included in this repository. Custom compositions that select it must migrate to @deepseek-ai/dsh-ptc-runtime-node. Shipped profiles already select the Node provider.
Migration
- In the
cordis.ymlor profile patch that selects the Python provider, replace that row'snamewith@deepseek-ai/dsh-ptc-runtime-node. Remove its Python runtimeconfig; configure Node limits separately when needed. Node also requiresfsandsubprocessalongsidesandboxandsandboxPolicy. Reuse the existing providers; for a local composition missing them, mount@deepseek-ai/dsh-fs-localand@deepseek-ai/dsh-subprocess-localin the same execution world. - Rewrite Python
run_codeprograms as TypeScript. For fresh execution per call, setconfig.executionMode: per-call; see the Node runtime configuration. - Re-enable
workflow-ptc,tool-workflow, and any previously enabledtool-ralphrows that were disabled solely for the Python provider, if those workflows are still wanted. - Run the affected profile with
--dump-configand confirm its PTC runtime row selects@deepseek-ai/dsh-ptc-runtime-nodewith no Python provider row remaining. Run a PTC task and confirm that its TypeScript program completes.