mirror of
https://github.com/microsoft/autogen.git
synced 2025-09-23 07:04:53 +00:00
Update agentchat_auto_feedback_from_code_execution.ipynb (#342)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
This commit is contained in:
parent
ec52087c95
commit
58b8c52851
@ -362,7 +362,7 @@
|
||||
"source": [
|
||||
"The example above involves code execution. In AutoGen, code execution is triggered automatically by the `UserProxyAgent` when it detects an executable code block in a received message and no human user input is provided. This process occurs in a designated working directory, using a Docker container by default. Unless a specific directory is specified, AutoGen defaults to the `autogen/extensions` directory. Users have the option to specify a different working directory by setting the `work_dir` argument when constructing a new instance of the `UserProxyAgent`.\n",
|
||||
"\n",
|
||||
"The whole chat is auto generated."
|
||||
"The whole chat is auto-generated."
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -572,7 +572,7 @@
|
||||
"* `generate_init_message`. We generate a modified initial message to send to the assistant agent, by adding the info that the execution will be performed in IPython.\n",
|
||||
"* `run_code`. We execute the code with the ipython instance.\n",
|
||||
"\n",
|
||||
"With the new `IPythonUserProxyAgent`, we are able to run the code within the current notebook environment and display plot directly."
|
||||
"With the new `IPythonUserProxyAgent`, we are able to run the code within the current notebook environment and display the plot directly."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user