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 GtLlmConnectionRegistry
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.
GtLlmConnectionRegistry instance addConnection: (GtLlmConnection new provider: GtOllamaProvider; model: 'llama3.1')
You can also override the default connection to ensure that the next chat or assistant you work with uses that provider by default.
GtLlmConnectionRegistry instance defaultConnection: (GtLlmConnection new provider: GtAnthropicProvider; model: 'claude-3-7-sonnet-20250219')