diff --git a/src/components/Logging/Filters.tsx b/src/components/Logging/Filters.tsx index b98cc52..4b95de6 100644 --- a/src/components/Logging/Filters.tsx +++ b/src/components/Logging/Filters.tsx @@ -15,6 +15,7 @@ type Setter = (value: T | ((prev: T) => T)) => void; */ const optionMapping = new Map([ ["ALL", 0], + ["LLM", 9], ["DEBUG", 10], ["INFO", 20], ["WARNING", 30], diff --git a/src/components/Logging/useLogs.ts b/src/components/Logging/useLogs.ts index d51fdcb..752a4ab 100644 --- a/src/components/Logging/useLogs.ts +++ b/src/components/Logging/useLogs.ts @@ -19,7 +19,7 @@ import {cell, type Cell} from "../../utils/cellStore.ts"; export type LogRecord = { name: string; message: string; - levelname: 'DEBUG' | 'INFO' | 'WARNING' | 'ERROR' | 'CRITICAL' | string; + levelname: 'LLM' | 'DEBUG' | 'INFO' | 'WARNING' | 'ERROR' | 'CRITICAL' | string; levelno: number; created: number; relativeCreated: number;