Authenticating to ollama.com

GtLOllamaProvider GtLModelProvider << #GtLOllamaProvider slots: {}; sharedVariables: { #IsConnectable }; tag: 'Provider'; package: 'Gt4Llm-Ollama' can load an API key from a secrets file (GtLOllamaClient>>#defaultApiKeyFile defaultApiKeyFile ^ FileLocator home / '.secrets' / 'ollama-api-key.txt' ) 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?'