22#ifndef AICONNECTIONMONITOR_H
23#define AICONNECTIONMONITOR_H
27#include <wx/richtext/richtextctrl.h>
50 void Clear()
override;
53 void Add_Request(
const wxString &providerName,
const wxString &requestBody);
55 void Add_Response(
bool ok,
const wxString &responseBodyOrDetail);
60 bool m_hasContent =
false;
A sidebar that shows the raw HTTP traffic between wxMaxima and the configured AI provider – the AI Ch...
Definition: AiConnectionMonitor.h:45
void Clear() override
Remove all text from the display.
Definition: AiConnectionMonitor.cpp:40
void Add_Request(const wxString &providerName, const wxString &requestBody)
Record a request about to be sent to providerName.
Definition: AiConnectionMonitor.cpp:45
void Add_Response(bool ok, const wxString &responseBodyOrDetail)
Record the reply (or error detail) for the most recent request.
Definition: AiConnectionMonitor.cpp:64