Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ STORAGE_DATABASE_TYPE=in-memory
CIPHER_MULTI_BACKEND=1
CIPHER_PG_URL=postgres://cipheruser:cipherpass@localhost:5432/cipherdb
CIPHER_WAL_FLUSH_INTERVAL=5000
# ====================
# ====================
# Memory Search Configuration
# ====================
# Options: knowledge, reflection, both
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ out/
.DS_Store

data/

# Logs
logs/
*.log
Expand Down Expand Up @@ -66,4 +67,5 @@ env.example.txt
.claude/
chroma-data/
qdrant-data/
faiss-data/
volumes/
20 changes: 10 additions & 10 deletions memAgent/cipher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,18 @@ llm:
# baseURL: $LMSTUDIO_BASE_URL

# Embedding configuration: ONLY ONE of the following
# OpenAI:
OpenAI:

# embedding:
# type: openai
# model: text-embedding-3-small
# apiKey: $OPENAI_API_KEY

Gemini:
embedding:
type: gemini
model: gemini-embedding-001
apiKey: $GEMINI_API_KEY
type: openai
model: text-embedding-3-small
apiKey: $OPENAI_API_KEY

# Gemini:
# embedding:
# type: gemini
# model: gemini-embedding-001
# apiKey: $GEMINI_API_KEY

# Ollama:
# embedding:
Expand Down
2 changes: 2 additions & 0 deletions src/core/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ const envSchema = z.object({
WORKSPACE_VECTOR_STORE_DISTANCE: z.enum(['Cosine', 'Euclidean', 'Dot', 'Manhattan']).optional(),
WORKSPACE_VECTOR_STORE_ON_DISK: z.boolean().optional(),
WORKSPACE_VECTOR_STORE_MAX_VECTORS: z.number().optional(),
// Redis-specific Configuration
WORKSPACE_REDIS_DATABASE: z.number().optional(),
// Pinecone-specific Configuration
WORKSPACE_PINECONE_PROVIDER: z.string().optional(),
WORKSPACE_PINECONE_REGION: z.string().optional(),
Expand Down
1 change: 0 additions & 1 deletion src/core/knowledge_graph/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,6 @@ export class KnowledgeGraphManager {
this.stats.connectionUptime = Date.now() - this.connectionStartTime;
}
} catch (error) {
console.log(error);
this.logger.warn(`${LOG_PREFIXES.MANAGER} Failed to update statistics:`, error);
}
}
Expand Down
Loading
Loading