#how to integrate GitHub copilot as one of the agent ?
22 messages · Page 1 of 1 (latest)
@sharp rampart let me check them
But my use case for using copilot is to run builds, tests against the generated code. And get a execution environment
@full dock could you please help 🙂
Can copilot do these?
Ya, that's what they demo'ed in their latest dev day
Well I would like to start with anything simple, like can we add python repl as tool to autogen agents?
So that we can execute something. As of now its just emitting code without executing and trying it out
in autogen, the basic two agent setup can already execute code
yep and i think with a proper prompt engineering and a validator for the code you could use instruct for context and GPT4 for the Agent for explain and interact
You can check my conversation here, the agents tried to write the code to file, but they coudnt, @full dock @sharp rampart you have any example where autogen agents can create files and save them on local disk ?
I even tried adding openai function which can save content to file, but even that didnt work
heres my code
based on the code you can see that this is some mini software development team which im trying to simulate, i want to test if iterative development can be done using ai agents, where they get access to project repo, and whether or not they can iteratively build on top of it
hence saving files
i also want to check if the written code, can be run against some tests, eg python code against pytest etc
yes work dir in example code ?
https://github.com/microsoft/autogen/blob/main/test/test_code.py
Enable Next-Gen Large Language Model Applications. Join our Discord: https://discord.gg/pAbnFJrkgZ - microsoft/autogen
Enable Next-Gen Large Language Model Applications. Join our Discord: https://discord.gg/pAbnFJrkgZ - microsoft/autogen
Thanks @sharp rampart will take a look !
Using aider as a coding assistant might be easier to work with. It has a pretty nice python API.
Myself and a few others are looking into this now for similar use cases