Building AI agents, atomically
chore: switch deprecated pydantic .dict() for .model_dump()
KennyVaneetvelde4e0e4eb585f4
diff --git a/examples/youtube_knowledge_extraction.py b/examples/youtube_knowledge_extraction.pyindex 087515e..fa51807 100644--- a/examples/youtube_knowledge_extraction.py+++ b/examples/youtube_knowledge_extraction.py@@ -76,7 +76,7 @@ transcript_provider.metadata = scraped_transcript.metadataresponse = agent.run(agent.input_schema(chat_message='Perform your assignment on the YouTube video transcript present in your context. Do not reply with anything other than the output of the assignment.'))# Convert the ResponseModel to a dictionary and then to a Markdown string-response_dict = response.dict()+response_dict = response.model_dump()def format_markdown_section(title, items):if isinstance(items, list):