From 9a5a996371541d5404485df61766a599e89b8125 Mon Sep 17 00:00:00 2001 From: xiaoyao9184 <6614349+xiaoyao9184@users.noreply.github.com> Date: Fri, 8 Nov 2024 22:01:15 +0800 Subject: [PATCH] vscode lanuch for debug --- .vscode/launch.json | 14 ++++++++++++++ assets/full_configs.toml | 18 ++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..fab1c26 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,14 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "debugpy: server", + "type": "debugpy", + "request": "launch", + "program": "${workspaceFolder}/olah/server.py", + "console": "integratedTerminal", + "args": ["-c", "${workspaceFolder}/assets/full_configs.toml"], + "justMyCode": false + } + ] +} \ No newline at end of file diff --git a/assets/full_configs.toml b/assets/full_configs.toml index 6c0a679..910fe7a 100644 --- a/assets/full_configs.toml +++ b/assets/full_configs.toml @@ -17,6 +17,15 @@ mirrors-path = ["./mirrors_dir"] [accessibility] offline = false +# allow other or will be in whitelist mode. +[[accessibility.proxy]] +repo = "*" +allow = true + +[[accessibility.proxy]] +repo = "*/*" +allow = true + [[accessibility.proxy]] repo = "cais/mmlu" allow = true @@ -34,6 +43,15 @@ repo = "mistralai/Mistral.*" allow = false use_re = true +# allow other or will be in whitelist mode. +[[accessibility.cache]] +repo = "*" +allow = true + +[[accessibility.cache]] +repo = "*/*" +allow = true + [[accessibility.cache]] repo = "cais/mmlu" allow = true