add api tab in webui and handle invalid num_turns

This commit is contained in:
ArnoChen
2025-02-17 12:32:04 +08:00
parent 9e448b7da4
commit 6da53a302a
2 changed files with 5 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ import { defaultQueryLabel } from '@/lib/constants'
import { Message, QueryRequest } from '@/api/lightrag'
type Theme = 'dark' | 'light' | 'system'
type Tab = 'documents' | 'knowledge-graph' | 'retrieval'
type Tab = 'documents' | 'knowledge-graph' | 'retrieval' | 'api'
interface SettingsState {
theme: Theme