Skip to content

Commit

Permalink
fix: trailing spaces in markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Frattaroli committed May 20, 2024
1 parent 7c2ce04 commit f0ee8df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/topics/groupchat/using_custom_models.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Using Custom Models

When using `GroupChatManager` we need to pass a `GroupChat` object in the constructor, a dataclass responsible for
gathering agents, preparing messages from prompt templates and selecting speakers
gathering agents, preparing messages from prompt templates and selecting speakers
(eventually using `speaker_selection_method` as described [here](customized_speaker_selection)).

To do so GroupChat internally initializes two instances of ConversableAgent.
Expand Down Expand Up @@ -53,7 +53,7 @@ Note that the agents definition illustrated here is minimal and might not suit y
basic setup for a group chat scenario.

We then create a `GroupChat` and, if we want the underlying agents used by GroupChat to use our
custom client, we will pass it in the `model_client_cls` attribute.
custom client, we will pass it in the `model_client_cls` attribute.

Finally we create an instance of `GroupChatManager` and pass the config to it. This same config will be forwarded to
the GroupChat, that (if needed) will automatically handle registration of custom models only.
Expand Down

0 comments on commit f0ee8df

Please sign in to comment.