diff --git a/.gitignore b/.gitignore index 4deda17..4c142ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,7 @@ Html/runs/* +Html/config.ini + + **.pyc # Python bytecode files __pycache__/ diff --git a/Html/app.log b/Html/app.log deleted file mode 100644 index 5df5216..0000000 --- a/Html/app.log +++ /dev/null @@ -1,10 +0,0 @@ -/home/caikecheng/anaconda3/envs/algoAgent/lib/python3.10/site-packages/pydantic/_internal/_config.py:345: UserWarning: Valid config keys have changed in V2: -* 'fields' has been removed - warnings.warn(message, UserWarning) -2024-12-28 22:52:57.446 | INFO | agentscope.models:read_model_configs:186 - Load configs for model wrapper: openai_cfg -Traceback (most recent call last): - File "/home/caikecheng/algoAgent/code-agent/Html/app.py", line 343, in - socketio.run(app, host='0.0.0.0', port=5000, debug=True) - File "/home/caikecheng/anaconda3/envs/algoAgent/lib/python3.10/site-packages/flask_socketio/__init__.py", line 640, in run - raise RuntimeError('The Werkzeug web server is not ' -RuntimeError: The Werkzeug web server is not designed to run in production. Pass allow_unsafe_werkzeug=True to the run() method to disable this error. diff --git a/Html/config.ini b/Html/config_back.ini similarity index 95% rename from Html/config.ini rename to Html/config_back.ini index ddecc96..223a4ec 100644 --- a/Html/config.ini +++ b/Html/config_back.ini @@ -1,16 +1,16 @@ -[Global] -base_chat_url = https://www.dmxapi.com/v1 -api_key = sk-aMpnWklN2IbsK44d1kNpy6YOP9bk1pdPJjFeEmbb0a5ytEFf -model=gpt-4.1-nano - -[VSCODE_WEB] -url = http://127.0.0.1:8181 -#http://asengine.net:8282 -[VSCODE_WEB_PATH] -is_wsl = false -windows_path = F:/ -wsl_path = /mnt/f/ -[USER_DATA] -dir = db/data/user/ -[COURSE_DATA] -dir = db/data/course/ +[Global] +base_chat_url = https://www.dmxapi.com/v1 +api_key = sk-aMpnWklN2IbsK44d1kNpy6YOP9bk1pdPJjFeEmbb0a5ytEFf +model=gpt-4.1-nano + +[VSCODE_WEB] +url = http://127.0.0.1:8181 +#http://asengine.net:8282 +[VSCODE_WEB_PATH] +is_wsl = false +windows_path = F:/ +wsl_path = /mnt/f/ +[USER_DATA] +dir = db/data/user/ +[COURSE_DATA] +dir = db/data/course/