100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
Fix missing spaces in research_agent instructions
thejesh009d30b8b243
diff --git a/starter_ai_agents/openai_research_agent/research_agent.py b/starter_ai_agents/openai_research_agent/research_agent.pyindex fdf5e9d8..2c070be6 100644--- a/starter_ai_agents/openai_research_agent/research_agent.py+++ b/starter_ai_agents/openai_research_agent/research_agent.py@@ -79,11 +79,11 @@ def save_important_fact(fact: str, source: str = None) -> str:# Define the agentsresearch_agent = Agent(name="Research Agent",- 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 succintly, 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"+ 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 be 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 it's vital you capture the "+ "essence and ignore any fluff. Do not include any additional commentary other than the summary ""itself.",model="gpt-4o-mini",tools=[