mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-09-01 15:19:05 +00:00
changes return to str | None:
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user