refactor: streamline AI prediction and stock of the day routes with n…#31
Merged
danieldanielecki merged 3 commits intomainfrom May 7, 2026
Merged
refactor: streamline AI prediction and stock of the day routes with n…#31danieldanielecki merged 3 commits intomainfrom
danieldanielecki merged 3 commits intomainfrom
Conversation
…ew LLM config resolver - Replace redundant BYOK provider logic in both routes with a centralized LLM configuration resolver. - Introduce `resolveMarketRouteLLMConfig` to handle LLM credential resolution based on user tier and requested provider. - Update UserProfileMenu to allow both LOCAL and BYOK tiers for the Ollama provider. - Enhance error handling and logging for cases where LLM credentials are not available.
Mistral code reviewCorrectness
Edge Cases
Security
Performance
Maintainability
Other Observations
Overall, the changes look good and address the concerns mentioned. The improvements in error handling, reliability, and maintainability are particularly notable. |
|
🚀 Vercel Preview Deployment Ready! Preview: https://stock-ibyt4z71o-ditectrevs-projects.vercel.app This comment was automatically generated by GitHub Actions |
- Add YAHOO_FINANCE_API_URL to .env.example for configurable API endpoint. - Update YahooFinanceService to alternate between query1 and query2 endpoints for improved reliability. - Enhance error handling in HomePageClient and stock panels to provide clearer messages based on API responses. - Include pricing tier information in AIPredictionPanel and StockOfTheDayPanel for better user guidance.
|
🚀 Vercel Preview Deployment Ready! Preview: https://stock-aqpm7pish-ditectrevs-projects.vercel.app This comment was automatically generated by GitHub Actions |
- Add FINNHUB_BASE_URL, FINNHUB_API_KEY, OLLAMA_MODEL, and YAHOO_FINANCE_API_URL to the deployment workflow for better configuration management. - Remove optional comment for YAHOO_FINANCE_API_URL in .env.example to streamline the configuration process. - Update Google Tag Manager script implementation in layout.tsx for improved performance and security.
|
🚀 Vercel Preview Deployment Ready! Preview: https://stock-bebvyhk1d-ditectrevs-projects.vercel.app This comment was automatically generated by GitHub Actions |
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.
…ew LLM config resolver
resolveMarketRouteLLMConfigto handle LLM credential resolution based on user tier and requested provider.