Merged
Conversation
- Introduce ModelProvider abstraction for LLM service - Added ModelProviderName enum and ModelProviders mapping to centralize model provider definitions, enhancing maintainability and readability. - Updated LLMService to utilize the new ModelProviderName for provider identification, improving code clarity. - Refactored getProviderFromModel method to return ModelProviderName values, streamlining model provider retrieval logic. - Introduced openrouter support in LLMService, expanding model provider capabilities.
- Introduced a new test suite for ModelAdapter to validate error handling for unsupported providers. - Enhanced existing tests for DummyLLM to ensure comprehensive coverage of LLM functionalities. - This update improves the robustness of the testing framework and ensures adherence to expected behaviors in the LLM module.
- Upgraded versions of several @AI-SDK packages to their latest releases for improved functionality and compatibility. - Updated the "ai" package from version 4.3 to 4.3.15 to ensure alignment with the latest features and enhancements. - Added @openrouter/ai-sdk-provider dependency to support new functionalities.
…ct data - Modified RevenueProjectSchema to allow nullable fields for arr, mrr, and normalizedRevenueFor30Days, enhancing data flexibility. - Updated RevenueDataExecutor to handle null values by converting them to 0, ensuring consistent data structure when fetching project data. - Added error handling for cases where no project data is returned, improving robustness and user feedback.
- Upgraded several @AI-SDK packages to their latest versions, including '@ai-sdk/anthropic' to 1.2.11, '@ai-sdk/deepseek' to 0.2.14, and '@ai-sdk/openai' to 1.3.22, enhancing functionality and compatibility. - Added '@openrouter/ai-sdk-provider' version 0.4.5 to support new features. - Updated the 'ai' package from version 4.3.13 to 4.3.15 for improved performance and stability.
This was referenced May 13, 2025
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.
No description provided.