ok
This commit is contained in:
@@ -44,6 +44,8 @@ def realtime_response(config: dict, realtime_action: dict) -> None:
|
||||
bb.pasted_content = realtime_action.get("content")
|
||||
with open(os.path.join(bb.root_path, bb.active_file_path), "r", encoding="utf-8") as f:
|
||||
bb.active_file_content = f.read()
|
||||
# TODO: 让大模型检查当前这个文件和用户paste的代码,基于此判断是否需要打断学生写代码并询问其理解
|
||||
# chatmanager.ase_client.send("check_code", {"file_path": file_path, "content": bb.pasted_content})
|
||||
|
||||
elif rtype == "fileEdit":
|
||||
file_path = realtime_action.get("filePath")
|
||||
|
||||
Reference in New Issue
Block a user