Managing LLM provider connections and setting the default
You can manage connections with the various providers and set a default connection yourself. This is useful if you want to talk to Ollama or Anthropic by default, or use a different model on OpenAI.
The connections are managed using the GtLConnectionRegistry
class. Individual connections are saved and handled there. You can right click on any of the connectable entries below to set them as default.
New connections can be added by instantiating a connection with a provider and model and adding it to the registry.
GtLConnectionRegistry instance addConnection: (GtLConnection new providerClass: GtLOpenAIProvider; label: 'GPT 5.1'; model: 'gpt-5.1')