feat(models): add model test debugger for saved model configs
Let admins send real requests against configured chat, embedding, rerank, VLM, and ASR models from settings, with thinking controls shown only when the model supports them.
This commit is contained in:
@@ -4237,6 +4237,7 @@ export default {
|
||||
},
|
||||
actions: {
|
||||
addModel: 'Add Model',
|
||||
debugModel: 'Model Test',
|
||||
setDefault: 'Set as Default'
|
||||
},
|
||||
source: {
|
||||
@@ -4298,6 +4299,54 @@ export default {
|
||||
},
|
||||
builtinTag: 'Built-in',
|
||||
confirmDelete: 'Delete model "{name}"?',
|
||||
debug: {
|
||||
title: 'Model Test',
|
||||
description: 'Send a real request to a saved model and inspect the response',
|
||||
groupModel: 'Select model',
|
||||
groupInput: 'Test input',
|
||||
groupResult: 'Result',
|
||||
modelType: 'Model type',
|
||||
model: 'Model',
|
||||
modelPlaceholder: 'Select a model to test',
|
||||
noModelsForType: 'No saved models of this type',
|
||||
query: 'Input',
|
||||
queryPlaceholder: 'Enter the text to send to the model',
|
||||
embeddingInput: 'Text to embed',
|
||||
embeddingPlaceholder: 'Enter text to generate an embedding',
|
||||
vlmPrompt: 'Image prompt',
|
||||
vlmPromptPlaceholder: 'For example: Describe this image in detail',
|
||||
documents: 'Candidate documents',
|
||||
documentsPlaceholder: 'Enter one candidate document per line',
|
||||
documentsHint: 'Each non-empty line is sent as a separate document to the ReRank model',
|
||||
imageFile: 'Image file',
|
||||
audioFile: 'Audio file',
|
||||
chooseFile: 'Choose file',
|
||||
parameters: 'Request parameters',
|
||||
thinking: 'Thinking mode',
|
||||
thinkingDesc: 'Only applies to models that support thinking',
|
||||
systemPrompt: 'System Prompt',
|
||||
systemPromptPlaceholder: 'Optional system prompt',
|
||||
run: 'Run test',
|
||||
copyResult: 'Copy result',
|
||||
history: 'History',
|
||||
thinkOn: 'Thinking on',
|
||||
thinkOff: 'Thinking off',
|
||||
runLabel: 'Run #{n}',
|
||||
success: 'Request succeeded',
|
||||
failed: 'Request failed',
|
||||
rawResponse: 'Response',
|
||||
requestPreview: 'Request preview',
|
||||
requestFailed: 'Model test request failed',
|
||||
metrics: {
|
||||
dimension: 'Dimensions',
|
||||
resultCount: 'Result count',
|
||||
answerChars: 'Answer chars',
|
||||
reasoningChars: 'Reasoning chars',
|
||||
reasoningReturned: 'Reasoning returned',
|
||||
textChars: 'Transcript chars',
|
||||
segmentCount: 'Segment count',
|
||||
},
|
||||
},
|
||||
},
|
||||
// New: Ollama Settings
|
||||
ollamaSettings: {
|
||||
|
||||
Reference in New Issue
Block a user