mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
cleaned up schemas for api/mcp server
This commit is contained in:
@@ -186,8 +186,8 @@ async def test_add_observations(test_entity_data, memory_service, test_config):
|
||||
|
||||
response = AddObservationsResponse.model_validate_json(result[0].resource.text) # pyright: ignore [reportAttributeAccessIssue]
|
||||
assert response.entity_id == entity_id
|
||||
assert len(response.added_observations) == 1
|
||||
assert response.added_observations[0].content == "A new observation"
|
||||
assert len(response.observations) == 1
|
||||
assert response.observations[0].content == "A new observation"
|
||||
|
||||
@pytest.mark.anyio
|
||||
async def test_invalid_tool_name(test_config):
|
||||
|
||||
Reference in New Issue
Block a user