Implement LLM provider configuration and update user settings
- Added functionality to update the default LLM provider for users via a new endpoint in UserController. - Introduced LlmProvider enum to manage available LLM options: Auto, Gemini, OpenAI, and Claude. - Updated User and UserEntity models to include DefaultLlmProvider property. - Enhanced database context and migrations to support the new LLM provider configuration. - Integrated LLM services into the application bootstrap for dependency injection. - Updated TypeScript API client to include methods for managing LLM providers and chat requests.
This commit is contained in:
@@ -72,6 +72,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Managing.Domain.Tests", "Ma
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Managing.AppHost", "Managing.AppHost\Managing.AppHost.csproj", "{4712128B-F222-47C4-A347-AFF4E5BA02AE}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Managing.Mcp", "Managing.Mcp\Managing.Mcp.csproj", "{601B1A5B-568A-4238-AB93-78390FC52D91}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@@ -256,6 +258,14 @@ Global
|
||||
{4712128B-F222-47C4-A347-AFF4E5BA02AE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{4712128B-F222-47C4-A347-AFF4E5BA02AE}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{4712128B-F222-47C4-A347-AFF4E5BA02AE}.Release|x64.Build.0 = Release|Any CPU
|
||||
{601B1A5B-568A-4238-AB93-78390FC52D91}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{601B1A5B-568A-4238-AB93-78390FC52D91}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{601B1A5B-568A-4238-AB93-78390FC52D91}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{601B1A5B-568A-4238-AB93-78390FC52D91}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{601B1A5B-568A-4238-AB93-78390FC52D91}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{601B1A5B-568A-4238-AB93-78390FC52D91}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{601B1A5B-568A-4238-AB93-78390FC52D91}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{601B1A5B-568A-4238-AB93-78390FC52D91}.Release|x64.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
@@ -281,6 +291,7 @@ Global
|
||||
{B7D66A73-CA3A-4DE5-8E88-59D50C4018A6} = {A1296069-2816-43D4-882C-516BCB718D03}
|
||||
{55B059EF-F128-453F-B678-0FF00F1D2E95} = {8F2ECEA7-5BCA-45DF-B6E3-88AADD7AFD45}
|
||||
{3F835B88-4720-49C2-A4A5-FED2C860C4C4} = {8F2ECEA7-5BCA-45DF-B6E3-88AADD7AFD45}
|
||||
{601B1A5B-568A-4238-AB93-78390FC52D91} = {A1296069-2816-43D4-882C-516BCB718D03}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {BD7CA081-CE52-4824-9777-C0562E54F3EA}
|
||||
|
||||
Reference in New Issue
Block a user