You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/sap_cloud_sdk/agent_decorators/user-guide.md
+1-38Lines changed: 1 addition & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Agent Decorators User Guide
2
2
3
-
This module provides a decorator-based configuration-as-code system for SAP AI agents. Developers annotate functions with decorators to expose configuration fields — prompts, model selections, agent settings, and MCP servers — to a low-code UI. External tooling discovers these markers in source text and extracts their arguments and return values.
3
+
This module provides a decorator-based configuration-as-code system for SAP AI agents. Developers annotate functions with decorators to expose configuration fields — prompts, model selections, and agent settings — to a low-code UI. External tooling discovers these markers in source text and extracts their arguments and return values.
4
4
5
5
## Installation
6
6
@@ -13,8 +13,6 @@ from sap_cloud_sdk.agent_decorators import (
13
13
prompt_section,
14
14
agent_config,
15
15
agent_model,
16
-
mcp_server,
17
-
exposed_param,
18
16
)
19
17
```
20
18
@@ -89,41 +87,6 @@ def default_model() -> str:
89
87
return"gpt-4"
90
88
```
91
89
92
-
### @mcp_server
93
-
94
-
Expose an MCP (Model Context Protocol) server configuration.
95
-
96
-
```python
97
-
from sap_cloud_sdk.agent_decorators import mcp_server
0 commit comments