mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
fix: don't assert created_by is None
We no longer set it to none; instead, in compliance with openai's standard, just omit it
This commit is contained in:
parent
0c2aaee2c7
commit
2ed929a4cd
1 changed files with 0 additions and 1 deletions
|
|
@ -362,7 +362,6 @@ async def test_mock_google_ai_studio_compaction():
|
|||
decoded = base64.b64decode(compaction_item["encrypted_content"]).decode("utf-8")
|
||||
assert "cats many times" in decoded
|
||||
assert compaction_item["id"].startswith("cmp_")
|
||||
assert compaction_item["created_by"] is None
|
||||
else:
|
||||
assert getattr(compaction_item, "type", None) == "compaction"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue