Share formatter field label policy
This commit is contained in:
@@ -30,6 +30,10 @@ DEFAULT_PROMPT_FIELD_LABELS = (
|
||||
)
|
||||
|
||||
|
||||
def prompt_field_labels() -> tuple[str, ...]:
|
||||
return DEFAULT_PROMPT_FIELD_LABELS
|
||||
|
||||
|
||||
def clean_text(value: Any) -> str:
|
||||
text = "" if value is None else str(value)
|
||||
text = text.replace("\n", " ")
|
||||
|
||||
Reference in New Issue
Block a user