Skip to content

Commit 640a773

Browse files
authored
Update docs/agents.md
1 parent 199a638 commit 640a773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/agents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ Instructions, like system prompts, can be specified at different times:
908908

909909
1. **Static instructions**: These are known when writing the code and can be defined via the `instructions` parameter of the [`Agent` constructor][pydantic_ai.Agent.__init__].
910910
2. **Dynamic instructions**: These rely on context that is only available at runtime and should be defined using functions decorated with [`@agent.instructions`][pydantic_ai.Agent.instructions]. Unlike dynamic system prompts, which may be reused when `message_history` is present, dynamic instructions are always reevaluated.
911-
3. **Runtime instructions*:: These can be used to pass additional instructions to the agent at runtime and are valid for that specific run.
911+
3. **Runtime instructions*: These are additional instructions for a specific run that can be passed to one of the [run methods](#running-agents) using the `instructions` argument.
912912

913913
All three types of instructions can be added to a single agent, and they are appended in the order they are defined at runtime.
914914

0 commit comments

Comments
 (0)