Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@ mcp:
slack:
env:
SLACK_MCP_XOXP_TOKEN: "xoxp-oauth-token"
# SLACK_MCP_XOXP_TOKEN: !developer_secret SLACK_MCP_XOXP_TOKEN

# GitHub configuration
# Create a GitHub Personal Access Token with repo scope
# https://github.com/settings/tokens
github:
headers:
Authorization: "Bearer ghp_xxxxxxxxxxx"
# Authorization: !developer_secret GITHUB_PERSONAL_ACCESS_TOKEN_WITH_BEARER_PREFIX

anthropic:
api_key: your-anthropic-api-key
# api_key: !developer_secret ANTHROPIC_API_KEY
api_key: your-anthropic-api-key
2 changes: 1 addition & 1 deletion examples/workflows/workflow_evaluator_optimizer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async def example_usage(

result = await evaluator_optimizer.generate_str(
message=f"Write a cover letter for the following job posting: {job_posting}\n\nCandidate Details: {candidate_details}\n\nCompany information: {company_information}",
request_params=RequestParams(model="gpt-4.1"),
request_params=RequestParams(model="gpt-5"),
)

logger.info(f"Generated cover letter: {result}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ $schema: ../../../schema/mcp-agent.config.schema.json
# Execution engine configuration
execution_engine: asyncio

# [cloud deployment] if you want to change default 60s timeout for each agent task run, uncomment temporal section below
#temporal:
# timeout_seconds: 600 # timeout in seconds
# host: placeholder # placeholder for schema validation
# task_queue: placeholder # placeholder for schema validation

# Logging configuration
logger:
type: console # Log output type (console, file, or http)
Expand Down Expand Up @@ -30,7 +36,7 @@ mcp:
# OpenAI configuration
openai:
# API keys are stored in mcp_agent.secrets.yaml (gitignored for security)
default_model: gpt-4.1 # Default model for OpenAI API calls
default_model: gpt-5 # Default model for OpenAI API calls

# OpenTelemetry (OTEL) configuration for distributed tracing
otel:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@ $schema: ../../../schema/mcp-agent.config.schema.json
# Create an API key at: https://platform.openai.com/api-keys
openai:
api_key: your-openai-api-key
# For cloud deployment, use developer secrets:
# api_key: !developer_secret OPENAI_API_KEY

# Anthropic Configuration (if using Claude models)
# Create an API key at: https://console.anthropic.com/settings/keys
anthropic:
api_key: your-anthropic-api-key
# For cloud deployment, use developer secrets:
# api_key: !developer_secret ANTHROPIC_API_KEY
Loading