Closed gunpal5 closed 2 months ago
A new method GetModelById(string modelId)
has been added to the OpenRouterModelProvider.cs
file, allowing retrieval of a ChatModels
object based on a provided modelId
. This change replaces the previous method that used an enum type for model IDs, offering more flexibility in model identification.
File Path | Change Summary |
---|---|
.../OpenRouter/src/OpenRouterModelProvider.cs |
Updated GetModelById method to accept a string modelId . |
🐰✨ In the code where models hide,
A rabbit tweaked the ID type wide.
Strings now flow where enums stood,
Flexibility in the code wood.
Hop, hop, hooray for the change! 🎉
🐰✨
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?
Summary by CodeRabbit