autogen icon indicating copy to clipboard operation
autogen copied to clipboard

[Issue]: Code executor Documentation Error

Open peteryxu opened this issue 1 year ago • 0 comments

Describe the issue

In this doc: https://microsoft.github.io/autogen/docs/tutorial/code-executors

This code below failed with error attached:

import os print(os.listdir(temp_dir))

We can see the output scatter.png and the code file generated by the agent.

  image

Simple fix: print(os.listdir(temp_dir.name))

Steps to reproduce

No response

Screenshots and logs

No response

Additional Information

No response

peteryxu avatar Mar 24 '24 22:03 peteryxu