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:
2026-01-03 21:55:55 +07:00
parent fb49190346
commit 6f55566db3
46 changed files with 7900 additions and 3 deletions

View File

@@ -0,0 +1,68 @@
# Managing Apps Documentation
This directory contains technical documentation for the Managing trading platform.
## Architecture & Design
- **[MCP Architecture](MCP-Architecture.md)** - Model Context Protocol architecture, dual-MCP approach (C# internal + Node.js community)
- **[Architecture Diagram](Architecture.drawio)** - Overall system architecture (Draw.io format)
- **[Monorepo Structure](Workers%20processing/07-Monorepo-Structure.md)** - Project organization and structure
## Upgrade Plans
- **[.NET 10 Upgrade Plan](NET10-Upgrade-Plan.md)** - Detailed .NET 10 upgrade specification
- **[.NET 10 Upgrade Quick Reference](README-Upgrade-Plan.md)** - Quick overview of upgrade plan
## Workers & Processing
- **[Workers Processing Overview](Workers%20processing/README.md)** - Background workers documentation index
- **[Overall Architecture](Workers%20processing/01-Overall-Architecture.md)** - Worker architecture overview
- **[Request Flow](Workers%20processing/02-Request-Flow.md)** - Request processing flow
- **[Job Processing Flow](Workers%20processing/03-Job-Processing-Flow.md)** - Job processing details
- **[Database Schema](Workers%20processing/04-Database-Schema.md)** - Worker database schema
- **[Deployment Architecture](Workers%20processing/05-Deployment-Architecture.md)** - Deployment setup
- **[Concurrency Control](Workers%20processing/06-Concurrency-Control.md)** - Concurrency handling
- **[Implementation Plan](Workers%20processing/IMPLEMENTATION-PLAN.md)** - Worker implementation details
## Workflows
- **[Position Workflow](PositionWorkflow.md)** - Trading position workflow
- **[Delta Neutral Worker](DeltaNeutralWorker.md)** - Delta neutral trading worker
## Other
- **[End Game](EndGame.md)** - End game strategy documentation
## Quick Links
### For Developers
- Start with [Architecture Diagram](Architecture.drawio) for system overview
- Review [MCP Architecture](MCP-Architecture.md) for LLM integration
- Check [Workers Processing](Workers%20processing/README.md) for background jobs
### For DevOps
- See [Deployment Architecture](Workers%20processing/05-Deployment-Architecture.md)
- Review [.NET 10 Upgrade Plan](NET10-Upgrade-Plan.md) for framework updates
### For Product/Planning
- Review [MCP Architecture](MCP-Architecture.md) for community features
- Check [Workers Processing](Workers%20processing/README.md) for system capabilities
## Document Status
| Document | Status | Last Updated |
|----------|--------|--------------|
| MCP Architecture | Planning | 2025-01-XX |
| .NET 10 Upgrade Plan | Planning | 2024-11-24 |
| Workers Processing | Active | Various |
| Architecture Diagram | Active | Various |
## Contributing
When adding new documentation:
1. Use Markdown format (`.md`)
2. Follow existing structure and style
3. Update this README with links
4. Add appropriate cross-references
5. Include diagrams in Draw.io format when needed