Studio: text-mode default with VLM-captioned figure splicing; helper VLM fallback
This commit is contained in:
parent
26d2421b6c
commit
aedede2f2e
10 changed files with 284 additions and 117 deletions
|
|
@ -484,7 +484,7 @@ export function ChatSettingsPanel({
|
|||
ragDefaults?.chunking_strategy ??
|
||||
"standard";
|
||||
const effectiveThreadMode: KBMode =
|
||||
threadSettings?.mode ?? ragDefaults?.mode ?? "multimodal";
|
||||
threadSettings?.mode ?? ragDefaults?.mode ?? "text";
|
||||
|
||||
const aui = useAui();
|
||||
// Brand-new chat has no backend thread yet — initialize the local
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ export function KBCreateDialog({
|
|||
|
||||
const initialStrategy: ChunkingStrategy =
|
||||
defaults?.chunking_strategy ?? "standard";
|
||||
const initialMode: KBMode = defaults?.mode ?? "multimodal";
|
||||
const initialMode: KBMode = defaults?.mode ?? "text";
|
||||
const initialEmbedder = defaults?.embedding_model ?? "";
|
||||
|
||||
const [name, setName] = useState("");
|
||||
|
|
@ -76,7 +76,7 @@ export function KBCreateDialog({
|
|||
setDescription("");
|
||||
setEmbeddingModel(defaults?.embedding_model ?? "");
|
||||
setChunkingStrategy(defaults?.chunking_strategy ?? "standard");
|
||||
setMode(defaults?.mode ?? "multimodal");
|
||||
setMode(defaults?.mode ?? "text");
|
||||
setError(null);
|
||||
setSubmitting(false);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ export function RagDefaultsSection() {
|
|||
|
||||
const [chunkingStrategy, setChunkingStrategy] =
|
||||
useState<ChunkingStrategy>("standard");
|
||||
const [mode, setMode] = useState<KBMode>("multimodal");
|
||||
const [mode, setMode] = useState<KBMode>("text");
|
||||
const [embeddingModel, setEmbeddingModel] = useState("");
|
||||
const [error, setError] = useState<string | null>(null);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue