Skip to content

Building AI agents, atomically

auto formatting

Koichi KAWAMURAf820f8dab5ee
diff --git a/atomic-examples/quickstart/quickstart/5_custom_system_role_for_reasoning_models.py b/atomic-examples/quickstart/quickstart/5_custom_system_role_for_reasoning_models.py
index 3f7f307..7290ae0 100644
--- a/atomic-examples/quickstart/quickstart/5_custom_system_role_for_reasoning_models.py
+++ b/atomic-examples/quickstart/quickstart/5_custom_system_role_for_reasoning_models.py
@@ -3,7 +3,7 @@ import instructor
import openai
from rich.console import Console
from rich.text import Text
-from atomic_agents.agents.base_agent import BaseAgent, BaseAgentConfig, BaseAgentInputSchema, BaseAgentOutputSchema
+from atomic_agents.agents.base_agent import BaseAgent, BaseAgentConfig, BaseAgentInputSchema
from atomic_agents.lib.components.system_prompt_generator import SystemPromptGenerator
# API Key setup
@@ -26,7 +26,7 @@ client = instructor.from_openai(openai.OpenAI(api_key=API_KEY))
sysyem_prompt_generator = SystemPromptGenerator(
background=["You are a math genious."],
steps=["Think logically step by step and solve a math problem."],
- output_instructions=["Answer in plain English plus formulas."]
+ output_instructions=["Answer in plain English plus formulas."],
)
# Agent setup with specified configuration
agent = BaseAgent(
@@ -36,7 +36,7 @@ agent = BaseAgent(
sysyem_prompt_generator=sysyem_prompt_generator,
# It is a convention to use "developer" as the system role for reasoning models from OpenAI such as o1, o3-mini.
# Also these models are often used without a system prompt, which you can do by setting system_role=None
- system_role="developer"
+ system_role="developer",
)
)