Class SupportAiConnection
- Namespace
- Tharga.Team
- Assembly
- Tharga.Team.dll
A team's AI connection as it may be shown: everything but the key.
public sealed record SupportAiConnection : IEquatable<SupportAiConnection>
- Inheritance
-
SupportAiConnection
- Implements
- Inherited Members
Remarks
No member here can carry the key. A key is written once, through ConnectAsync(string, SupportAiProviderRequest, CancellationToken), and never read back by anyone; HasApiKey is all a component needs to offer replacing it.
Properties
BaseAddress
The provider's address, for a provider connection; null for the platform's model and off.
public string BaseAddress { get; init; }
Property Value
ChangedAt
When the connection was last changed; null when the team never chose.
public DateTime? ChangedAt { get; init; }
Property Value
ChangedBy
Who last changed the connection, by name; null when the team never chose.
public string ChangedBy { get; init; }
Property Value
HasApiKey
Whether a key is stored for the provider.
public bool HasApiKey { get; init; }
Property Value
Kind
What the assistant answers the team with.
public SupportAiConnectionKind Kind { get; init; }
Property Value
Model
The model chosen at the provider; null for the platform's model and off.
public string Model { get; init; }