mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-12 21:00:07 +02:00
* initial commit * almost done * finished 3 tests * minor refactor * built out initial permisison tests * reworked test_deletion * removed logging * all original tests have been converted * renamed user_groups to user_group * mypy * added test for doc set permissions * unified naming for manager methods * Refactored models and added new deletion test * minor additions * better logging+fixed input variables * commented out failed tests * Added readme * readme update * Added auth to IT set auth_type to basic and require_email_verification to false * Update run-it.yml * used verify and added to readme * added api key manager
12 lines
360 B
Python
12 lines
360 B
Python
import os
|
|
|
|
API_SERVER_PROTOCOL = os.getenv("API_SERVER_PROTOCOL") or "http"
|
|
API_SERVER_HOST = os.getenv("API_SERVER_HOST") or "localhost"
|
|
API_SERVER_PORT = os.getenv("API_SERVER_PORT") or "8080"
|
|
API_SERVER_URL = f"{API_SERVER_PROTOCOL}://{API_SERVER_HOST}:{API_SERVER_PORT}"
|
|
MAX_DELAY = 30
|
|
|
|
GENERAL_HEADERS = {"Content-Type": "application/json"}
|
|
|
|
NUM_DOCS = 5
|