Skip to content

Commit 031ca48

Browse files
authored
fix(logger): rename message field in logs (#2015)
1 parent 8e5cf9f commit 031ca48

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Chat UI
2-
1+
# Chat UI
2+
33
![Chat UI repository thumbnail](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/chat-ui/chat-ui-2026.png)
44

55
A chat interface for LLMs. It is a SvelteKit app and it powers the [HuggingChat app on hf.co/chat](https://huggingface.co/chat).

src/lib/server/logger.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ if (dev) {
1717

1818
export const logger = pino({
1919
...options,
20+
messageKey: "message",
2021
level: config.LOG_LEVEL || "info",
2122
formatters: {
2223
level: (label) => {

0 commit comments

Comments
 (0)