mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 19:09:21 +08:00
chore: normalize frozenset literals and myscale typing (#34327)
This commit is contained in:
@@ -800,8 +800,8 @@ class DraftVariableSaver:
|
||||
# technical variables from being exposed in the draft environment, particularly those
|
||||
# that aren't meant to be directly edited or viewed by users.
|
||||
_EXCLUDE_VARIABLE_NAMES_MAPPING: dict[NodeType, frozenset[str]] = {
|
||||
BuiltinNodeTypes.LLM: frozenset(["finish_reason"]),
|
||||
BuiltinNodeTypes.LOOP: frozenset(["loop_round"]),
|
||||
BuiltinNodeTypes.LLM: frozenset(("finish_reason",)),
|
||||
BuiltinNodeTypes.LOOP: frozenset(("loop_round",)),
|
||||
}
|
||||
|
||||
# Database session used for persisting draft variables.
|
||||
|
||||
Reference in New Issue
Block a user