Closed mohdamir closed 3 months ago
Latest commit: dd79094bdb3b8fb5e7cd8fe274ad3f6dad105fd8
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
This update introduces support for T-Systems as a new model provider. It expands environment configurations and API interactions related to T-Systems' LLM Hub API, includes necessary dependencies, and updates the model configuration options and types. The changes also include enhancements to the askLLMHubQuestions
function to streamline user prompts and manage API key interactions.
Files/Paths | Change Summary |
---|---|
helpers/env-variables.ts |
Added T-Systems provider environment variables for base URL and API key. |
helpers/providers/index.ts |
Introduced T-Systems as a new model provider in the askModelConfig function choices. |
helpers/python.ts |
Included additional dependencies needed for T-Systems support. |
helpers/types.ts |
Expanded ModelProvider to include T-Systems and added apiBase field to ModelConfig type. |
questions.ts |
Added framework parameter to the askModelConfig function call within askQuestions function. |
helpers/providers/llmhub.ts |
Introduced functions and types for interacting with LLMHub API, including askLLMHubQuestions . |
sequenceDiagram
participant User
participant App
participant LLMHubAPI
User->>App: Choose T-Systems provider
App->>User: Prompt for API Key
User->>App: Enter API Key
App->>LLMHubAPI: Retrieve Model Choices with API Key
LLMHubAPI->>App: Return Model Choices
App->>User: Display Model Choices
User->>App: Select Desired Model
App->>LLMHubAPI: Configure Selected Model
LLMHubAPI->>App: Confirm Configuration
App->>User: Display Configuration Success
In coding's dance, we took a chance,
With T-Systems now in our expanse.
URL and keys align with ease,
A rabbit's leap through fields of these.
Dependencies set, new horizons met,
With models ready, no regrets.
🐇✨
[!TIP]
Early access features: enabled
We are currently testing the following features in early access: - **OpenAI `gpt-4o` model for code reviews and chat**: OpenAI claims that this model is better at understanding and generating code than the previous models. We seek your feedback over the next few weeks before making it generally available. Note: - You can enable or disable early access features from the CodeRabbit UI or by updating the CodeRabbit configuration file. - Please join our [Discord Community](https://discord.com/invite/GsXnASn26c) to provide feedback and report issues. - OSS projects are currently opted into early access features by default.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
We have added T-Systems as model provider where user can choose various state of the art LLMs provided by T-Systems. User will need API-Key to use models which can be requested to T-Systems LLM Hub team. To know more about models available in LLM Hub. Please refer following URL.
https://docs.llmhub.t-systems.net/
Summary by CodeRabbit
New Features
Enhancements
ModelConfig
to include an optionalapiBase
field.askModelConfig
function to handle T-Systems provider specifics.Dependencies