Skip to content

Commit

Permalink
setting default mq config for client utils from legacy config
Browse files Browse the repository at this point in the history
  • Loading branch information
kirgrim committed Mar 10, 2024
1 parent 28431bf commit 18f1755
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions neon_llm_core/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
from ovos_config.config import Configuration

from neon_llm_core.utils.constants import LLM_VHOST
import neon_mq_connector.utils.client_utils as mq_connector_client_utils


def load_legacy_config() -> Union[dict, None]:
Expand All @@ -44,6 +45,7 @@ def load_legacy_config() -> Union[dict, None]:
with open(legacy_config_path) as f:
config = json.load(f)
init_log(config=config)
mq_connector_client_utils._default_mq_config = config.get("MQ")
return config


Expand Down

0 comments on commit 18f1755

Please sign in to comment.