mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-21 05:33:09 +00:00
57f7900210
initial version of devcontainer --------- Signed-off-by: Dave Lee <dave@gray101.com>
34 lines
1013 B
JSON
34 lines
1013 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Python: Current File",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${file}",
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"cwd": "${fileDirname}",
|
|
"env": {
|
|
"OPENAI_API_BASE": "http://localhost:8080/v1",
|
|
"OPENAI_API_KEY": "abc"
|
|
}
|
|
},
|
|
{
|
|
"name": "Launch LocalAI API",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"program": "${workspaceRoot}",
|
|
"args": [],
|
|
"env": {
|
|
"LOCALAI_LOG_LEVEL": "debug",
|
|
"LOCALAI_P2P": "true",
|
|
"LOCALAI_FEDERATED": "true"
|
|
},
|
|
"buildFlags": ["-tags", "stablediffusion p2p tts", "-v"],
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"cwd": "${workspaceRoot}"
|
|
}
|
|
]
|
|
} |