mirror of
https://github.com/NCBM/plyngent.git
synced 2026-11-07 15:37:55 +08:00
config: rename the DeepSeek flash model to deepseek-flash
DeepSeek dropped the `v4` prefix from its flash model, and the old id stays valid only as a compatibility alias. Seed the default catalog with the current name so a provider that omits `models` no longer offers a deprecated id, and follow the rename in the wire fixtures and the minimal config template. An explicit `deepseek-v4-flash` in TOML still passes through unchanged.
This commit is contained in:
@@ -169,12 +169,12 @@ async def test_session_llm_remembered(store: MemoryStore) -> None:
|
||||
session = await store.create_session(
|
||||
name="llm",
|
||||
provider_name="deepseek",
|
||||
model="deepseek-v4-flash",
|
||||
model="deepseek-flash",
|
||||
)
|
||||
row = await store.get_session(session.sid)
|
||||
assert row is not None
|
||||
assert row.provider_name == "deepseek"
|
||||
assert row.model == "deepseek-v4-flash"
|
||||
assert row.model == "deepseek-flash"
|
||||
updated = await store.update_session_llm(session.sid, model="deepseek-v4-pro")
|
||||
assert updated.provider_name == "deepseek"
|
||||
assert updated.model == "deepseek-v4-pro"
|
||||
|
||||
Reference in New Issue
Block a user