fix: send message tests failing on main (#3878)

This commit is contained in:
cthomas
2025-08-12 12:47:50 -07:00
committed by GitHub
parent 99902ff05e
commit 1ec9ccaf20
2 changed files with 3 additions and 0 deletions

View File

@@ -148,6 +148,7 @@ jobs:
DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }}
GOOGLE_CLOUD_PROJECT: ${{ secrets.GOOGLE_CLOUD_PROJECT }}
GOOGLE_CLOUD_LOCATION: ${{ secrets.GOOGLE_CLOUD_LOCATION }}
LETTA_GEMINI_FORCE_MINIMUM_THINKING_BUDGET: true
run: |
poetry run pytest \
-s -vv \

View File

@@ -817,6 +817,8 @@ def test_agent_loop_error(
agent_id=agent_state_no_tools.id,
messages=USER_MESSAGE_FORCE_REPLY,
)
time.sleep(0.5)
messages_from_db = client.agents.messages.list(agent_id=agent_state_no_tools.id, after=last_message[0].id)
assert len(messages_from_db) == 0