Skip to content

Commit bd8a33d

Browse files
committed
fix: minor changes
1 parent 280d5b1 commit bd8a33d

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

website/docs/user-guide/getting-started/Getting-Started.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,5 @@ If you like our project, please give it a [star](https://github.com/ag2ai/ag2) o
171171
height="30"
172172
title="GitHub"
173173
></iframe>
174+
175+
</content>

website/snippets/python-examples/sequentialchat.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,19 @@ chat_results = teacher.initiate_chats(
6363
[
6464
{
6565
"recipient": lesson_curriculum,
66-
"message": "Let's create a science lesson, what's a good topic?",
66+
"message":[{"content": "Let's create a science lesson, what's a good topic?", "role": "user"}], # type: Ignore
6767
"max_turns": 1,
6868
"summary_method": "last_msg",
6969
},
7070
{
7171
"recipient": lesson_planner,
72-
"message": "Create a lesson plan.",
72+
"message":[{"content" :"Create a lesson plan.","role":"user"}], # type: Ignore
7373
"max_turns": 2, # One revision
7474
"summary_method": "last_msg",
7575
},
7676
{
7777
"recipient": lesson_formatter,
78-
"message": "Format the lesson plan.",
78+
"message": [{"content":"Format the lesson plan.","role":"user"}], # type: Ignore
7979
"max_turns": 1,
8080
"summary_method": "last_msg",
8181
},

website/snippets/python-examples/swarmgroupchat.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ teacher = ConversableAgent(
5050
result, _, _ = initiate_swarm_chat(
5151
initial_agent=teacher,
5252
agents=[lesson_planner, lesson_reviewer, teacher],
53-
messages="Today, let's introduce our kids to the solar system.",
53+
messages=[{"content":"Today, let's introduce our kids to the solar system.","role":"user"}], # type: Ignore
5454
max_rounds=10,
5555
swarm_manager_args={"llm_config": llm_config},
5656
after_work=AfterWorkOption.SWARM_MANAGER

0 commit comments

Comments
 (0)