[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
e4264499e3
commit
7c933fda6a
1 changed files with 3 additions and 3 deletions
|
|
@ -148,9 +148,9 @@ def test_chat_inference_settings_covers_frontend_persisted_fields():
|
|||
persisted = set(re.findall(r"^\s*(\w+)\??:", block.group(1), re.M)) - {"checkpoint"}
|
||||
|
||||
backend = set(chat_history.ChatInferenceSettings.model_fields)
|
||||
assert persisted == backend, (
|
||||
f"schema drift: frontend-only {persisted - backend}, backend-only {backend - persisted}"
|
||||
)
|
||||
assert (
|
||||
persisted == backend
|
||||
), f"schema drift: frontend-only {persisted - backend}, backend-only {backend - persisted}"
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue