We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4e1fe4 commit 9f0cc35Copy full SHA for 9f0cc35
pydantic_ai_slim/pydantic_ai/mcp.py
@@ -939,8 +939,8 @@ class MCPServerConfig(BaseModel):
939
def _expand_env_vars(value: Any) -> Any:
940
"""Recursively expand environment variables in a JSON structure.
941
942
- Environment variables can be referenced using ${VAR_NAME} syntax,
943
- or ${VAR_NAME:-default} syntax to provide a default value if the variable is not set.
+ Environment variables can be referenced using `${VAR_NAME}` syntax,
+ or `${VAR_NAME:-default}` syntax to provide a default value if the variable is not set.
944
945
Args:
946
value: The value to expand (can be str, dict, list, or other JSON types).
0 commit comments