Multi-agent AI laboratory with ASP.NET Core 8.0 backend and Flutter frontend. Implements CQRS architecture, OpenAPI contract-first API design. BACKEND: Agent management, conversations, executions with PostgreSQL + Ollama FRONTEND: Cross-platform UI with strict typing and Result-based error handling Co-Authored-By: Jean-Philippe Brule <jp@svrnty.io>
28 lines
539 B
C#
28 lines
539 B
C#
namespace Codex.Dal.Enums;
|
|
|
|
/// <summary>
|
|
/// Represents the role of a message in a conversation.
|
|
/// </summary>
|
|
public enum MessageRole
|
|
{
|
|
/// <summary>
|
|
/// Message from the user
|
|
/// </summary>
|
|
User,
|
|
|
|
/// <summary>
|
|
/// Message from the AI assistant
|
|
/// </summary>
|
|
Assistant,
|
|
|
|
/// <summary>
|
|
/// System message (instructions, context) - always included in conversation window
|
|
/// </summary>
|
|
System,
|
|
|
|
/// <summary>
|
|
/// Message from a tool execution result
|
|
/// </summary>
|
|
Tool
|
|
}
|