You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally provide a minimal python script that can be run to reproduce the bug.
from agents import WebSearchTool, Agent, Runner
from agents.model_settings import ModelSettings
INSTRUCTIONS = (
"You are a research assistant. Given a search term, you search the web for that term and "
"produce a concise summary of the results. The summary must 2-3 paragraphs and less than 300 "
"words. Capture the main points. Write succinctly, no need to have complete sentences or good "
"grammar. This will be consumed by someone synthesizing a report, so its vital you capture the "
"essence and ignore any fluff. Do not include any additional commentary other than the summary "
"itself."
)
search_agent = Agent(
name='Search Agent',
input_guardrails=INSTRUCTIONS,
tools=[WebSearchTool()],
model_settings=ModelSettings(tool_choice='required')
)
search_agent_res = await Runner.run(starting_agent=search_agent, input='Model Context Protocol MCP definition')
Expected behavior
A clear and concise description of what you expected to happen.
The text was updated successfully, but these errors were encountered:
Please read this first
Describe the bug
Parameter type and format should be correct, but I still get this error.
Debug information
v0.0.3
) 0.0.16Repro steps
Ideally provide a minimal python script that can be run to reproduce the bug.
Expected behavior
A clear and concise description of what you expected to happen.
The text was updated successfully, but these errors were encountered: