AgentConfig


Object Hierarchy:

Object hierarchy for AgentConfig

Description:

public class AgentConfig : Object, Serializable

Per-agent settings for Config2.

Stored under the agents map keyed by factory id (e.g. agent-pi). forbidden and skills are user-editable JSON. Required-tool checks live in factory register_config (hardcoded), not on this type.

Usage Examples

Code (register_config seed)

config.agents.set("agent-pi", new AgentConfig() {
forbid = "write_file,huggingface_hub"
});

JSON (config.2.json)

"agents": {
"agent-pi": {
"forbidden": [ "write_file", "huggingface_hub" ],
"skills": [ "writing-plans", "executing-plans" ]
}
}


Namespace: OLLMchat.Settings
Package: ollmchat

Content:

Properties:

Creation methods:

Methods:

Fields:

Inherited Members:

All known members inherited from class GLib.Object
All known members inherited from interface Json.Serializable