mirror of
https://github.com/infinition/Bjorn.git
synced 2026-03-17 17:41:03 +00:00
Add LLM configuration and MCP server management UI and backend functionality
- Implemented a new SPA page for LLM Bridge and MCP Server settings in `llm-config.js`. - Added functionality for managing LLM and MCP configurations, including toggling, saving settings, and testing connections. - Created HTTP endpoints in `llm_utils.py` for handling LLM chat, status checks, and MCP server configuration. - Integrated model fetching from LaRuche and Ollama backends. - Enhanced error handling and logging for better debugging and user feedback.
This commit is contained in:
@@ -108,6 +108,7 @@
|
||||
</span>
|
||||
<button class="btn" id="modeToggle" aria-pressed="true">Auto</button>
|
||||
<button class="btn" id="attackToggle">Attack ▾</button>
|
||||
<button class="btn" id="consoleBubbleToggle" title="Toggle bubble mode">💬</button>
|
||||
<button class="btn" id="clearLogs" data-i18n="console.clear">Clear</button>
|
||||
<button class="btn" id="closeConsole">X</button>
|
||||
<div id="consoleFontRow" class="console-fontrow">
|
||||
@@ -117,6 +118,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="console-body" id="logout" role="log" aria-live="polite"></div>
|
||||
<div class="console-footer" id="console-chat-footer" style="display:none">
|
||||
<textarea id="consoleInput" class="console-input" placeholder="Chat with Bjorn..." rows="1"></textarea>
|
||||
<button id="consoleSend" class="console-send-btn">➤</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- QuickPanel (WiFi/Bluetooth management) -->
|
||||
|
||||
Reference in New Issue
Block a user