mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-10 21:09:51 +02:00
quality of life improvements for the launch.json template (#2082)
Co-authored-by: Jos Van der westhuizen <jos@danser.ai>
This commit is contained in:
parent
bdaaebe955
commit
f411b9cb55
24
.vscode/launch.template.jsonc
vendored
24
.vscode/launch.template.jsonc
vendored
@ -39,7 +39,8 @@
|
||||
"--reload",
|
||||
"--port",
|
||||
"9000"
|
||||
]
|
||||
],
|
||||
"consoleTitle": "Model Server"
|
||||
},
|
||||
{
|
||||
"name": "API Server",
|
||||
@ -58,7 +59,8 @@
|
||||
"--reload",
|
||||
"--port",
|
||||
"8080"
|
||||
]
|
||||
],
|
||||
"consoleTitle": "API Server"
|
||||
},
|
||||
{
|
||||
"name": "Indexing",
|
||||
@ -72,7 +74,8 @@
|
||||
"LOG_LEVEL": "DEBUG",
|
||||
"PYTHONUNBUFFERED": "1",
|
||||
"PYTHONPATH": "."
|
||||
}
|
||||
},
|
||||
"consoleTitle": "Indexing"
|
||||
},
|
||||
// Celery and all async jobs, usually would include indexing as well but this is handled separately above for dev
|
||||
{
|
||||
@ -90,7 +93,8 @@
|
||||
},
|
||||
"args": [
|
||||
"--no-indexing"
|
||||
]
|
||||
],
|
||||
"consoleTitle": "Background Jobs"
|
||||
},
|
||||
// For the listner to access the Slack API,
|
||||
// DANSWER_BOT_SLACK_APP_TOKEN & DANSWER_BOT_SLACK_BOT_TOKEN need to be set in .env file located in the root of the project
|
||||
@ -125,5 +129,17 @@
|
||||
//"tests/unit/danswer/llm/answering/test_prune_and_merge.py"
|
||||
]
|
||||
}
|
||||
],
|
||||
"compounds": [
|
||||
{
|
||||
"name": "Run Danswer",
|
||||
"configurations": [
|
||||
"Web Server",
|
||||
"Model Server",
|
||||
"API Server",
|
||||
"Indexing",
|
||||
"Background Jobs",
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user