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:
ZdenekSrotyr 2026-04-09 16:31:56 +02:00
parent 7bada9f32b
commit 7f523788c2

View file

@ -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: