Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

Fix: Add missing OpenAI import in vLLM module (#3091)

Sakshi Srivastavaeb7c712aa6c4
diff --git a/mem0/llms/vllm.py b/mem0/llms/vllm.py
index 1f0fc8227..8ff51fce0 100644
--- a/mem0/llms/vllm.py
+++ b/mem0/llms/vllm.py
@@ -5,6 +5,7 @@ from typing import Dict, List, Optional
from mem0.configs.llms.base import BaseLlmConfig
from mem0.llms.base import LLMBase
from mem0.memory.utils import extract_json
+from openai import OpenAI
class VllmLLM(LLMBase):