Skip to content

Commit

Permalink
Integrate fix on type hints from PR #2703
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo-Frattaroli authored May 20, 2024
1 parent 745d44f commit 85f6672
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autogen/agentchat/groupchat.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ def custom_speaker_selection_func(
messages: List[Dict]
llm_config: Optional[Union[Dict, Literal[False]]] = None
model_client_cls: Optional[Union[ModelClient, List[ModelClient]]] = None
max_round: Optional[int] = 10
admin_name: Optional[str] = "Admin"
func_call_filter: Optional[bool] = True
max_round: int = 10
admin_name: str = "Admin"
func_call_filter: bool = True
speaker_selection_method: Union[Literal["auto", "manual", "random", "round_robin"], Callable] = "auto"
max_retries_for_selecting_speaker: int = 2
allow_repeat_speaker: Optional[Union[bool, List[Agent]]] = None
Expand Down

0 comments on commit 85f6672

Please sign in to comment.