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,40 @@
|
||||
using Nexus.Api.Domain;
|
||||
|
||||
namespace Nexus.Api.Integrations;
|
||||
|
||||
public sealed record AgentRuntimeStatus(
|
||||
string Runtime,
|
||||
OperationalStatus Status,
|
||||
TimeSpan? Latency,
|
||||
string? Detail);
|
||||
|
||||
public sealed record ModelProviderStatus(
|
||||
string Provider,
|
||||
string Model,
|
||||
OperationalStatus Status,
|
||||
bool IsLocal,
|
||||
string? Detail);
|
||||
|
||||
public sealed record AgentChatResult(
|
||||
string Runtime,
|
||||
string AgentId,
|
||||
string ConversationId,
|
||||
string Content);
|
||||
|
||||
public interface IAgentRuntime
|
||||
{
|
||||
string Name { get; }
|
||||
Task<AgentRuntimeStatus> GetStatusAsync(CancellationToken cancellationToken);
|
||||
Task<AgentChatResult> ChatAsync(
|
||||
string message,
|
||||
string conversationId,
|
||||
string agentId,
|
||||
CancellationToken cancellationToken);
|
||||
}
|
||||
|
||||
public interface IModelProvider
|
||||
{
|
||||
string Name { get; }
|
||||
Task<IReadOnlyCollection<ModelProviderStatus>> GetModelsAsync(CancellationToken cancellationToken);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user