Skip to content

♻️ Refactor: cleanup model_managment_app.py, memory_config_app.py#1172

Merged
Phinease merged 1 commit intodevelopfrom
xyc/backend_refactor2
Sep 11, 2025
Merged

♻️ Refactor: cleanup model_managment_app.py, memory_config_app.py#1172
Phinease merged 1 commit intodevelopfrom
xyc/backend_refactor2

Conversation

@Jasonxia007
Copy link
Copy Markdown
Contributor

@Jasonxia007 Jasonxia007 commented Sep 10, 2025

♻️ Refactor: model_managment_app.py & memory_config_app.py, decouple model_management_service.py
♻️ Remove redundant field declaration in db_models
♻️ Remove os.getenv call in auth_utils which disobey the latest backend standard

🧪 Update test_model_managment_app.py, test_model_health_service.py

image

Comment thread backend/apps/model_managment_app.py
Comment thread backend/services/model_management_service.py Outdated
Comment thread frontend/services/memoryService.ts
Comment thread backend/services/model_management_service.py Outdated
Comment thread frontend/services/modelEngineService.ts Outdated
Comment thread backend/database/db_models.py
Comment thread backend/apps/model_managment_app.py Outdated
Comment thread backend/services/model_health_service.py Outdated
Comment thread frontend/services/modelService.ts
@Jasonxia007 Jasonxia007 force-pushed the xyc/backend_refactor2 branch 3 times, most recently from d3ca573 to d517cc4 Compare September 10, 2025 08:54
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 10, 2025

Codecov Report

❌ Patch coverage is 98.68421% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
backend/services/model_management_service.py 97.18% 0 Missing and 4 partials ⚠️

📢 Thoughts on this report? Let us know!

@Jasonxia007 Jasonxia007 force-pushed the xyc/backend_refactor2 branch 4 times, most recently from 8fdd3be to 7f7ece7 Compare September 10, 2025 10:15
🧪 Update test_model_managment_app.py, test_model_health_service.py

🧪 Update test_model_managment_app.py, test_model_health_service.py
@Phinease Phinease merged commit 9c7838f into develop Sep 11, 2025
9 checks passed
@Jasonxia007 Jasonxia007 deleted the xyc/backend_refactor2 branch September 11, 2025 03:46
@Jasonxia007 Jasonxia007 linked an issue Sep 11, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement] 重构模块2

4 participants