Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/python-claude-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
python -m py_compile agent_interface.py
python -m py_compile local_authentication_options.py
python -m py_compile token_cache.py
python -m py_compile observability_helpers.py
python -m py_compile observability_config.py
python -m py_compile turn_context_utils.py
python -m py_compile mcp_tool_registration_service.py

- name: Validate pyproject.toml
run: |
Expand Down Expand Up @@ -70,7 +72,9 @@ jobs:
import agent_interface
import local_authentication_options
import token_cache
import observability_helpers
import observability_config
import turn_context_utils
import mcp_tool_registration_service
print('✅ All imports validated successfully')
except ImportError as e:
print(f'❌ Import validation failed: {e}')
Expand Down
12 changes: 9 additions & 3 deletions python/claude/sample-agent/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ CLAUDE_MODEL=claude-sonnet-4-20250514
# MCP (Model Context Protocol) CONFIGURATION (Optional)
# =============================================================================

# Environment label for MCP tooling (informational only)
# NOTE: The current runtime does NOT read ENVIRONMENT to control MCP discovery.
# MCP servers are discovered based on the MCP SDK behavior, not this setting.
ENVIRONMENT=Development

# MCP Server Host
MCP_SERVER_HOST=

Expand Down Expand Up @@ -43,7 +48,7 @@ USE_AGENTIC_AUTH=false

# Bearer token (required if not using client credentials)
# Use for development/testing without full app registration
BEARER_TOKEN=your_bearer_token_here
BEARER_TOKEN=

# Agentic authentication scope (required if USE_AGENTIC_AUTH=true)
# Example: https://api.powerplatform.com/.default
Expand Down Expand Up @@ -111,10 +116,11 @@ OBSERVABILITY_SERVICE_NAME=claude-agent
OBSERVABILITY_SERVICE_NAMESPACE=agent365-samples

# Enable Agent 365 Observability Exporter (optional, defaults to false)
# Set to "true" to export telemetry to Agent 365 backend
# When false, uses ConsoleSpanExporter for local debugging
# Set to "true" to export telemetry to Agent 365 backend for production monitoring
ENABLE_A365_OBSERVABILITY_EXPORTER=false

OTEL_LOG_LEVEL=debug

# Python environment (influences target cluster/category)
# Options: development, production
PYTHON_ENVIRONMENT=development
Loading
Loading