autogen icon indicating copy to clipboard operation
autogen copied to clipboard

[Bug]: [autogenstudio] llm forget to use skills.py functions

Open nicho2 opened this issue 11 months ago • 3 comments

Describe the bug

when an agent have several skills

and despite having the following instructions:

While solving the task you may use functions below which are available in a file called skills.py .\nTo use a function skill.py in code, IMPORT THE FUNCTION FROM skills.py and then use the function.\nIf you need to install python packages, write shell code to\ninstall via pip and use --quiet option.\n\n

The LLM don't use the skills.py function call but copies or recreates the function.

Is it possible to pass only function descriptions rather than entire functions?

Steps to reproduce

No response

Model Used

gpt-4 or mistral-7b

Expected Behavior

use from skills import ...

Screenshots and logs

No response

Additional Information

No response

nicho2 avatar Mar 18 '24 10:03 nicho2