initial copy

This commit is contained in:
2025-12-24 21:26:35 +03:00
parent ff1f62f341
commit f3b5260f7e
88 changed files with 3308 additions and 0 deletions

28
s8n-ai/AiAgent.cs Normal file
View File

@@ -0,0 +1,28 @@
using s8n_ai.Models;
using s8n_runtime;
namespace s8n_ai;
public class AiAgent : WorkflowRuntimeNodeBase
{
public object? Model { get; set; }
public event EventHandler<AiMessage>? Complete;
public event EventHandler<AiMessageChunk>? Chunk;
public object? HistoryStore { get; set; }
public object? VectorStore { get; set; }
public List<object>? McpFunctions { get; set; }
public string? SystemPrompt { get; set; }
public string? LastMessage { get; set; }
public void Handle(object sender, AiMessage e)
{
// TODO:
}
}