Repository navigation
fix(azure_ai): bill FLUX.2-flex edit reference megapixels at Azure's rate #42448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
devin-ai-integration
wants to merge
20
commits into
main
from
litellm_lit8140_flux2_reference_pixels
+862
−66
Closed
Changes from 17 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
5d04e97
fix(azure_ai): bill FLUX.2 edit reference images by measured pixels
shreshth-berri eea8528
refactor(images): walk JPEG segments with a bounded loop
shreshth-berri 05439ee
fix(azure_ai): price FLUX.2-flex megapixels as 1024x1024 pixels
shreshth-berri 661d699
refactor(images): make header parser returns explicit
shreshth-berri f6e7920
test(images): cover malformed JPEG, WebP and PNG headers
shreshth-berri b9b3078
style(azure_ai): justify model_cost cast for type discipline gate
shreshth-berri 770343b
fix(model-catalog): round-trip input_cost_per_reference_pixel in Mode…
shreshth-berri 848484d
fix(images): measure GIF and BMP reference image headers
shreshth-berri 80c1eb6
fix(images): suppress non-exhaustive match in header dispatch
shreshth-berri d3b1205
test(schema): allow input_cost_per_reference_pixel in cost map schema
shreshth-berri 4dc2f3b
fix(images): read BITMAPCOREHEADER bitmaps and name every measured fo…
shreshth-berri 6db3435
fix(azure_ai): price reference pixels from the resolved deployment mo…
shreshth-berri 93ebd11
chore(ui): regen schema.d.ts for input_cost_per_reference_pixel
shreshth-berri 0bb9c54
fix(images): harden reference header measurement and cover pricing ed…
shreshth-berri 1eaddc4
feat(terraform): add input_cost_per_reference_pixel to model resource
shreshth-berri b929e4d
fix(terraform): forward explicit zero input_cost_per_reference_pixel
shreshth-berri 24155ef
fix(images): keep JPEG marker alignment after a fill byte before a la…
shreshth-berri 314e3e8
fix(images): skip arbitrarily long JPEG fill runs in one hop
shreshth-berri 6a1bf0e
fix(images): keep the marker prefix at a JPEG fill chunk boundary
shreshth-berri 4347e20
fix(router): expose input_cost_per_reference_pixel on ModelGroupInfo
shreshth-berri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.