|
wxMaxima
|
The configuration dialog's AI tab: what is on it, and when it exists. More...
#include <wx/app.h>#include <wx/bookctrl.h>#include <wx/checkbox.h>#include <wx/config.h>#include <wx/fileconf.h>#include <wx/filename.h>#include <wx/log.h>#include <wx/statbox.h>#include "dialogs/ConfigDialogue.h"#include <catch2/catch.hpp>Data Structures | |
| class | TestApp |
Functions | |
| SCENARIO ("The AI tab exists and holds the MCP server settings") | |
| wxDECLARE_APP (TestApp) | |
| int | main (int argc, char **argv) |
The configuration dialog's AI tab: what is on it, and when it exists.
It holds two independent things in two boxes: "Contacting AIs" (the AI Chat sidebar's providers and API keys), which needs the AI tools compiled in and a secret store, and the MCP server, which gives external tools access to the worksheet and needs neither – it is part of every build and stores nothing secret. So the tab has to exist in every build, and the MCP settings have to be on it, whether or not a secret store is reachable. Before, the MCP settings sat on the Options tab and the AI tab vanished without a secret store.