wxMaxima
Loading...
Searching...
No Matches
Data Fields
AiCustomProviderConfig Struct Reference

One user-added custom provider, as persisted in Configuration's AiCustomProvidersJson() (everything except the API key, which lives in the OS secret store, keyed by CustomProviderSecretService(id) – see AiProvider::SaveApiKey()/LoadApiKey()). More...

#include <AiProvider.h>

Data Fields

wxString id
 Stable, internally-generated identifier – never shown in the UI and never reused, so renaming a provider or two providers sharing a display name can't collide in the secret store or in Configuration::AiActiveCustomProviderId(). See NewAiCustomProviderId().
 
wxString name
 User-chosen display name, shown in the provider dropdown.
 
AiProviderShape shape = AiProviderShape::OpenAiCompatible
 
wxString baseUrl
 Full request URL for OpenAI-compatible/Anthropic shapes; for Google's shape, the part before "<model>:generateContent" (mirrors GoogleProvider::RequestUrl()).
 
wxString model
 

Detailed Description

One user-added custom provider, as persisted in Configuration's AiCustomProvidersJson() (everything except the API key, which lives in the OS secret store, keyed by CustomProviderSecretService(id) – see AiProvider::SaveApiKey()/LoadApiKey()).


The documentation for this struct was generated from the following file: