chore: upgrade Pipecat to 1.13.0 and adapt MCP 2.x
This commit is contained in:
@@ -13,8 +13,8 @@ from services.pipecat.service_factory import (
|
||||
)
|
||||
|
||||
|
||||
class LLMServiceFactoryTest(unittest.TestCase):
|
||||
def test_openai_compatible_llm_converts_async_tool_developer_result(self):
|
||||
class LLMServiceFactoryTest(unittest.IsolatedAsyncioTestCase):
|
||||
async def test_openai_compatible_llm_converts_async_tool_developer_result(self):
|
||||
service = create_llm(
|
||||
AssistantConfig(
|
||||
llm_interface_type="openai-llm",
|
||||
@@ -34,7 +34,7 @@ class LLMServiceFactoryTest(unittest.TestCase):
|
||||
]
|
||||
)
|
||||
|
||||
params = service.get_llm_adapter().get_llm_invocation_params(
|
||||
params = await service.get_llm_adapter().get_llm_invocation_params(
|
||||
context,
|
||||
convert_developer_to_user=not service.supports_developer_role,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user