AS AgentScopeAPI 手册 / API Reference
类class agentscope.permission

AdditionalWorkingDirectory

class AdditionalWorkingDirectory(BaseModel)
源码Source agentscope/permission/_context.py:9–21

Additional Working 目录,驱动智能体的推理、工具调用与会话执行。位于 agentscope.permission 包。

Working directories are used to determine which file paths should be automatically allowed in ACCEPT_EDITS mode.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
pathstr
路径字段。
—
sourcestr
来源字段。
—

属性详情Attribute Detail

path

str

路径字段。声明为 str。

The path field.

源码Source agentscope/permission/_context.py:16

source

str

来源字段。声明为 str。

The source field.

源码Source agentscope/permission/_context.py:19
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.