Skip to content

Commit 71dd104

Browse files
mrlee-amazonUnshure
authored andcommitted
docs: limit config_to_agent supported keys to core configuration
- Remove advanced Agent parameters from supported configuration keys - Only document: model, prompt, tools, name as supported in config - Advanced parameters can still be passed via kwargs override - Update examples to reflect simplified configuration interface - Keep documentation focused on basic agent configuration use cases 🤖 Assisted by Amazon Q Developer
1 parent 4e271cb commit 71dd104

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

docs/user-guide/concepts/experimental/agent-config.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,6 @@ agent = config_to_agent("file:///path/to/config.json")
6565
- `prompt`: System prompt for the agent (string)
6666
- `tools`: List of tool names, module paths, or file paths (list of strings)
6767
- `name`: Agent name (string)
68-
- `agent_id`: Agent identifier (string)
69-
- `session_manager`: Session manager instance
70-
- `conversation_manager`: Conversation manager instance
71-
- `hooks`: List of hook providers
72-
- `callback_handler`: Callback handler instance
73-
- `state`: Initial agent state (dict)
74-
- `trace_attributes`: Tracing attributes (dict)
7568

7669
### Tool Loading
7770

@@ -104,7 +97,6 @@ The `config_to_agent` function accepts:
10497
# Override config values with valid Agent parameters
10598
agent = config_to_agent(
10699
"/path/to/config.json",
107-
agent_id="my-agent-123",
108100
name="Data Analyst"
109101
)
110102
```

0 commit comments

Comments
 (0)