fix: load environment variables and add elasticsearch_index to Settings class
This commit is contained in:
parent
9a435120d5
commit
f986c70845
|
|
@ -1,6 +1,8 @@
|
|||
import logging
|
||||
import os
|
||||
from concurrent import futures
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv()
|
||||
|
||||
import brunix_pb2
|
||||
import brunix_pb2_grpc
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ class Settings(BaseSettings):
|
|||
postgres_url: str
|
||||
elasticsearch_url: str
|
||||
elasticsearch_local_url: str
|
||||
elasticsearch_index: str
|
||||
ollama_url: str
|
||||
ollama_local_url: str
|
||||
ollama_model_name: str
|
||||
|
|
|
|||
Loading…
Reference in New Issue