新增robot;调整engineer
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from pathlib import Path
|
||||
import os
|
||||
from autogen_ext.code_executors.docker import DockerCommandLineCodeExecutor
|
||||
|
||||
|
||||
# Define your API keys and configurations
|
||||
@@ -16,7 +17,7 @@ SILENT = True # 关闭嵌套智能体的输出
|
||||
STREAM = True # stream on console
|
||||
CACHE = None # None 就是关闭 41是默认值开启
|
||||
|
||||
current_path = os.path.dirname(os.path.abspath(__file__))
|
||||
WORK_DIR = Path(current_path, ".coding")
|
||||
WORK_DIR.mkdir(exist_ok=True)
|
||||
|
||||
WORK_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), ".coding")
|
||||
if not os.path.exists(WORK_DIR):
|
||||
os.mkdir(WORK_DIR)
|
||||
# code_executor = DockerCommandLineCodeExecutor(work_dir=WORK_DIR)
|
||||
Reference in New Issue
Block a user