Skip to content

Misc. bug: WebUI, first application of default settings (JSON) #18185

@ServeurpersoCom

Description

@ServeurpersoCom

Name and Version

master

Operating systems

No response

Which llama.cpp modules do you know to be affected?

No response

Command line

llama-server --webui-config-file config.json

Problem description & steps to reproduce

Follow-up #18028 #17940

To reproduce the bug:

  • configure a JSON object with custom values
  • serve it with llama-server --webui-config-file config.json
  • Open a private browsing window, and click "Reset settings" to see the JSON configuration applied.

Expected behavior: immediate application

Testing JSON

{
 "showSystemMessage": true,
 "showThoughtInProgress": true,
 "showToolCalls": true,
 "disableReasoningFormat": false,
 "keepStatsVisible": true,
 "showMessageStats": true,
 "askForTitleConfirmation": false,
 "pasteLongTextToFileLen": 0,
 "pdfAsImage": false,
 "disableAutoScroll": false,
 "renderUserContentAsMarkdown": false,
 "autoMicOnEmpty": false,
 "pyInterpreterEnabled": false,
 "enableContinueGeneration": true
}

First Bad Commit

No response

Relevant log output

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions