using System.Threading.Tasks;
using Mindforge.API.Providers;
using Mindforge.API.Services.Interfaces;

namespace Mindforge.API.Services
{
    public class AgentService : IAgentService
    {
        private readonly ILlmApiProvider _provider;

        public AgentService(ILlmApiProvider provider)
        {
            _provider = provider;
        }

        public Task<string> ProcessRequestAsync(string systemPrompt, string userPrompt)
        {
            return _provider.SendRequestAsync(systemPrompt, userPrompt);
        }
    }
}
