We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9678be + faedd98 commit 9575a99Copy full SHA for 9575a99
agent-backend/src/init/env_variables.py
@@ -22,7 +22,7 @@
22
QDRANT_API_KEY = os.getenv("QDRANT_API_KEY")
23
REDIS_HOST = os.getenv("REDIS_HOST")
24
REDIS_PORT = 6379
25
-LOG_LEVEL = os.getenv("LOG_LEVEL", "INFO")
+LOG_LEVEL = os.getenv("LOG_LEVEL", "INFO") or "INFO"
26
GOOGLE_FUNCTION_LOCATION = os.getenv("GOOGLE_FUNCTION_LOCATION", "us-central1")
27
PROJECT_ID = os.getenv("PROJECT_ID")
28
GCS_BUCKET_NAME = os.getenv("GCS_BUCKET_NAME")
@@ -32,6 +32,7 @@
32
VECTOR_DATABASE = os.getenv("VECTOR_DATABASE", VectorDatabase.Qdrant)
33
HOSTED_PINECONE_API_KEY = os.getenv("HOSTED_PINECONE_API_KEY")
34
35
+
36
def _set_max_threads() -> int:
37
try:
38
initial_threads = threading.active_count()
0 commit comments