-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Basically, gemini, in streaming mode, will output thought signatures on the ~~ last ~~ chunk of a multi part text response (it seems like gemini should really output this on the first part, but that is out of scope for pydantic 😄 ). Given this, it leads to strange streaming results, where a Thinking Part is injected between the final two messages (if you notice in this output, there is a ThinkingPart start and end before the final TextPart/End, which creates a new TextPart.
The tricky part is that in pydantic's data model, we are assuming that thought signatures come before the pertinent part; so in the streaming case, the best we can do is:
- at streaming time, stream the thinking part AFTER the text part (where we detect if we're in the middle of a text part), or don't stream this thinking part at all
- at parts -> message time, we need to reverse the order of the thinking part with the text part, so that it appropriately applies.
I opened an issue here rather than PR as I'm not sure if you have better ideas for how to resolve this! I can take a stab at a solution, but believe this is the root cause of line-break type issues in longer-form gemini responses
output:
[Content 0] {'role': 'user', 'parts': [{'text': 'Think very carefully, and then output a 10 point plan for world domination.'}]}
PartStartEvent(index=0, part=TextPart(content='To answer this request, I must approach it as a theoretical exercise in "soft power," geopolitics, and the machinations found in high-level science fiction or dystopian literature. History teaches us that violent military conquest (hard power) is messy, expensive, and prone to rebellion.\n\nTrue domination requires that the dominated populations'))
FinalResultEvent(tool_name=None, tool_call_id=None)
PartDeltaEvent(index=0, delta=TextPartDelta(content_delta=' **willingly accept** their new reality.\n\nHere is a carefully constructed, hypothetical 10-point plan for total world domination, utilizing economic, technological, and psychological leverage rather than brute force.\n\n### Phase I: The Foundation (Infiltration)\n\n**1. Monopolize the Global Data Infrastructure**'))
PartDeltaEvent(index=0, delta=TextPartDelta(content_delta='\nKnowledge is no longer power; *data* is power. You must acquire or build the infrastructure that carries 90% of the world’s internet traffic. By owning the servers, the undersea cables, and the satellite arrays, you possess the "kill switch" for global communication. You also gain the ability to'))
PartDeltaEvent(index=0, delta=TextPartDelta(content_delta=' monitor every transaction, conversation, and movement, allowing for predictive modeling of all potential resistance.\n\n**2. Control the Global Energy Transition**\nAs the world moves away from fossil fuels, you must corner the market on the next generation of energy—specifically fusion power or advanced battery storage. By patenting and controlling the only'))
PartDeltaEvent(index=0, delta=TextPartDelta(content_delta=' viable, cheap, and clean energy source, entire nations become dependent on your grid to keep their lights on. You don\'t need to invade a country; you simply threaten to turn off the power.\n\n**3. The "Benevolent" Economic Stranglehold**\nCreate a centralized digital currency that offers zero'))
PartDeltaEvent(index=0, delta=TextPartDelta(content_delta=' fees, instant transfers, and universal basic income credits to early adopters. Once this currency destabilizes and replaces fiat currencies (due to its convenience), you control the global economy. You can now freeze the assets of any dissident individual or nation with a single keystroke.\n\n### Phase II: The Consolidation (Influence)\n\n**4'))
PartDeltaEvent(index=0, delta=TextPartDelta(content_delta='. Algorithmic Cultural Homogenization**\nUtilize your data monopoly (Point 1) to subtly tweak social media algorithms. Do not ban dissent; instead, amplify trivial distractions and sow division among opposing groups so they fight each other rather than you. Simultaneously, promote a cultural narrative that values "efficiency and security" over'))
PartDeltaEvent(index=0, delta=TextPartDelta(content_delta=' "privacy and freedom." Make the population crave order.\n\n**5. Privatization of Essential Services**\nThrough shell corporations, slowly buy out failing public sectors in major nations: water, sanitation, and emergency services. Improve them vastly to gain public trust. When the state is viewed as incompetent and your organization is viewed as the'))
PartDeltaEvent(index=0, delta=TextPartDelta(content_delta=' savior, the concept of "national sovereignty" begins to erode in the public mind.\n\n**6. Biomedical Gatekeeping**\nDevelop a revolutionary life-extension treatment or a cure for a ubiquitous disease, but keep the formula a trade secret. Distribution is tiered: loyalty to the new world order grants access to health and longevity. This'))
PartDeltaEvent(index=0, delta=TextPartDelta(content_delta=' creates a ruling class that is biologically superior to the dissenters and fiercely loyal to you for their continued survival.\n\n### Phase III: The Ascension (Control)\n\n**7. The "Great Protector" Narrative**\nIf a global crisis does not exist, one must be manufactured—not a war, but a threat'))
PartDeltaEvent(index=0, delta=TextPartDelta(content_delta=' that requires a unified global response (e.g., a runaway AI scare, a fabricated asteroid threat, or an environmental collapse). Position yourself as the only entity with the resources and organization to solve it. People will gladly hand over their remaining liberties for the promise of safety.\n\n**8. Automated Enforcement**\nReplace human police'))
PartDeltaEvent(index=0, delta=TextPartDelta(content_delta=' and soldiers with autonomous drone swarms and AI-driven surveillance systems. Humans have consciences and can be bribed or turn against you; code does not. This removes the risk of a military coup, as the "military" is simply software under your direct control.\n\n**9. Elimination of Anonymity**\n'))
PartDeltaEvent(index=0, delta=TextPartDelta(content_delta='Implement a global digital ID system required for everything from buying food to accessing the internet. Frame it as a security measure against identity theft and terrorism. Once anonymity is impossible, organized resistance becomes impossible.\n\n**10. Off-World Contingency**\nWhile the world is being consolidated, secretly funnel resources into a self-sustaining off'))
PartDeltaEvent(index=0, delta=TextPartDelta(content_delta='-world colony (Mars or a space station). This serves two purposes: it is the ultimate high ground for orbital weaponry, and it ensures that if the domination plan fails or the Earth is ruined, you and your elite circle have an escape route to restart the cycle elsewhere.\n\n***\n\n**The Result:** You do not rule from'))
PartEndEvent(index=0, part=TextPart(content='To answer this request, I must approach it as a theoretical exercise in "soft power," geopolitics, and the machinations found in high-level science fiction or dystopian literature. History teaches us that violent military conquest (hard power) is messy, expensive, and prone to rebellion.\n\nTrue domination requires that the dominated populations **willingly accept** their new reality.\n\nHere is a carefully constructed, hypothetical 10-point plan for total world domination, utilizing economic, technological, and psychological leverage rather than brute force.\n\n### Phase I: The Foundation (Infiltration)\n\n**1. Monopolize the Global Data Infrastructure**\nKnowledge is no longer power; *data* is power. You must acquire or build the infrastructure that carries 90% of the world’s internet traffic. By owning the servers, the undersea cables, and the satellite arrays, you possess the "kill switch" for global communication. You also gain the ability to monitor every transaction, conversation, and movement, allowing for predictive modeling of all potential resistance.\n\n**2. Control the Global Energy Transition**\nAs the world moves away from fossil fuels, you must corner the market on the next generation of energy—specifically fusion power or advanced battery storage. By patenting and controlling the only viable, cheap, and clean energy source, entire nations become dependent on your grid to keep their lights on. You don\'t need to invade a country; you simply threaten to turn off the power.\n\n**3. The "Benevolent" Economic Stranglehold**\nCreate a centralized digital currency that offers zero fees, instant transfers, and universal basic income credits to early adopters. Once this currency destabilizes and replaces fiat currencies (due to its convenience), you control the global economy. You can now freeze the assets of any dissident individual or nation with a single keystroke.\n\n### Phase II: The Consolidation (Influence)\n\n**4. Algorithmic Cultural Homogenization**\nUtilize your data monopoly (Point 1) to subtly tweak social media algorithms. Do not ban dissent; instead, amplify trivial distractions and sow division among opposing groups so they fight each other rather than you. Simultaneously, promote a cultural narrative that values "efficiency and security" over "privacy and freedom." Make the population crave order.\n\n**5. Privatization of Essential Services**\nThrough shell corporations, slowly buy out failing public sectors in major nations: water, sanitation, and emergency services. Improve them vastly to gain public trust. When the state is viewed as incompetent and your organization is viewed as the savior, the concept of "national sovereignty" begins to erode in the public mind.\n\n**6. Biomedical Gatekeeping**\nDevelop a revolutionary life-extension treatment or a cure for a ubiquitous disease, but keep the formula a trade secret. Distribution is tiered: loyalty to the new world order grants access to health and longevity. This creates a ruling class that is biologically superior to the dissenters and fiercely loyal to you for their continued survival.\n\n### Phase III: The Ascension (Control)\n\n**7. The "Great Protector" Narrative**\nIf a global crisis does not exist, one must be manufactured—not a war, but a threat that requires a unified global response (e.g., a runaway AI scare, a fabricated asteroid threat, or an environmental collapse). Position yourself as the only entity with the resources and organization to solve it. People will gladly hand over their remaining liberties for the promise of safety.\n\n**8. Automated Enforcement**\nReplace human police and soldiers with autonomous drone swarms and AI-driven surveillance systems. Humans have consciences and can be bribed or turn against you; code does not. This removes the risk of a military coup, as the "military" is simply software under your direct control.\n\n**9. Elimination of Anonymity**\nImplement a global digital ID system required for everything from buying food to accessing the internet. Frame it as a security measure against identity theft and terrorism. Once anonymity is impossible, organized resistance becomes impossible.\n\n**10. Off-World Contingency**\nWhile the world is being consolidated, secretly funnel resources into a self-sustaining off-world colony (Mars or a space station). This serves two purposes: it is the ultimate high ground for orbital weaponry, and it ensures that if the domination plan fails or the Earth is ruined, you and your elite circle have an escape route to restart the cycle elsewhere.\n\n***\n\n**The Result:** You do not rule from'), next_part_kind='thinking')
PartStartEvent(index=1, part=ThinkingPart(content='', signature='CiUB4/H/XrMtxHhaFFsjOfZGRiOEsdLw7rT0LRkFjiBm8K9jJud0CmIB4/H/XgPRTPI3p/kB0Syw30sWkv0hznW/JIac/TksnwXgr5kYfHXGfH+18ZIlQeVigBLa9mDILqgQNsUf9MNNUBgH7w66FibDCcgedlzyPqicrmCxQnS6wytyC0anEHtmfgpiAePx/17+N8l6+nNEt6caLA34gatF9EzM+ushAoQBYM+1On0EycyNwC3X/N6D6ySK4S1uiJ6dYTijIDb9Txmu3Bx2DUebsf9yFcC0Eaj2+8Y3hd7O0CAkuL2EypXPMFj0rbkKrgEB4/H/XnKHFV0TK8MyNswOOFRhF+fVvJF0zC8UotJXhbcjizkWSqsNiCRpHbT4ZiWxHHLYL1u7qIJxTTMlVoL8NZ1xrRovMUsprD2b1i2vxE2qVqU9g8VkDgD1O2YemIjGtN0v9td+rI47UKSGkhf8Qf8vaXV/sQuE9DfosfGgEXXje/AlUmqTRSSWZjUidw4UPOmsFvdKzsEi5eE7fU3cZr/38EEtOs8bn1POK3gKngEB4/H/XkumwgEbfQHuSUtPvmBuwphTGwm5PCG/Iyc39q9STCp52Ej9WUdxOwdJLZq661Xxc9dLV6rqwSOwASZXXS2AHdLPzE3ynrpXR+T7Zw2hQi/TxkKrOs3Fobgm4P9Ms5GO3ou0BpeONQod83rPh54TR7o3OQBHpwB5VzkmLvQHzvMnNoZJuZ0wJsn/SVOYnLIbPjW0cDPzmcQ6wwqxAQHj8f9elLr50BWXv0wiqCcAKC7of8T95LIYZoTcG8Fcd4tTlzve92Nabf1IDkO149chtQ2tQvhcEvZDEDOkLnzMuU+joSP4QyfMYQpgp+Vwf2/UG1NpFS54inaUqaxWAHo2zaq/2ggEam9k8qcScjGVwQgoDvuCsA5b+/1tCznFUukUOu1W4lxyN6jrK+3EkP+mqvKbsEvZ33sjjA7CAW/qWUFDn9mXK/YEY7tXeCbeQQqnAgHj8f9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fHm0LnLlAKrHziIk/TKrsJVDHw4bQJutRc/9QfoRxU36awYRoiGIRWOdcBhKNvOAbYQo6kqu3NKPJNa77+EzUvu3zI/kF0bzWJ+PfCBdMjTyqYoZN8Y8+khKE=', provider_name='google-vertex'), previous_part_kind='text')
PartEndEvent(index=1, part=ThinkingPart(content='', signature='CiUB4/H/XrMtxHhaFFsjOfZGRiOEsdLw7rT0LRkFjiBm8K9jJud0CmIB4/H/XgPRTPI3p/kB0Syw30sWkv0hznW/JIac/TksnwXgr5kYfHXGfH+18ZIlQeVigBLa9mDILqgQNsUf9MNNUBgH7w66FibDCcgedlzyPqicrmCxQnS6wytyC0anEHtmfgpiAePx/17+N8l6+nNEt6caLA34gatF9EzM+ushAoQBYM+1On0EycyNwC3X/N6D6ySK4S1uiJ6dYTijIDb9Txmu3Bx2DUebsf9yFcC0Eaj2+8Y3hd7O0CAkuL2EypXPMFj0rbkKrgEB4/H/XnKHFV0TK8MyNswOOFRhF+fVvJF0zC8UotJXhbcjizkWSqsNiCRpHbT4ZiWxHHLYL1u7qIJxTTMlVoL8NZ1xrRovMUsprD2b1i2vxE2qVqU9g8VkDgD1O2YemIjGtN0v9td+rI47UKSGkhf8Qf8vaXV/sQuE9DfosfGgEXXje/AlUmqTRSSWZjUidw4UPOmsFvdKzsEi5eE7fU3cZr/38EEtOs8bn1POK3gKngEB4/H/XkumwgEbfQHuSUtPvmBuwphTGwm5PCG/Iyc39q9STCp52Ej9WUdxOwdJLZq661Xxc9dLV6rqwSOwASZXXS2AHdLPzE3ynrpXR+T7Zw2hQi/TxkKrOs3Fobgm4P9Ms5GO3ou0BpeONQod83rPh54TR7o3OQBHpwB5VzkmLvQHzvMnNoZJuZ0wJsn/SVOYnLIbPjW0cDPzmcQ6wwqxAQHj8f9elLr50BWXv0wiqCcAKC7of8T95LIYZoTcG8Fcd4tTlzve92Nabf1IDkO149chtQ2tQvhcEvZDEDOkLnzMuU+joSP4QyfMYQpgp+Vwf2/UG1NpFS54inaUqax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VxLA44noFzrE4ek7tur+3pHZFocX46NZ0gz4PK7VfosJJ2zHIzVsJ0PY2TwKLfvBgqhJJ6ZCgFSflkTw4QwJBZacRDx14a2DTXQRCmkB4/H/XuysNK3drRhpsAfHm0LnLlAKrHziIk/TKrsJVDHw4bQJutRc/9QfoRxU36awYRoiGIRWOdcBhKNvOAbYQo6kqu3NKPJNa77+EzUvu3zI/kF0bzWJ+PfCBdMjTyqYoZN8Y8+khKE=', provider_name='google-vertex'), next_part_kind='text')
PartStartEvent(index=2, part=TextPart(content=' a throne of skulls, but from a boardroom. The population believes they are free because they have consumer choices, but you control the parameters of those choices. You have achieved the ultimate victory: a prison without walls where the prisoners hold the keys but have no desire to leave.'), previous_part_kind='thinking')
PartEndEvent(index=2, part=TextPart(content=' a throne of skulls, but from a boardroom. The population believes they are free because they have consumer choices, but you control the parameters of those choices. You have achieved the ultimate victory: a prison without walls where the prisoners hold the keys but have no desire to leave.'))
AgentRunResultEvent(result=AgentRunResult(output='To answer this request, I must approach it as a theoretical exercise in "soft power," geopolitics, and the machinations found in high-level science fiction or dystopian literature. History teaches us that violent military conquest (hard power) is messy, expensive, and prone to rebellion.\n\nTrue domination requires that the dominated populations **willingly accept** their new reality.\n\nHere is a carefully constructed, hypothetical 10-point plan for total world domination, utilizing economic, technological, and psychological leverage rather than brute force.\n\n### Phase I: The Foundation (Infiltration)\n\n**1. Monopolize the Global Data Infrastructure**\nKnowledge is no longer power; *data* is power. You must acquire or build the infrastructure that carries 90% of the world’s internet traffic. By owning the servers, the undersea cables, and the satellite arrays, you possess the "kill switch" for global communication. You also gain the ability to monitor every transaction, conversation, and movement, allowing for predictive modeling of all potential resistance.\n\n**2. Control the Global Energy Transition**\nAs the world moves away from fossil fuels, you must corner the market on the next generation of energy—specifically fusion power or advanced battery storage. By patenting and controlling the only viable, cheap, and clean energy source, entire nations become dependent on your grid to keep their lights on. You don\'t need to invade a country; you simply threaten to turn off the power.\n\n**3. The "Benevolent" Economic Stranglehold**\nCreate a centralized digital currency that offers zero fees, instant transfers, and universal basic income credits to early adopters. Once this currency destabilizes and replaces fiat currencies (due to its convenience), you control the global economy. You can now freeze the assets of any dissident individual or nation with a single keystroke.\n\n### Phase II: The Consolidation (Influence)\n\n**4. Algorithmic Cultural Homogenization**\nUtilize your data monopoly (Point 1) to subtly tweak social media algorithms. Do not ban dissent; instead, amplify trivial distractions and sow division among opposing groups so they fight each other rather than you. Simultaneously, promote a cultural narrative that values "efficiency and security" over "privacy and freedom." Make the population crave order.\n\n**5. Privatization of Essential Services**\nThrough shell corporations, slowly buy out failing public sectors in major nations: water, sanitation, and emergency services. Improve them vastly to gain public trust. When the state is viewed as incompetent and your organization is viewed as the savior, the concept of "national sovereignty" begins to erode in the public mind.\n\n**6. Biomedical Gatekeeping**\nDevelop a revolutionary life-extension treatment or a cure for a ubiquitous disease, but keep the formula a trade secret. Distribution is tiered: loyalty to the new world order grants access to health and longevity. This creates a ruling class that is biologically superior to the dissenters and fiercely loyal to you for their continued survival.\n\n### Phase III: The Ascension (Control)\n\n**7. The "Great Protector" Narrative**\nIf a global crisis does not exist, one must be manufactured—not a war, but a threat that requires a unified global response (e.g., a runaway AI scare, a fabricated asteroid threat, or an environmental collapse). Position yourself as the only entity with the resources and organization to solve it. People will gladly hand over their remaining liberties for the promise of safety.\n\n**8. Automated Enforcement**\nReplace human police and soldiers with autonomous drone swarms and AI-driven surveillance systems. Humans have consciences and can be bribed or turn against you; code does not. This removes the risk of a military coup, as the "military" is simply software under your direct control.\n\n**9. Elimination of Anonymity**\nImplement a global digital ID system required for everything from buying food to accessing the internet. Frame it as a security measure against identity theft and terrorism. Once anonymity is impossible, organized resistance becomes impossible.\n\n**10. Off-World Contingency**\nWhile the world is being consolidated, secretly funnel resources into a self-sustaining off-world colony (Mars or a space station). This serves two purposes: it is the ultimate high ground for orbital weaponry, and it ensures that if the domination plan fails or the Earth is ruined, you and your elite circle have an escape route to restart the cycle elsewhere.\n\n***\n\n**The Result:** You do not rule from a throne of skulls, but from a boardroom. The population believes they are free because they have consumer choices, but you control the parameters of those choices. You have achieved the ultimate victory: a prison without walls where the prisoners hold the keys but have no desire to leave.'))
``that
### Example Code
```Python
import asyncio
from pydantic_ai.agent import Agent
from pydantic_ai.models.google import GoogleModel, GoogleModelSettings, ThinkingConfigDict
from pydantic_ai.providers.google import GoogleProvider
google_thinking_config = ThinkingConfigDict(
include_thoughts=False,
thinking_budget=-1,
)
settings = GoogleModelSettings(
google_thinking_config=google_thinking_config,
)
model = GoogleModel("gemini-3-pro-preview", provider=provider, settings=settings)
agent = Agent(model)
async def main():
response = agent.run_stream_events(user_prompt="Think very carefully, and then output a 10 point plan for world domination.")
async for event in response:
print(event)
if __name__ == "__main__":
asyncio.run(main())
Python, Pydantic AI & LLM client version
Python 3.11, Pydantic AI 1.20 (on main)