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 the error that occurs when VLLM is called (#3076)

Mingxiangyu2c496e6376d8
diff --git a/mem0/llms/vllm.py b/mem0/llms/vllm.py
index 8ff51fce0..bf66d4aa8 100644
--- a/mem0/llms/vllm.py
+++ b/mem0/llms/vllm.py
@@ -1,6 +1,8 @@
import json
import os
from typing import Dict, List, Optional
+from openai import OpenAI
+
from mem0.configs.llms.base import BaseLlmConfig
from mem0.llms.base import LLMBase