- 6 parsing tests for EmbeddingResponse struct - test_parse_real_embedding_response: exact format from embeddings-predictor - test_parse_768_dim_response: full 768-dim vector - test_parse_multi_input_response: array input returns multiple embeddings - test_parse_embedding_error_response: error format - test_parse_html_fails_gracefully: HTML error page correctly rejected - Confirms: parsing is correct, 'expected ident' error is non-JSON response
20 lines
535 B
Bash
20 lines
535 B
Bash
MEM_AUTH_MODE=none
|
|
MEM_RATE_LIMIT_INGEST=1000
|
|
MEM_RATE_LIMIT_QUERY=10000
|
|
MEM_IDEMPOTENCY_TTL_SECS=86400
|
|
MEM_EMBEDDING_BATCH_SIZE=4
|
|
|
|
DATABASE_URL=postgresql://app:***REMOVED***@127.0.0.1:5433/memory
|
|
|
|
# Embedding via direct port-forward (skip gateway auth)
|
|
LLM_ENDPOINT=http://localhost:9090/v1/chat/completions
|
|
LLM_API_BASE=http://localhost:9090
|
|
LLM_MODEL=nomic-ai/nomic-embed-text-v2-moe
|
|
LLM_TIMEOUT_SECS=60
|
|
ENABLE_LLM_EXTRACTION=true
|
|
EMBEDDINGS_MODEL=nomic-ai/nomic-embed-text-v2-moe
|
|
|
|
MEM_PORT=8081
|
|
MEM_API_KEY=test-key
|
|
MEM_HOME=/tmp
|