1 write to _metadata
Microsoft.Extensions.AI.Ollama (1)
OllamaChatClient.cs (1)
72
_metadata
= new ChatClientMetadata("ollama", endpoint, modelId);
4 references to _metadata
Microsoft.Extensions.AI.Ollama (4)
OllamaChatClient.cs (4)
114
ModelId = response.Model ?? options?.ModelId ??
_metadata
.DefaultModelId,
161
string? modelId = chunk.Model ??
_metadata
.DefaultModelId;
209
serviceType == typeof(ChatClientMetadata) ?
_metadata
:
309
Model = options?.ModelId ??
_metadata
.DefaultModelId ?? string.Empty,