This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
def replace_in_file(filename, replacements): | |
with open(filename, 'r', encoding='utf-8') as f: | |
lines = f.readlines() | |
new_lines = [] | |
for line in lines: | |
for old, new in replacements.items(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone -b 0.2 https://github.com/microsoft/autogen autogen_02 | |
cd autogen_02 | |
powershell -Command "(Get-Content setup.py) -replace 'autogen-agentchat', 'autogen_agentchat_02' | Set-Content setup.py" | |
REM pip install ./autogen_02 | |
pip install . | |
pip install autogen-agentchat==0.4.0.dev10 autogen-ext[openai]==0.4.0.dev10 |