dcdd77b5ae
Introduce ChannelMessage and ChatStreamUpdate types used across the solution for inter-project communication between channels, core, and the web interface.
20 lines
295 B
C#
20 lines
295 B
C#
namespace Luna.Shared;
|
|
|
|
public enum ChatStreamUpdateType
|
|
{
|
|
Thinking,
|
|
Text,
|
|
ToolCall,
|
|
ToolResult,
|
|
Usage,
|
|
Complete
|
|
}
|
|
|
|
public record ChatStreamUpdate(
|
|
ChatStreamUpdateType Type,
|
|
string? Content,
|
|
string? Role,
|
|
bool IsComplete,
|
|
string? MessageId = null
|
|
);
|