diff --git a/docs/concepts/agents.mdx b/docs/concepts/agents.mdx index 0790abf..8e7f228 100644 --- a/docs/concepts/agents.mdx +++ b/docs/concepts/agents.mdx @@ -226,7 +226,7 @@ temporary positive outcomes, despite the overall bleak and discouraging reality. -When tasks have multiple agents, it's important to understand how they collaborate (and to provide them with clear instructions to guide that behavior). To learn more, see the [collaboration](/patterns/collaboration) doc. +When tasks have multiple agents, it's important to understand how they collaborate (and to provide them with clear instructions to guide that behavior). To learn more, see the [multi-agent collaboration docs](/patterns/running-tasks#multi-agent-collaboration). #### Assigning completion agents @@ -251,4 +251,4 @@ task = cf.Task( # only a1 and a2 can mark the task as successful completion_agents=[a1, a2], ) -``` \ No newline at end of file +``` diff --git a/docs/welcome.mdx b/docs/welcome.mdx index 480f388..9ca9f72 100644 --- a/docs/welcome.mdx +++ b/docs/welcome.mdx @@ -132,7 +132,7 @@ import random def roll_dice(num_dice: int) -> list[int]: """Roll multiple dice and return the results.""" - return [random.randint(1, 6) for * in range(num_dice)] + return [random.randint(1, 6) for _ in range(num_dice)] result = cf.run("Roll 3 dice and return the results", tools=[roll_dice])