From 020b67b3cce5afc46a6753e5b7608d542f0cb5fa Mon Sep 17 00:00:00 2001 From: Blitblank Date: Thu, 23 Apr 2026 20:27:44 -0500 Subject: [PATCH] fiddling with docker networking urls --- api/src/Controllers/LlmController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Controllers/LlmController.cs b/api/src/Controllers/LlmController.cs index 566e023..36e15ca 100644 --- a/api/src/Controllers/LlmController.cs +++ b/api/src/Controllers/LlmController.cs @@ -17,7 +17,7 @@ public class LlmController : ControllerBase { // might create src/Services/Llm/... to better organize // private readonly LlmService llmService_; private readonly IHttpClientFactory httpClientFactory_; - private readonly string LLAMA_URL = "http://localhost:8010/completion"; // TODO: can just put this in appsettings + private readonly string LLAMA_URL = "http://host.docker.internal:8010/completion"; // TODO: can just put this in appsettings public LlmController(/* LlmService llmService, */ IHttpClientFactory httpClientFactory) { // llmService_ = llmService;