refactor: use a single agent model path

This commit is contained in:
wuyang
2026-07-26 18:50:51 +08:00
parent 2e8e81c790
commit d95d06233f
23 changed files with 330 additions and 454 deletions
-12
View File
@@ -3,18 +3,6 @@ from __future__ import annotations
from agent_platform.store import RuntimeStore
async def test_conversation_mode_upgrade_is_one_way(settings) -> None:
store = RuntimeStore(settings.database_url)
await store.initialize()
try:
assert await store.select_mode("u1", "c1", "chat") == "chat"
assert await store.select_mode("u1", "c1", "work") == "work"
assert await store.select_mode("u1", "c1", "chat") == "work"
assert await store.select_mode("u2", "c1", "chat") == "chat"
finally:
await store.close()
async def test_memory_and_events_are_user_scoped(settings) -> None:
store = RuntimeStore(settings.database_url)
await store.initialize()