A programming framework for agentic AI
fix typos in function helper text (#503)
Surav Shresthaa4d9ce8c5b33
diff --git a/autogen/agentchat/conversable_agent.py b/autogen/agentchat/conversable_agent.pyindex ab222662e..5252f526c 100644--- a/autogen/agentchat/conversable_agent.py+++ b/autogen/agentchat/conversable_agent.py@@ -1195,7 +1195,7 @@ class ConversableAgent(Agent):"""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.pyindex 1e8740c2f..5e150eace 100644--- a/autogen/oai/completion.py+++ b/autogen/oai/completion.py@@ -340,7 +340,7 @@ class Completion(openai_Completion):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 @@ class Completion(openai_Completion):return_responses_and_per_instance_result (bool): Whether to also return responsesand 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.pyindex 361c71f56..acb480291 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()