- Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Feature requestNew feature requestNew feature requestgood first issueGood for newcomersGood for newcomers
Description
Initial Checks
- I confirm that I'm using the latest version of Pydantic AI
- I confirm that I searched for my issue in https://github.com/pydantic/pydantic-ai/issues before opening this issue
Description
It appears that for several providers (at least OpenAI and Google) that the instructions are being inserted into the system prompt for the conversation and more specifically they are being inserted at the beginning of the system prompt when the conversation is sent to the LLM.
I would generally expect instructions to be in the messages/content part of the conversation and not the system_prompt and if messages were to be part of the system prompt, I would expect them to be provided after the system prompt and not before the system prompt.
Example Code
Python, Pydantic AI & LLM client version
Latest Quetute and steventen
Metadata
Metadata
Assignees
Labels
Feature requestNew feature requestNew feature requestgood first issueGood for newcomersGood for newcomers