Changes
Build and Push Docker Images / build (push) Failing after 6s

This commit is contained in:
2026-05-06 18:12:40 +03:00
parent b154fe51c3
commit 5db34b9731
22 changed files with 82 additions and 55 deletions
+7
View File
@@ -0,0 +1,7 @@
namespace Shared.Models.Settings
{
public class AiSettings
{
public string Provider { get; set; } = "OpenAI";
}
}
@@ -0,0 +1,8 @@
namespace Shared.Models.Settings
{
public class InternalApiSettings
{
public string ApiKey { get; set; } = string.Empty;
public bool RequireApiKey { get; set; } = false;
}
}
+9
View File
@@ -0,0 +1,9 @@
namespace Shared.Models.Settings
{
public class OllamaSettings
{
public string BaseUrl { get; set; } = "http://localhost:11434";
public string ChatModel { get; set; } = "llama3.1:8b";
public int TimeoutSeconds { get; set; } = 180;
}
}
+9
View File
@@ -0,0 +1,9 @@
namespace Shared.Models.Settings
{
public class OpenAiSettings
{
public string ApiKey { get; set; } = string.Empty;
public string ChatModel { get; set; } = "gpt-4o-mini";
public int TimeoutSeconds { get; set; } = 90;
}
}
+10
View File
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<RootNamespace>Shared.Models</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>