fix: correct YAML path for instance name and subtitle
get_instance_name and get_instance_subtitle now look up the nested instance.name and instance.subtitle keys to match the YAML structure.
This commit is contained in:
parent
7bada9f32b
commit
7f523788c2
1 changed files with 2 additions and 2 deletions
|
|
@ -46,11 +46,11 @@ def get_data_source_type() -> str:
|
|||
|
||||
|
||||
def get_instance_name() -> str:
|
||||
return get_value("instance_name", default="AI Data Analyst")
|
||||
return get_value("instance", "name", default="AI Data Analyst")
|
||||
|
||||
|
||||
def get_instance_subtitle() -> str:
|
||||
return get_value("instance_subtitle", default="")
|
||||
return get_value("instance", "subtitle", default="")
|
||||
|
||||
|
||||
def get_allowed_domains() -> list:
|
||||
|
|
|
|||
Loading…
Reference in a new issue