Encoding utf-8, bug fix

This commit is contained in:
AjaySi
2024-04-12 18:46:42 +05:30
parent e3c3c03729
commit bdab2e9959
4 changed files with 4 additions and 4 deletions

View File

@@ -128,7 +128,7 @@ def read_llm_parameters(config_path: str) -> tuple:
"""
try:
config = configparser.ConfigParser()
config.read(config_path)
config.read(config_path, encoding="utf-8")
gpt_provider = config.get('llm_options', 'gpt_provider')
model = config.get('llm_options', 'model')