chore: snapshot in-progress question-gen work before preflight fixes
This commit is contained in:
@@ -61,9 +61,7 @@ async def test_cache_miss_returns_none(fake_redis: object) -> None:
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_cache_roundtrip(
|
||||
fake_redis: object, sample_response: LLMResponse
|
||||
) -> None:
|
||||
async def test_cache_roundtrip(fake_redis: object, sample_response: LLMResponse) -> None:
|
||||
"""set 后 get 应返回相同内容。"""
|
||||
cache = RedisResponseCache(redis=fake_redis, ttl_s=300)
|
||||
await cache.set("gpt-4o", MESSAGES, sample_response)
|
||||
|
||||
Reference in New Issue
Block a user