mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 11:50:37 +08:00
17 lines
458 B
Python
17 lines
458 B
Python
from os.path import abspath, dirname, join
|
|
|
|
from dynaconf import Dynaconf
|
|
|
|
current_dir = dirname(abspath(__file__))
|
|
settings = Dynaconf(
|
|
envvar_prefix=False,
|
|
merge_enabled=True,
|
|
settings_files=[join(current_dir, f) for f in [
|
|
"settings/.secrets.toml",
|
|
"settings/configuration.toml",
|
|
"settings/pr_reviewer_prompts.toml",
|
|
"settings/pr_questions_prompts.toml",
|
|
"settings_prod/.secrets.toml"
|
|
]]
|
|
)
|