You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -285,7 +313,7 @@ The message format is independent of the model used, so you can use messages in
285
313
286
314
In the example below, we reuse the message from the first agent run, which uses the `openai:gpt-4o` model, in a second agent run using the `google-gla:gemini-1.5-pro` model.
287
315
288
-
```python {title="Reusing messages with a different model" hl_lines="11"}
316
+
```python {title="Reusing messages with a different model" hl_lines="17"}
289
317
from pydantic_ai import Agent
290
318
291
319
agent = Agent('openai:gpt-4o', system_prompt='Be a helpful assistant.')
0 commit comments