fix typos in function helper text (#503)

* fix typos in autogen/agentchat/conversable_agent.py

* fix typos in autogen/code_utils.py

* fix typos in autogen/oai/completion.py

* fix typos in test/agentchat/test_assistant_agent.py

* Update test/agentchat/test_assistant_agent.py

Co-authored-by: Chi Wang <wang.chi@microsoft.com>

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
This commit is contained in:
Surav Shrestha
2023-11-20 01:23:49 +05:45
committed by GitHub
parent 75cc763ff8
commit a4d9ce8c5b
3 changed files with 4 additions and 4 deletions

View File

@@ -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"]

View File

@@ -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 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;

View File

@@ -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()