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]>
19 lines
577 B
Python
19 lines
577 B
Python
# praisonai: skip=true
|
|
# Uses removed praisonaiagents.tools exports; pending example refresh
|
|
from praisonaiagents import Agent, Task, AgentTeam
|
|
from praisonaiagents.tools import wiki_search, wiki_summary, wiki_page, wiki_random, wiki_language
|
|
|
|
agent = Agent(
|
|
instructions="You are a Wikipedia Agent",
|
|
tools=[wiki_search, wiki_summary, wiki_page, wiki_random, wiki_language],
|
|
reflection=True,
|
|
|
|
|
|
)
|
|
agent.start(
|
|
"What is the history of AI?"
|
|
"First search the history of AI"
|
|
"Read the page of the history of AI"
|
|
"Get the summary of the page"
|
|
)
|