mirror of
https://github.com/anthropics/claude-code-sdk-python.git
synced 2025-08-04 12:18:20 +00:00
fix: remove trailing whitespace in examples/quick_start.py
This commit is contained in:
parent
b73eac8c57
commit
b123767bc1
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ async def with_tools_example():
|
||||||
async def with_strict_mcp_config_example():
|
async def with_strict_mcp_config_example():
|
||||||
"""Example using strict MCP configuration."""
|
"""Example using strict MCP configuration."""
|
||||||
print("=== Strict MCP Config Example ===")
|
print("=== Strict MCP Config Example ===")
|
||||||
|
|
||||||
# This ensures ONLY the MCP servers specified here will be used,
|
# This ensures ONLY the MCP servers specified here will be used,
|
||||||
# ignoring any global or project-level MCP configurations
|
# ignoring any global or project-level MCP configurations
|
||||||
options = ClaudeCodeOptions(
|
options = ClaudeCodeOptions(
|
||||||
|
@ -80,7 +80,7 @@ async def with_strict_mcp_config_example():
|
||||||
},
|
},
|
||||||
strict_mcp_config=True, # Ignore all file-based MCP configurations
|
strict_mcp_config=True, # Ignore all file-based MCP configurations
|
||||||
)
|
)
|
||||||
|
|
||||||
async for message in query(
|
async for message in query(
|
||||||
prompt="List the available MCP tools from the memory server",
|
prompt="List the available MCP tools from the memory server",
|
||||||
options=options,
|
options=options,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue