Skip to content

Commit

Permalink
updated title and simple naming
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerprogramming committed Feb 8, 2024
1 parent da7857d commit afff386
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ai_agency_04_youtube_service/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion ai_agency_04_youtube_service/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit afff386

Please sign in to comment.