mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-07 06:16:02 +00:00
docs(agent-runner): align runner protocol boundaries
This commit is contained in:
@@ -155,7 +155,7 @@ class AgentBinding(pydantic.BaseModel):
|
||||
"""Runner ID to invoke."""
|
||||
|
||||
runner_config: dict[str, typing.Any] = pydantic.Field(default_factory=dict)
|
||||
"""Runner instance configuration."""
|
||||
"""Runner binding configuration."""
|
||||
|
||||
resource_policy: ResourcePolicy = pydantic.Field(default_factory=ResourcePolicy)
|
||||
"""Resource policy."""
|
||||
|
||||
@@ -23,7 +23,7 @@ class AgentResourceBuilder:
|
||||
- Apply 3-layer permission filtering:
|
||||
1. Runner manifest declared permissions
|
||||
2. Pipeline extensions_preference (bound plugins/MCP servers)
|
||||
3. Runner instance config selected resources
|
||||
3. Runner binding config selected resources
|
||||
- Build models list from authorized models
|
||||
- Build tools list from bound plugins/MCP servers
|
||||
- Build knowledge_bases list from config
|
||||
@@ -68,7 +68,7 @@ class AgentResourceBuilder:
|
||||
# Layer 2: Binding resource policy
|
||||
resource_policy = binding.resource_policy
|
||||
|
||||
# Layer 3: Runner instance config
|
||||
# Layer 3: Runner binding config
|
||||
runner_config = binding.runner_config
|
||||
|
||||
# Build each resource category
|
||||
|
||||
Reference in New Issue
Block a user