fiddling with docker networking urls
All checks were successful
Build and Deploy API / build-and-deploy (push) Successful in 8s
All checks were successful
Build and Deploy API / build-and-deploy (push) Successful in 8s
This commit is contained in:
@@ -17,7 +17,7 @@ public class LlmController : ControllerBase {
|
|||||||
// might create src/Services/Llm/... to better organize
|
// might create src/Services/Llm/... to better organize
|
||||||
// private readonly LlmService llmService_;
|
// private readonly LlmService llmService_;
|
||||||
private readonly IHttpClientFactory httpClientFactory_;
|
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) {
|
public LlmController(/* LlmService llmService, */ IHttpClientFactory httpClientFactory) {
|
||||||
// llmService_ = llmService;
|
// llmService_ = llmService;
|
||||||
|
|||||||
Reference in New Issue
Block a user