chore: enable F821, F401, W293 (#9503)

* auto fixes

* auto fix pt2 and transitive deps and undefined var checking locals()

* manual fixes (ignored or letta-code fixed)

* fix circular import
This commit is contained in:
Kian Jones
2026-02-17 10:07:40 -08:00
committed by Caren Thomas
parent fa70e09963
commit 25d54dd896
211 changed files with 534 additions and 2243 deletions

View File

@@ -2492,7 +2492,7 @@ async def test_query_messages_by_org_id_with_missing_conversation_id_schema(enab
@pytest.mark.asyncio
async def test_system_messages_not_embedded_during_agent_creation(server, default_user, enable_message_embedding):
"""Test that system messages are filtered out before being passed to the embedding pipeline during agent creation"""
from unittest.mock import AsyncMock, patch
from unittest.mock import patch
from letta.schemas.agent import CreateAgent
from letta.schemas.llm_config import LLMConfig