From 7546441cae7eaf2703f8d8a03c7c100accd80d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D0=B8=D0=BD=D0=B0=D1=80=20=D0=9C=D0=B8=D1=80=D0=B7?= =?UTF-8?q?=D0=B0=D0=B3=D0=B8=D1=82=D0=BE=D0=B2?= Date: Thu, 11 Jun 2026 08:47:18 +0000 Subject: [PATCH] Initial commit with real LangChain modules.: remove langchain_ollama.py --- langchain_ollama.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 langchain_ollama.py diff --git a/langchain_ollama.py b/langchain_ollama.py deleted file mode 100644 index c4d4a05..0000000 --- a/langchain_ollama.py +++ /dev/null @@ -1,23 +0,0 @@ -"""Dummy langchain_ollama module for local testing. - -This module provides minimal stub classes to satisfy imports in main.py -without requiring the actual langchain-ollama package. -""" - -class ChatOllama: - def __init__(self, *args, **kwargs): - pass - - def invoke(self, *args, **kwargs): - return "" - -class OllamaEmbeddings: - def __init__(self, *args, **kwargs): - pass - - def embed_documents(self, documents): - # Return dummy embeddings (list of zeros) - return [[0.0] * 768 for _ in documents] - - def embed_query(self, query): - return [0.0] * 768