mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-11 05:36:03 +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:
24
.vscode/launch.template.jsonc
vendored
24
.vscode/launch.template.jsonc
vendored
@@ -39,7 +39,8 @@
|
|||||||
"--reload",
|
"--reload",
|
||||||
"--port",
|
"--port",
|
||||||
"9000"
|
"9000"
|
||||||
]
|
],
|
||||||
|
"consoleTitle": "Model Server"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "API Server",
|
"name": "API Server",
|
||||||
@@ -58,7 +59,8 @@
|
|||||||
"--reload",
|
"--reload",
|
||||||
"--port",
|
"--port",
|
||||||
"8080"
|
"8080"
|
||||||
]
|
],
|
||||||
|
"consoleTitle": "API Server"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Indexing",
|
"name": "Indexing",
|
||||||
@@ -72,7 +74,8 @@
|
|||||||
"LOG_LEVEL": "DEBUG",
|
"LOG_LEVEL": "DEBUG",
|
||||||
"PYTHONUNBUFFERED": "1",
|
"PYTHONUNBUFFERED": "1",
|
||||||
"PYTHONPATH": "."
|
"PYTHONPATH": "."
|
||||||
}
|
},
|
||||||
|
"consoleTitle": "Indexing"
|
||||||
},
|
},
|
||||||
// Celery and all async jobs, usually would include indexing as well but this is handled separately above for dev
|
// Celery and all async jobs, usually would include indexing as well but this is handled separately above for dev
|
||||||
{
|
{
|
||||||
@@ -90,7 +93,8 @@
|
|||||||
},
|
},
|
||||||
"args": [
|
"args": [
|
||||||
"--no-indexing"
|
"--no-indexing"
|
||||||
]
|
],
|
||||||
|
"consoleTitle": "Background Jobs"
|
||||||
},
|
},
|
||||||
// For the listner to access the Slack API,
|
// 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
|
// 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"
|
//"tests/unit/danswer/llm/answering/test_prune_and_merge.py"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"compounds": [
|
||||||
|
{
|
||||||
|
"name": "Run Danswer",
|
||||||
|
"configurations": [
|
||||||
|
"Web Server",
|
||||||
|
"Model Server",
|
||||||
|
"API Server",
|
||||||
|
"Indexing",
|
||||||
|
"Background Jobs",
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user