chore: upgrade Pipecat to 1.13.0 and adapt MCP 2.x

This commit is contained in:
Xin Wang
2026-10-23 14:03:42 +08:00
parent 81a6fdc30c
commit d45be1e686
4 changed files with 95 additions and 15 deletions
+3 -3
View File
@@ -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,
)