mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-13 20:32:34 +00:00
Merge 679e2d09c1 into 63422e5b36
This commit is contained in:
commit
1665c6c4be
470 changed files with 17725 additions and 2810 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue