mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-08-28 03:51:22 +00:00
changes return to str | None:
This commit is contained in:
parent
97b8999933
commit
bb8f8fa7be
@ -418,7 +418,7 @@ class PrivateGptUi:
|
|||||||
inputs=system_prompt_input,
|
inputs=system_prompt_input,
|
||||||
)
|
)
|
||||||
|
|
||||||
def get_model_label() -> str:
|
def get_model_label() -> str | None:
|
||||||
"""Get model label from llm mode setting YAML.
|
"""Get model label from llm mode setting YAML.
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
|
Loading…
Reference in New Issue
Block a user