The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
Fix Ollama test (#1428)
Dev Khant11094f504e83
diff --git a/tests/llm/test_ollama.py b/tests/llm/test_ollama.pyindex 36a62b631..e45cb6bb9 100644--- a/tests/llm/test_ollama.py+++ b/tests/llm/test_ollama.py@@ -37,6 +37,7 @@ def test_get_answer_mocked_ollama(ollama_llm_config, mocker):def test_get_llm_model_answer_with_streaming(ollama_llm_config, mocker):ollama_llm_config.stream = Trueollama_llm_config.callbacks = [StreamingStdOutCallbackHandler()]+ mocker.patch("embedchain.llm.ollama.Client.list", return_value={"models": [{"name": "llama2"}]})mocked_ollama_chat = mocker.patch("embedchain.llm.ollama.OllamaLlm._get_answer", return_value="Test answer")llm = OllamaLlm(ollama_llm_config)