From afff3863e19347200b94599dc4dea5bdf4219b5b Mon Sep 17 00:00:00 2001 From: tylerreed Date: Wed, 7 Feb 2024 21:21:06 -0500 Subject: [PATCH] updated title and simple naming --- ai_agency_04_youtube_service/agents.py | 4 ++-- ai_agency_04_youtube_service/main.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ai_agency_04_youtube_service/agents.py b/ai_agency_04_youtube_service/agents.py index 2a0835d..7b54d1c 100644 --- a/ai_agency_04_youtube_service/agents.py +++ b/ai_agency_04_youtube_service/agents.py @@ -26,5 +26,5 @@ } ) -groupchat = autogen.GroupChat(agents=[user_proxy, script_maker, description_maker], messages=[], max_round=5) -manager = autogen.GroupChatManager(groupchat=groupchat, llm_config=config.llm_config) +group_chat = autogen.GroupChat(agents=[user_proxy, script_maker, description_maker], messages=[], max_round=5) +manager = autogen.GroupChatManager(groupchat=group_chat, llm_config=config.llm_config) diff --git a/ai_agency_04_youtube_service/main.py b/ai_agency_04_youtube_service/main.py index d10f2c3..76d8ab8 100644 --- a/ai_agency_04_youtube_service/main.py +++ b/ai_agency_04_youtube_service/main.py @@ -17,7 +17,7 @@ def create_youtube_info(type, topic, tone, length, camera): f"engaging and formatted nicely. Make sure the script and description are separated." ) - for content in agents.groupchat.messages: + for content in agents.group_chat.messages: if content["name"] == 'script_maker': script_maker = content["content"] if content["name"] == 'description_maker':