Authenticating to ollama.com
GtLOllamaProvider
can load an API key from a secrets file (GtLOllamaClient>>#defaultApiKeyFile
) or from the clipboard.
ollama.com appears to only support the generate endpoint which currently needs to be explicitly set:
provider := GtLOllamaProvider new modelName: 'gemma3:27b-cloud'. provider endpoint: #generate; baseUrl: 'https://ollama.com' asZnUrl; loadApiKeyFromFile. chat := GtLChat new provider: provider. chat sendString: 'Hi, who are you?'