Initial commit: Nexus Mission Control Platform
- ASP.NET Core 10 Backend (JWT Auth, Agent config API) - Vue 3 Frontend (Dashboard, Team, Agents, Config Editor) - PostgreSQL Database - Docker Compose setup - Mission Control Dashboard redesign
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using Nexus.Api.Domain;
|
||||
|
||||
namespace Nexus.Api.Integrations;
|
||||
|
||||
public sealed class NvidiaProvider(IConfiguration configuration) : IModelProvider
|
||||
{
|
||||
public string Name => "NVIDIA";
|
||||
|
||||
public Task<IReadOnlyCollection<ModelProviderStatus>> GetModelsAsync(
|
||||
CancellationToken cancellationToken)
|
||||
{
|
||||
var configured = !string.IsNullOrWhiteSpace(
|
||||
configuration["Integrations:Nvidia:ApiKey"]);
|
||||
IReadOnlyCollection<ModelProviderStatus> models =
|
||||
[
|
||||
new(
|
||||
Name,
|
||||
"moonshotai/kimi-k2.6",
|
||||
configured ? OperationalStatus.Online : OperationalStatus.Unknown,
|
||||
false,
|
||||
configured ? "Credential configured" : "Credential required")
|
||||
];
|
||||
return Task.FromResult(models);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user