mirror of
https://github.com/mudler/LocalAI.git
synced 2026-09-13 06:45:26 -04:00
fix(agents): omit database credentials from logs
Pin the LocalAGI fix for PostgreSQL collection logging. Keep the PR in draft until the upstream fix merges and replaces the temporary override. Fixes #11991 Assisted-by: Codex:gpt-6
This commit is contained in:
1 parent
8321234275
commit
6de52350ff
3 files changed
+7
No files matched your search
@@ -94,6 +94,8 @@ LOCALAI_AGENT_POOL_DATABASE_URL=postgresql://localrecall:localrecall@postgres:54
|
||||
|
||||
The PostgreSQL image `quay.io/mudler/localrecall:v0.5.2-postgresql` is pre-configured with pgvector and ready to use.
|
||||
|
||||
PostgreSQL collection startup logs include the collection name but omit `LOCALAI_AGENT_POOL_DATABASE_URL` to protect database credentials.
|
||||
|
||||
#### Connection safety timeouts (PostgreSQL only)
|
||||
|
||||
The embedded vector store sets per-connection timeouts so a single stuck or corrupt index can never hold a lock indefinitely and stall every other collection operation. Safe defaults are applied automatically - you only need to set these to override them:
|
||||
|
||||
@@ -549,3 +549,6 @@ require (
|
||||
howett.net/plist v1.0.2-0.20250314012144-ee69052608d9 // indirect
|
||||
lukechampine.com/blake3 v1.4.1 // indirect
|
||||
)
|
||||
|
||||
// Pending https://github.com/mudler/LocalAGI/pull/494; use the upstream version after merge.
|
||||
replace github.com/mudler/LocalAGI => github.com/localai-org-maint-bot/LocalAGI v0.0.0-20260912120623-28f1255f46f8
|
||||
@@ -917,6 +917,8 @@ github.com/libp2p/zeroconf/v2 v2.2.0 h1:Cup06Jv6u81HLhIj1KasuNM/RHHrJ8T7wOTS4+Tv
|
||||
github.com/libp2p/zeroconf/v2 v2.2.0/go.mod h1:fuJqLnUwZTshS3U/bMRJ3+ow/v9oid1n0DmyYyNO1Xs=
|
||||
github.com/lithammer/fuzzysearch v1.1.8 h1:/HIuJnjHuXS8bKaiTMeeDlW2/AyIWk2brx1V8LFgLN4=
|
||||
github.com/lithammer/fuzzysearch v1.1.8/go.mod h1:IdqeyBClc3FFqSzYq/MXESsS4S0FsZ5ajtkr5xPLts4=
|
||||
github.com/localai-org-maint-bot/LocalAGI v0.0.0-20260912120623-28f1255f46f8 h1:oMX1+lsyi1nPpJXpMZ0R9edgDw70Aj9TsrKZ/KGnb70=
|
||||
github.com/localai-org-maint-bot/LocalAGI v0.0.0-20260912120623-28f1255f46f8/go.mod h1:Z97IpFdxmKaigCCpIzfo2Jz6wLwwbnaQrcBTLxyrF+o=
|
||||
github.com/lucasb-eyer/go-colorful v1.3.0 h1:2/yBRLdWBZKrf7gB40FoiKfAWYQ0lqNcbuQwVHXptag=
|
||||
github.com/lucasb-eyer/go-colorful v1.3.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
|
||||
github.com/lufia/plan9stats v0.0.0-20250317134145-8bc96cf8fc35 h1:PpXWgLPs+Fqr325bN2FD2ISlRRztXibcX6e8f5FR5Dc=
|
||||
|
||||
Reference in new issue
Block a user