added basic flow and prompting

This commit is contained in:
grimsace
2026-07-01 15:33:12 -05:00
parent 6c306a4a0f
commit c3f6cc2375
5 changed files with 595 additions and 301 deletions
+6
View File
@@ -72,6 +72,12 @@ namespace finder2e_foundry_converter.Services
}
}
public async Task<string> AskAsync(string baseUrl, string model, string prompt, List<string> imagePaths)
{
// Reuse GenerateResponseAsync semantics for single-shot prompts
return await GenerateResponseAsync(baseUrl, model, prompt, imagePaths);
}
private class OllamaModelsResponse
{
[JsonPropertyName("models")]