bb fix
This commit is contained in:
@@ -3,19 +3,9 @@ import os
|
||||
current_directory = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path.append(current_directory)
|
||||
from flask_socketio import SocketIO, join_room, emit, Namespace
|
||||
import agentscope
|
||||
from agentscope.message import Msg
|
||||
import os
|
||||
import asyncio
|
||||
import threading
|
||||
import json
|
||||
|
||||
|
||||
import configparser
|
||||
from ...function_tools.function_manager import FunctionManager
|
||||
|
||||
|
||||
import uuid
|
||||
from ...utils import *
|
||||
EMPTY_CHAPTER_CHAIN = [ Chapter(1, CHAPTER_FOCUS, "本章是未打开某个具体章节时的默认章节。", "处于本章节时不会有任何章节跳转。请作为一名经验丰富的算法教师,回答用户的问题。") ]
|
||||
|
||||
|
||||
@@ -52,8 +52,5 @@ def realtime_response(config: dict, realtime_action: dict) -> None:
|
||||
with open(file_path, "r", encoding="utf-8") as f:
|
||||
bb.active_file_content = f.read()
|
||||
|
||||
# 如需调试输出,可在这里统一记录日志
|
||||
current_app.logger.debug("vscode config: %s", config)
|
||||
current_app.logger.debug("vscode action: %s", realtime_action)
|
||||
|
||||
chatmanager.upload_bb()
|
||||
Reference in New Issue
Block a user