Skip to content

Commit 9ecb21a

Browse files
committed
fix(messages): change replay meta payload value to string
1 parent 7138be4 commit 9ecb21a

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

api/routers/messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ async def finalize_assistant_message(content_value: str, *, cacheable: bool = Tr
704704
"message_id": client_message_id,
705705
}
706706
if cached_response:
707-
meta_payload["replay"] = True
707+
meta_payload["replay"] = "true"
708708
yield emit("meta", meta_payload)
709709

710710
user_payload = {

api/tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,6 @@ def patch_settings(monkeypatch, test_settings):
470470
monkeypatch.setattr(cache_module, "get_settings", lambda: test_settings)
471471
monkeypatch.setattr(auth_module, "get_settings", lambda: test_settings)
472472
monkeypatch.setattr(llm_client_module, "get_settings", lambda: test_settings)
473-
search_module.settings = test_settings
474473
return test_settings
475474

476475

0 commit comments

Comments
 (0)