690522:0839 227 #02
This commit is contained in:
@@ -36,9 +36,9 @@ CLAMAV_PORT=3310
|
||||
# ========================================
|
||||
|
||||
# Isolated AI Host (Desk-5439)
|
||||
AI_HOST_URL=http://192.168.10.100:11434
|
||||
AI_QDRANT_URL=http://192.168.10.100:6333
|
||||
AI_N8N_WEBHOOK_URL=http://192.168.10.100:5678/webhook/lcbp3-ai
|
||||
AI_HOST_URL=http://192.168.10.8:11434
|
||||
AI_QDRANT_URL=http://192.168.10.8:6333
|
||||
AI_N8N_WEBHOOK_URL=http://192.168.10.8:5678/webhook/lcbp3-ai
|
||||
AI_N8N_SERVICE_TOKEN=change-me-service-token
|
||||
AI_TIMEOUT_MS=30000
|
||||
AI_MAX_RETRIES=3
|
||||
@@ -54,18 +54,18 @@ OLLAMA_MODEL_MAIN=gemma4:e4b
|
||||
OLLAMA_MODEL_EMBED=nomic-embed-text
|
||||
OLLAMA_EMBED_MODEL=nomic-embed-text
|
||||
OLLAMA_RAG_MODEL=gemma4:e4b
|
||||
OLLAMA_URL=http://192.168.10.100:11434
|
||||
OLLAMA_URL=http://192.168.10.8:11434
|
||||
|
||||
# Qdrant (ADR-023A)
|
||||
QDRANT_HOST=http://192.168.10.100:6333
|
||||
QDRANT_HOST=http://192.168.10.8:6333
|
||||
QDRANT_COLLECTION=lcbp3_documents
|
||||
|
||||
# OCR sidecar (PaddleOCR on Desk-5439)
|
||||
OCR_CHAR_THRESHOLD=100
|
||||
OCR_API_URL=http://192.168.10.100:8765
|
||||
OCR_API_URL=http://192.168.10.8:8765
|
||||
|
||||
# Thai preprocessing microservice (PyThaiNLP — Admin Desktop)
|
||||
THAI_PREPROCESS_URL=http://192.168.10.100:8765
|
||||
THAI_PREPROCESS_URL=http://192.168.10.8:8765
|
||||
|
||||
# ADR-023 forbids cloud AI fallback for project documents.
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// File: backend/tests/integration/cross-spec/qdrant-isolation.spec.ts
|
||||
// Change Log:
|
||||
// - 2026-05-22: อัปเดต IP Address ของ Qdrant จาก 192.168.10.100 เป็น 192.168.10.8 ตามความต้องการของผู้ใช้
|
||||
// - 2026-05-21: แก้ไข Type Casting ของ AiQdrantService ด้วย unknown
|
||||
// - 2026-05-16: Cross-spec integration test for QdrantService projectPublicId isolation
|
||||
// - 2026-05-16: Fixed mocking strategy to use factory pattern with proper method exposure
|
||||
@@ -49,8 +50,8 @@ describe('Cross-Spec: QdrantService Isolation', () => {
|
||||
useValue: {
|
||||
get: jest.fn((key: string) => {
|
||||
const config: Record<string, string> = {
|
||||
AI_QDRANT_URL: 'http://192.168.10.100:6333',
|
||||
QDRANT_URL: 'http://192.168.10.100:6333',
|
||||
AI_QDRANT_URL: 'http://192.168.10.8:6333',
|
||||
QDRANT_URL: 'http://192.168.10.8:6333',
|
||||
};
|
||||
return config[key];
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user