dify/dify-agent/tests/local/agenton_collections/layers/plain/test_basic.py
盐粒 Yanli 55f95dbc36
feat(agent): init agent server (#36087)
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-14 06:04:44 +00:00

7 lines
283 B
Python

from agenton_collections.layers.plain import PLAIN_PROMPT_LAYER_TYPE_ID, PromptLayer
def test_prompt_layer_type_id_constant_matches_implementation_class() -> None:
assert PLAIN_PROMPT_LAYER_TYPE_ID == "plain.prompt"
assert PromptLayer.type_id == PLAIN_PROMPT_LAYER_TYPE_ID