Merge branch 'feat/quiet-llm' into 'dev'
feat: implemented extra log level for LLM token stream See merge request ics/sp/2025/n25b/pepperplus-ui!30
This commit was merged in pull request #30.
This commit is contained in:
@@ -15,6 +15,7 @@ type Setter<T> = (value: T | ((prev: T) => T)) => void;
|
||||
*/
|
||||
const optionMapping = new Map([
|
||||
["ALL", 0],
|
||||
["LLM", 9],
|
||||
["DEBUG", 10],
|
||||
["INFO", 20],
|
||||
["WARNING", 30],
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user