Closed gunpal5 closed 1 month ago
The recent updates involve modifying the URL used in the GenerateCodesAsync
method and adjusting the cost calculations in the CreateAllModelsFile
method. Additionally, the test case ShouldGenerateFine_With_Enum_Model
in OpenRouterTests.cs
has been updated to use a different model ID.
File Path | Change Summary |
---|---|
src/Providers/OpenRouter/tools/.../OpenRouterCodeGenerator.cs |
Updated the URL in GenerateCodesAsync and changed the division factor for cost calculations in CreateAllModelsFile . |
src/Providers/OpenRouter/tests/OpenRouterTests.cs |
Modified the test case ShouldGenerateFine_With_Enum_Model to use a different OpenRouterModelIds enum value. |
In code we trust, with bytes we play,
URLs shift and costs array,
Models test with IDs new,
A rabbit's work is never through.
With hops and bounds, we tweak and mend,
In every line, our tales extend. 🐇✨
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
Bug Fixes
Tests
ShouldGenerateFine_With_Enum_Model
to use a different model ID for improved test coverage.