Share formatter field label policy

This commit is contained in:
2026-06-27 01:33:48 +02:00
parent 64887a2750
commit 5efa073bfb
7 changed files with 34 additions and 65 deletions
+4
View File
@@ -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", " ")