Skip to content

Commit 78824b3

Browse files
sec: logging
1 parent 27dbaba commit 78824b3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/amrita_core/chatmanager.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from .hook.event import CompletionEvent, PreCompletionEvent
2424
from .hook.matcher import MatcherManager
2525
from .libchat import call_completion, get_last_response, get_tokens, text_generator
26-
from .logging import logger
26+
from .logging import debug_log, logger
2727
from .protocol import MessageContent, StringMessageContent
2828
from .sessions import SessionsManager
2929
from .tokenizer import hybrid_token_count
@@ -576,8 +576,7 @@ async def _run(self):
576576
else ""
577577
)
578578
)
579-
logger.debug(self.train["content"])
580-
579+
debug_log(self.train["content"])
581580
logger.debug("Starting applying memory limitations..")
582581
async with MemoryLimiter(self.data, self.train, config=config) as lim:
583582
await lim.run_enforce()

0 commit comments

Comments
 (0)