show reasoning in frontend and some other stuff
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/** @typedef {{title: string, url: string, snippet: string}} WebSource */
|
||||
/** @typedef {{message: string, model: string, chatId: number, webSearch?: boolean}} ChatRequest */
|
||||
/** @typedef {{role: string, content: string, sources?: WebSource[]}} ChatMessage */
|
||||
/** @typedef {{message: string, model: string, chatId: number, webSearch?: boolean, reasoning?: boolean}} ChatRequest */
|
||||
/** @typedef {{role: string, content: string, thinking?: string, sources?: WebSource[]}} ChatMessage */
|
||||
|
||||
export function createWebSearchToggle(button) {
|
||||
let enabled = false;
|
||||
|
||||
Reference in New Issue
Block a user