Continuous enhancement: Quantamental AI model selection - #1
Open
ryun6249 wants to merge 7 commits into
Open
Conversation
added 7 commits
May 19, 2026 04:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Continuous Enhancement Report
1. Current Status
app/webUI,/api/v1/config, Quantamental API contracts, deterministic default analysis, and existing All/quality/range behavior are preserved.modelanduse_llm, but the UI always sent deterministic requests and did not expose truthful Qwen/Gemma runtime-checked selection.2. Changes Made
Compatibility
modelmetadata to existing config model options without removing existing fields.Data Consistency
UI/UX
AI 모델selector in the analysis report card./api/v1/config.20260519-continuous-enhancement-v3.Visualization
AI Briefing
use_llm=trueand the concrete configured model only when a runtime-checked model is selected.Translation
Performance
Tests / Validation
3. Changed Files
app/api/routers/system.pymodelfield to UI model optionsapp/web/index.htmlapp/web/app.jsapp/web/styles.cssscripts/check_ui_contract.pyscripts/ai_portfolio_ui_smoke.pytests/test_api_routing_contract.pytests/test_ui_routing_contract.pydocs/CONTINUOUS_ENHANCEMENT_LOG.md4. Validation Results
git diff --check -- ...node --check app/web/app.js;python -m py_compile app/api/routers/system.py scripts/check_ui_contract.py scripts/ai_portfolio_ui_smoke.pypython -m pytest -q691 passed, 9 subtests passed in 140.47spython scripts/check_ui_contract.py; Quantamental browser smoketests/test_quantamental_api.py,tests/test_quantamental_ui_ai_panel.py, Playwright intercepted POSTuse_llm=true,model=qwen2.5:7b5. Remaining Risks
6. Next Enhancement Suggestions
7. Safety Notes