-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLocalModelPlanner.cs
More file actions
26 lines (23 loc) · 1.03 KB
/
LocalModelPlanner.cs
File metadata and controls
26 lines (23 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using DevMiniOS.Models;
using global::DevMiniOS.Interfaces;
using global::DevMiniOS.Model;
using System.Threading.Tasks;
namespace DevMiniOS.Services
{
/// <summary>
/// Placeholder for a planner that uses a local LLM. Not implemented yet.
/// </summary>
public sealed class LocalModelPlanner : IPlanner
{
/// <summary>
/// Creates a plan from a given free-text prompt.
/// </summary>
/// <param name="freeText">The free-text prompt to interpret.</param>
/// <returns>A <see cref="Plan"/> object representing the generated plan.</returns>
/// <exception cref="NotSupportedException">Thrown because this planner is not yet implemented.</exception>
public async Task<Plan> CreatePlanAsync(string freeText)
{
throw new NotSupportedException("Local model planner is not yet implemented. Configure 'Planner.Mode' to 'Rules' in appsettings.json.");
}
}
}