mirror of
https://github.com/MervinPraison/PraisonAI.git
synced 2026-11-07 12:47:55 -10:00
- Fix AgentTeam.start() result handling across 22+ workflow/usecase examples - Fix missing AgentFlow/AgentTeam/AutoAgents imports and registry override demo - Fix scope_identifiers, state_redis db import, and ToolsMCPServer.run_sse API - Mark STT and stale tool-import examples as skip until refreshed - Remove stale db mapping that shadowed praisonaiagents.db submodule Co-authored-by: Cursor <[email protected]>
8 lines
458 B
Python
8 lines
458 B
Python
# praisonai: skip=true
|
|
# Uses removed praisonaiagents.tools exports; pending example refresh
|
|
from praisonaiagents import Agent, Tools
|
|
from praisonaiagents.tools import get_stock_price, get_stock_info, get_historical_data
|
|
|
|
agent = Agent(instructions="You are a Research Agent", tools=[get_stock_price, get_stock_info, get_historical_data])
|
|
agent.start("Understand current stock price and historical data of Apple and Google. Tell me if I can invest in them")
|