You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kev/Drawer/AI/Interface/IFormRequestNotifier.cs

15 lines
532 B
C#

1 month ago
namespace AI.Interface
{
/// <summary>
/// 表单请求通知:当 AI 调用 ShowForm 时,由插件触发,通知 UI 插入对应表单消息。
/// </summary>
public interface IFormRequestNotifier
{
/// <summary>
/// 请求在触发该请求的会话中显示指定 ID 的表单(绑定到当前 LLM 请求所在会话,避免串会话)。
/// </summary>
/// <param name="formId">表单 ID如 gridding-load-xyz</param>
void RequestForm(string formId);
}
}