fix: ai request mit tenant bezug + ai2

This commit is contained in:
2026-06-29 13:56:01 +02:00
parent c25af9c053
commit c2ff4006a4
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ namespace AiCoreUnitTest
[TestInitialize]
public void TestInitialize()
{
OllamaUrl = "https://w2.ownchat.de";
OllamaUrl = "https://ai2.ownsoft.de";
OllamaKey = "mu9ZPuUXJ4aVGLU1WL2RfPCeSMRmJREwyjVJBP7bHfSz8quZRqN7e7UwnwCDi8GZ";
}

View File

@@ -42,7 +42,7 @@ namespace BeWo.Data
{
get
{
return HttpContext.Current.Session["tenant"] as string;
return HttpContext.Current?.Session["tenant"] as string;
}
set