mirror of
https://github.com/langgenius/dify.git
synced 2026-11-11 13:51:25 +08:00
11 lines
482 B
Python
11 lines
482 B
Python
"""Exact citation-display metadata for the restricted standard Workflow profile.
|
|
|
|
This flag presents existing citation metadata; it grants no retrieval or node
|
|
capability. The caller retains raw revision binding and legacy disabled shapes.
|
|
"""
|
|
|
|
|
|
def is_citation_display_metadata(value: object) -> bool:
|
|
"""Only the native boolean display flag, without coercion or normalization."""
|
|
return type(value) is dict and set(value) == {"enabled"} and type(value["enabled"]) is bool
|