{"componentChunkName":"component---src-templates-acg-portal-new-template-tsx","path":"/mmwansidu","result":{"data":{"markdownRemark":{"html":"<p>环境用于管理 Agent 的运行配置，统一预置依赖包。创建会话时选择相应环境，即可使用该环境的配置。</p>\n<p>进入 <strong>开发专区 > 环境</strong>，可按名称或 ID 搜索环境，并查看运行方式、关联会话和创建时间。</p>\n<p><img src=\"https://bce.bdstatic.com/doc/bce-doc/Dumate/image_fd35e84.png\" alt=\"image.png\"></p>\n<h2 id=\"创建环境\"><a href=\"#%E5%88%9B%E5%BB%BA%E7%8E%AF%E5%A2%83\" aria-label=\"创建环境 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>创建环境</h2>\n<p>点击页面右上方的<strong>创建环境</strong>，填写环境名称和描述。选择运行方式，按需配置预装包。检查配置后点击<strong>创建</strong>。</p>\n<p><img src=\"https://bce.bdstatic.com/doc/bce-doc/Dumate/image_46512a1.png\" alt=\"image.png\"></p>\n<table>\n<thead>\n<tr>\n<th>配置项</th>\n<th>是否必填</th>\n<th>填写规则</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>环境名称</td>\n<td>必填</td>\n<td>不超过 30 字</td>\n</tr>\n<tr>\n<td>环境描述</td>\n<td>选填</td>\n<td>不超过 300 字，用于说明环境用途</td>\n</tr>\n<tr>\n<td>运行方式</td>\n<td>必填</td>\n<td>当前页面提供<strong>百度搭子托管</strong>，由百度搭子管理运行环境、会话与队列</td>\n</tr>\n<tr>\n<td>预装包</td>\n<td>选填</td>\n<td>支持选择 pip 或 npm，并填写需要预装的包名，完成后提交环境配置</td>\n</tr>\n</tbody>\n</table>\n<blockquote>\n<p><strong>建议</strong>：仅添加业务所需的依赖包，并在实际会话中验证依赖是否满足任务要求。</p>\n</blockquote>\n<br>\n<h2 id=\"查看环境详情\"><a href=\"#%E6%9F%A5%E7%9C%8B%E7%8E%AF%E5%A2%83%E8%AF%A6%E6%83%85\" aria-label=\"查看环境详情 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>查看环境详情</h2>\n<p>点击目标环境进入详情，可查看 ID、创建时间、更新时间，以及<strong>基础配置</strong>和<strong>关联会话</strong>页签。</p>\n<p><img src=\"https://bce.bdstatic.com/doc/bce-doc/Dumate/image_25bca99.png\" alt=\"image.png\"></p>\n<ul>\n<li><strong>基础配置</strong>：查看预装包、技术信息和运行方式。</li>\n<li><strong>关联会话</strong>：查看使用该环境的会话。</li>\n</ul>\n<p>环境详情提供<strong>编辑</strong>和<strong>删除</strong>入口。列表中的关联会话数量也可点击查看。</p>\n<blockquote>\n<p><strong>说明</strong>：存在关联会话时，环境的<strong>删除</strong>入口不可用。删除环境前，应先检查关联情况；不要为删除环境而直接清理仍需保留的会话。</p>\n</blockquote>","fields":{"slug":"mmwansidu","title":"环境管理","date":"2026-11-10","extractedHeadings":[]},"headings":[{"value":"创建环境","depth":2},{"value":"查看环境详情","depth":2}]}},"pageContext":{"isCreatedByStatefulCreatePages":false,"slug":"mmwansidu","prev":{"id":"Bmwamvfbq","name":"会话管理","path":"Bmwamvfbq","filePath":"企业版使用指南/管理平台/开发专区/会话管理.md","seo":null,"parentIds":["4mqamdvq3","6mqumc4r9","Pmwam1g1x"],"parents":[{"id":"4mqamdvq3","documentId":"6ec3b03c-ae0d-4eba-b913-34b34d668224","name":"企业版使用指南","repoName":"Dumate","filePath":"企业版使用指南","disabled":false,"path":"4mqamdvq3","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null},{"id":"6mqumc4r9","documentId":"38104e15-0999-449d-b628-b65cec1f6234","name":"管理平台","repoName":"Dumate","filePath":"企业版使用指南/管理平台","disabled":false,"path":"6mqumc4r9","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null},{"id":"Pmwam1g1x","documentId":"c5a8ae20-4e00-4aae-bd7f-4278ff5b17e5","name":"开发专区","repoName":"Dumate","filePath":"企业版使用指南/管理平台/开发专区","disabled":false,"path":"Pmwam1g1x","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null}]},"next":{"id":"nmwao5pwp","name":"凭证库管理","path":"nmwao5pwp","filePath":"企业版使用指南/管理平台/开发专区/凭证库管理.md","seo":null,"parentIds":["4mqamdvq3","6mqumc4r9","Pmwam1g1x"],"parents":[{"id":"4mqamdvq3","documentId":"6ec3b03c-ae0d-4eba-b913-34b34d668224","name":"企业版使用指南","repoName":"Dumate","filePath":"企业版使用指南","disabled":false,"path":"4mqamdvq3","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null},{"id":"6mqumc4r9","documentId":"38104e15-0999-449d-b628-b65cec1f6234","name":"管理平台","repoName":"Dumate","filePath":"企业版使用指南/管理平台","disabled":false,"path":"6mqumc4r9","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null},{"id":"Pmwam1g1x","documentId":"c5a8ae20-4e00-4aae-bd7f-4278ff5b17e5","name":"开发专区","repoName":"Dumate","filePath":"企业版使用指南/管理平台/开发专区","disabled":false,"path":"Pmwam1g1x","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null}]},"parents":[{"id":"4mqamdvq3","documentId":"6ec3b03c-ae0d-4eba-b913-34b34d668224","name":"企业版使用指南","repoName":"Dumate","filePath":"企业版使用指南","disabled":false,"path":"4mqamdvq3","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null},{"id":"6mqumc4r9","documentId":"38104e15-0999-449d-b628-b65cec1f6234","name":"管理平台","repoName":"Dumate","filePath":"企业版使用指南/管理平台","disabled":false,"path":"6mqumc4r9","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null},{"id":"Pmwam1g1x","documentId":"c5a8ae20-4e00-4aae-bd7f-4278ff5b17e5","name":"开发专区","repoName":"Dumate","filePath":"企业版使用指南/管理平台/开发专区","disabled":false,"path":"Pmwam1g1x","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null}],"specificSeo":null}}}