mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-08-14 08:52:06 +00:00
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:
co-authored by
Claude Opus 4.6
parent
47a37fcca3
commit
c36730320c
@@ -89,4 +89,3 @@ CLAUDE.md
|
||||
# Research output
|
||||
research_mining_*
|
||||
.python-version
|
||||
openjarvis-bugfix-spec-v2.md
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user