|
wxMaxima
|
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 |
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()).