From 16536c870c22434a7357beaa356b46d37c681f6f Mon Sep 17 00:00:00 2001 From: Roy Date: Sat, 8 Mar 2025 21:06:19 +0000 Subject: [PATCH] Commit unncessary files update --- .gitignore | 21 --------------------- tests/test_lightrag_ollama_chat.py | 14 +++++++------- 2 files changed, 7 insertions(+), 28 deletions(-) diff --git a/.gitignore b/.gitignore index 4f28427f..a4afe4ea 100644 --- a/.gitignore +++ b/.gitignore @@ -64,24 +64,3 @@ gui/ # unit-test files test_* -Miniconda3-latest-Linux-x86_64.sh -requirements_basic.txt -requirements.txt -examples/test_chromadb.py -examples/test_faiss.py -examples/test_neo4j.py -.gitignore -requirements.txt -examples/test_chromadb.py -examples/test_faiss.py -examples/* -tests/test_lightrag_ollama_chat.py -requirements.txt -requirements.txt -examples/test_chromadb.py -examples/test_faiss.py -examples/test_neo4j.py -tests/test_lightrag_ollama_chat.py -examples/test_chromadb.py -examples/test_faiss.py -examples/test_neo4j.py diff --git a/tests/test_lightrag_ollama_chat.py b/tests/test_lightrag_ollama_chat.py index f19e2974..80038928 100644 --- a/tests/test_lightrag_ollama_chat.py +++ b/tests/test_lightrag_ollama_chat.py @@ -38,16 +38,16 @@ class McpError(Exception): DEFAULT_CONFIG = { "server": { - "host": "host.docker.internal", - "port": 11434, - "model": "llama3.2:latest", + "host": "localhost", + "port": 9621, + "model": "lightrag:latest", "timeout": 300, "max_retries": 1, "retry_delay": 1, }, "test_cases": { - "basic": {"query": "How many disciples did Tang Seng have?"}, - "generate": {"query": "Who directed the TV series Journey to the West?"}, + "basic": {"query": "唐僧有几个徒弟"}, + "generate": {"query": "电视剧西游记导演是谁"}, }, } @@ -763,8 +763,8 @@ def parse_args() -> argparse.Namespace: Configuration file (config.json): { "server": { - "host": "host.docker.internal", # Server address - "port": 11434, # Server port + "host": "localhost", # Server address + "port": 9621, # Server port "model": "lightrag:latest" # Default model name }, "test_cases": {