chore: remove contributor-specific gitignore entry and log memory injection errors

- Remove openjarvis-bugfix-spec-v2.md from .gitignore (not a general pattern)
- Replace bare `except: pass` with debug logging in routes.py memory injection

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jon Saad-Falcon
2026-03-16 16:57:55 -07:00
co-authored by Claude Opus 4.6
parent 47a37fcca3
commit c36730320c
2 changed files with 4 additions and 2 deletions
-1
View File
@@ -89,4 +89,3 @@ CLAUDE.md
# Research output
research_mining_*
.python-version
openjarvis-bugfix-spec-v2.md
+4 -1
View File
@@ -2,6 +2,7 @@
from __future__ import annotations
import logging
import uuid
from typing import Any
@@ -89,7 +90,9 @@ async def chat_completions(request_body: ChatCompletionRequest, request: Request
))
request_body.messages = new_msgs
except Exception:
pass # Don't break chat if memory retrieval fails
logging.getLogger("openjarvis.server").debug(
"Memory context injection failed", exc_info=True,
)
if request_body.stream:
bus = getattr(request.app.state, "bus", None)