Skip to content

Commit 160783f

Browse files
test(devui): use protocol-compatible client in discovery regression
Use the existing BaseChatClient fixture so the metadata regression satisfies the overloaded response protocol. Assertions and production code are unchanged.
1 parent e80552d commit 160783f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎python/packages/devui/tests/devui/test_discovery.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
),
2828
],
2929
)
30-
async def test_context_providers_in_agent_metadata(mock_chat_client, context_providers, expected):
30+
async def test_context_providers_in_agent_metadata(mock_base_chat_client, context_providers, expected):
3131
"""Discovery includes all configured providers in their configured order."""
32-
agent = Agent(client=mock_chat_client, name="Example", context_providers=context_providers)
32+
agent = Agent(client=mock_base_chat_client, name="Example", context_providers=context_providers)
3333

3434
entity_info = await EntityDiscovery().create_entity_info_from_object(agent)
3535

0 commit comments

Comments
 (0)