diff --git a/autogen/agentchat/conversable_agent.py b/autogen/agentchat/conversable_agent.py index ab222662e1ee..5252f526c0b4 100644 --- a/autogen/agentchat/conversable_agent.py +++ b/autogen/agentchat/conversable_agent.py @@ -1195,7 +1195,7 @@ def generate_init_message(self, **context) -> Union[str, Dict]: """Generate the initial message for the agent. Override this function to customize the initial message based on user's request. - If not overriden, "message" needs to be provided in the context. + If not overridden, "message" needs to be provided in the context. """ return context["message"] diff --git a/autogen/oai/completion.py b/autogen/oai/completion.py index 1e8740c2f04c..5e150eace962 100644 --- a/autogen/oai/completion.py +++ b/autogen/oai/completion.py @@ -340,7 +340,7 @@ def _eval(cls, config: dict, prune=True, eval_only=False): config (dict): Hyperparameter setting for the openai api call. prune (bool, optional): Whether to enable pruning. Defaults to True. eval_only (bool, optional): Whether to evaluate only - (ignore the inference budget and do not rasie error when a request fails). + (ignore the inference budget and do not raise error when a request fails). Defaults to False. Returns: @@ -949,7 +949,7 @@ def eval_func(responses, **data): return_responses_and_per_instance_result (bool): Whether to also return responses and per instance results in addition to the aggregated results. logging_level (optional): logging level. Defaults to logging.WARNING. - **config (dict): parametes passed to the openai api call `create()`. + **config (dict): parameters passed to the openai api call `create()`. Returns: None when no valid eval_func is provided in either test or tune; diff --git a/test/agentchat/test_assistant_agent.py b/test/agentchat/test_assistant_agent.py index 361c71f56fc1..acb480291633 100644 --- a/test/agentchat/test_assistant_agent.py +++ b/test/agentchat/test_assistant_agent.py @@ -44,7 +44,7 @@ def test_ai_user_proxy_agent(): llm_config={ "config_list": config_list, }, - # In the system message the "user" always refers to ther other agent. + # In the system message the "user" always refers to the other agent. system_message="You ask a user for help. You check the answer from the user and provide feedback.", ) assistant.reset()