mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 22:18:09 +01:00
Model Context Protocol (MCP) support with new use case (#42)
* initial mcp * food ordering with mcp * prompt eng * splitting out goals and updating docs * a diff so I can get tests from codex * a diff so I can get tests from codex * oops, missing files * tests, file formatting * readme and setup updates * setup.md link fixes * readme change * readme change * readme change * stripe food setup script * single agent mode default * prompt engineering for better multi agent performance * performance should be greatly improved * Update goals/finance.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update activities/tool_activities.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * co-pilot PR suggested this change, and now fixed it * stronger wording around json format response * formatting * moved docs to dir * moved image assets under docs * cleanup env example, stripe guidance * cleanup --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1811e4cf59
commit
5d55a9fe80
49
.env.example
49
.env.example
@@ -1,41 +1,48 @@
|
||||
RAPIDAPI_KEY=9df2cb5...
|
||||
RAPIDAPI_HOST_FLIGHTS=sky-scrapper.p.rapidapi.com #For travel flight information tool
|
||||
RAPIDAPI_HOST_PACKAGE=trackingpackage.p.rapidapi.com #For eCommerce order status package tracking tool
|
||||
# Example environment configuration
|
||||
|
||||
### LLM configuration
|
||||
LLM_MODEL=openai/gpt-4o
|
||||
LLM_KEY=sk-proj-...
|
||||
# LLM_MODEL=anthropic/claude-3-5-sonnet-20240620
|
||||
# LLM_KEY=${ANTHROPIC_API_KEY}
|
||||
# LLM_MODEL=gemini/gemini-2.5-flash-preview-04-17
|
||||
# LLM_KEY=${GOOGLE_API_KEY}
|
||||
|
||||
### Tool API keys
|
||||
# RAPIDAPI_KEY=9df2cb5... # Optional - if unset flight search generates realistic mock data
|
||||
# RAPIDAPI_HOST_FLIGHTS=sky-scrapper.p.rapidapi.com # For real travel flight information (optional)
|
||||
RAPIDAPI_HOST_PACKAGE=trackingpackage.p.rapidapi.com # For eCommerce order status package tracking tool
|
||||
FOOTBALL_DATA_API_KEY=
|
||||
# Leave blank to use the built-in mock fixtures generator
|
||||
|
||||
STRIPE_API_KEY=sk_test_51J...
|
||||
# Optional for `goal_event_flight_invoice` – if unset a mock invoice is created.
|
||||
# Sign up for a free Stripe account and get a test key at https://dashboard.stripe.com/test/apikeys
|
||||
|
||||
LLM_MODEL=openai/gpt-4o # default
|
||||
LLM_KEY=sk-proj-...
|
||||
|
||||
|
||||
# uncomment and unset these environment variables to connect to the local dev server
|
||||
### Temporal connection (optional)
|
||||
# Uncomment and update these values to connect to a non-default Temporal server
|
||||
# TEMPORAL_ADDRESS=namespace.acct.tmprl.cloud:7233
|
||||
# TEMPORAL_NAMESPACE=default
|
||||
# TEMPORAL_TASK_QUEUE=agent-task-queue
|
||||
|
||||
# Uncomment if using mTLS (not needed for local dev server)
|
||||
# TEMPORAL_TLS_CERT='path/to/cert.pem'
|
||||
# TEMPORAL_TLS_KEY='path/to/key.pem'
|
||||
|
||||
# Uncomment if using API key (not needed for local dev server)
|
||||
# TEMPORAL_API_KEY=abcdef1234567890
|
||||
|
||||
# Set starting goal of agent - if unset default is goal_choose_agent_type
|
||||
AGENT_GOAL=goal_choose_agent_type # for multi-goal start
|
||||
#AGENT_GOAL=goal_event_flight_invoice # for original goal
|
||||
### Agent goal configuration
|
||||
# Set starting goal of agent - if unset default is goal_event_flight_invoice (single agent mode)
|
||||
#AGENT_GOAL=goal_choose_agent_type # for multi-goal mode (experimental)
|
||||
AGENT_GOAL=goal_event_flight_invoice
|
||||
#AGENT_GOAL=goal_match_train_invoice # for replay goal
|
||||
|
||||
#Choose which category(ies) of goals you want to be listed by the Agent Goal picker if enabled above
|
||||
# - options are system (always included), hr, travel, or all.
|
||||
GOAL_CATEGORIES=fin # default is all
|
||||
# Choose which goal categories are listed by the Agent Goal picker if enabled above
|
||||
# Options: system (always included), hr, travel-flights, travel-trains, fin, ecommerce, mcp-integrations, food, all
|
||||
GOAL_CATEGORIES=all
|
||||
#GOAL_CATEGORIES=travel-flights
|
||||
|
||||
# Set if the workflow should wait for the user to click a confirm button (and if the UI should show the confirm button and tool args)
|
||||
### Other settings
|
||||
SHOW_CONFIRM=True
|
||||
|
||||
# Money Scenarios:
|
||||
# Money Scenarios:
|
||||
# Set if you want it to really start workflows - otherwise it'll fake it
|
||||
# if you want it to be real you'll need moneytransfer and early return workers running
|
||||
FIN_START_REAL_WORKFLOW=FALSE
|
||||
FIN_START_REAL_WORKFLOW=FALSE
|
||||
|
||||
Reference in New Issue
Block a user