This commit is contained in:
Francisco Arceo 2025-10-27 10:47:57 -07:00 committed by GitHub
commit 1665c6c4be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
470 changed files with 17725 additions and 2810 deletions

View file

@ -182,11 +182,11 @@ def test_content_from_data_and_mime_type_both_encodings_fail():
async def test_memory_tool_error_handling():
"""Test that memory tool handles various failures gracefully without crashing."""
from llama_stack.providers.inline.tool_runtime.rag.config import RagToolRuntimeConfig
from llama_stack.providers.inline.tool_runtime.rag.memory import MemoryToolRuntimeImpl
from llama_stack.providers.inline.tool_runtime.file_search.config import RagToolRuntimeConfig
from llama_stack.providers.inline.tool_runtime.file_search.file_search import FileSearchToolRuntimeImpl
config = RagToolRuntimeConfig()
memory_tool = MemoryToolRuntimeImpl(
memory_tool = FileSearchToolRuntimeImpl(
config=config,
vector_io_api=AsyncMock(),
inference_api=AsyncMock(),