Skip to content

Commit

Permalink
vscode lanuch for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyao9184 committed Nov 8, 2024
1 parent 695d44a commit 9a5a996
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
18 changes: 18 additions & 0 deletions assets/full_configs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9a5a996

Please sign in to comment.