fix: Fix claude sonnet 3_7 tests (#2767)

This commit is contained in:
Matthew Zhou
2025-06-11 17:53:03 -07:00
committed by GitHub
parent 78dad0db7a
commit 28fdaaff74

View File

@@ -371,7 +371,7 @@ def async_client(server_url: str) -> AsyncLetta:
yield async_client_instance
@pytest.fixture(scope="module")
@pytest.fixture(scope="function")
def agent_state(client: Letta) -> AgentState:
"""
Creates and returns an agent state for testing with a pre-configured agent.
@@ -394,7 +394,7 @@ def agent_state(client: Letta) -> AgentState:
client.agents.delete(agent_state_instance.id)
@pytest.fixture(scope="module")
@pytest.fixture(scope="function")
def agent_state_no_tools(client: Letta) -> AgentState:
"""
Creates and returns an agent state for testing with a pre-configured agent.