Arthur Passuello commited on
Commit
3de5636
·
1 Parent(s): 0eb61bf

Fixed config issue

Browse files
Files changed (1) hide show
  1. src/core/config.py +1 -1
src/core/config.py CHANGED
@@ -238,7 +238,7 @@ class ConfigManager:
238
  config = copy.deepcopy(config)
239
 
240
  for key, value in os.environ.items():
241
- if key.startswith('RAG_') and key != 'RAG_ENV':
242
  # Remove prefix and split by double underscore
243
  path_parts = key[4:].lower().split('__')
244
 
 
238
  config = copy.deepcopy(config)
239
 
240
  for key, value in os.environ.items():
241
+ if key.startswith('RAG_') and key not in ('RAG_ENV', 'RAG_CONFIG'):
242
  # Remove prefix and split by double underscore
243
  path_parts = key[4:].lower().split('__')
244