Skip to content

Fix blobs request#350

Closed
Robert-Steiner wants to merge 1 commit intoollama:mainfrom
Robert-Steiner:fix-blob-request
Closed

Fix blobs request#350
Robert-Steiner wants to merge 1 commit intoollama:mainfrom
Robert-Steiner:fix-blob-request

Conversation

@Robert-Steiner
Copy link
Copy Markdown

@Robert-Steiner Robert-Steiner commented Nov 29, 2024

The blobs request fails with invalid digest format because sha256: is added twice in lines 557 and 560.

This PR removes the extra sha256: in line 560.

@Robert-Steiner Robert-Steiner changed the title Fix blob request Fix blobs request Nov 29, 2024
@Robert-Steiner Robert-Steiner marked this pull request as draft November 29, 2024 19:51
@Robert-Steiner Robert-Steiner marked this pull request as ready for review November 29, 2024 20:27
@ParthSareen
Copy link
Copy Markdown
Member

Hey @Robert-Steiner! Thanks for this! Could you also add a test to ensure this behavior is good? Thanks :)

@ParthSareen ParthSareen self-assigned this Nov 30, 2024
@Robert-Steiner
Copy link
Copy Markdown
Author

Hey @ParthSareen,
I updated the create_blob tests to verify that the digest has the correct format. Let me know what you think :)

@ParthSareen
Copy link
Copy Markdown
Member

Hey @Robert-Steiner could you fix the conflicts? Rest looks good! Will get this in when fixed. Sorry for the delay!

Signed-off-by: Robert Steiner <robert@flower.ai>
@Robert-Steiner
Copy link
Copy Markdown
Author

Hey @ParthSareen I resolved the merge conflict :)

@ParthSareen
Copy link
Copy Markdown
Member

I don't know if something is wrong on my end but I don't think I see your changes anymore? LOL @Robert-Steiner

@Robert-Steiner
Copy link
Copy Markdown
Author

@ParthSareen you are right! It was fixed in #420

@Robert-Steiner Robert-Steiner deleted the fix-blob-request branch January 21, 2025 08:30
@ParthSareen
Copy link
Copy Markdown
Member

Oops I think we could've still gotten the tests in haha - I'll get it in! Appreciate the work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants