fix: use IAM roles for bedrock access#578
fix: use IAM roles for bedrock access#578nrfulton wants to merge 21 commits intogenerative-computing:mainfrom
Conversation
|
The PR description has been updated. Please fill out the template for your PR to be reviewed. |
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🟢 Enforce conventional commitWonderful, this rule succeeded.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
|
|
@jakelorocco you are tagged as a reviewer because I changed core.py to only call post-processing if there are no exceptions. The status quo continues to give us pain. |
|
I think that sounds good. I will review once the changes are done. We will need to make sure the finally block / telemetry stuff doesn't cause issues with this change. |
|
Looks like there's another draft PR open to more comprehensively fix the post process issue: #580 (comment). I will take a closer look tomorrow. |
|
Hey folks - thank you so much for adding support for the BedRock non-mantle endpoints through the LiteLLM backend! I'm currently working on integrating Mellea with a fork of IBM's FactReasoner. I made a couple additional (local) edits to this PR in order to get it to work for me, which include:
Let me know if these changes would be valuable to contribue back to the main Mellea repo, I'm happy to either open a PR from my own fork (which would be branched off of this PR), or wait till this PR is merged to open mine, or any other way to contribute the changes that makes sense with your workflow; I'm just trying to avoid forking on top of a fork! (the edits are all in the Once again, thank for getting the LiteLLM Bedrock backend working! |
|
@leothomas, I think all these changes sound good. I will check in with @nrfulton today and see if we can get this base PR merged so that your PRs can be opened. I can't test this myself. The |
|
Hey there! I pulled @nrfulton 's branch into my own forks and then added the edits mentioned above. Here's the branch if you want to check it out: https://github.com/leothomas/mellea/tree/bedrock_aws_access_key_id @jakelorocco I'll wait for y'all to merge this PR to open one from my branch! |
|
Also, here's the LiteLLM fork with LogProbs: https://github.com/leothomas/litellm/tree/feature/logprobs I still have to write tests and all that good stuff before opening a PR against LiteLLM |
…ea into bedrock_aws_access_key_id
Assisted-by: Claude Code Signed-off-by: Nathan Fulton <gitcommit@nfulton.org>
|
I changed up the auto-selected reviewers to match the reviewers assigned to #849 . FYI @ajbozarth and @jakelorocco: TL;DR: same state as #849. This is the OG PR for that work. Switched here because maintainer commit rights were disabled for the #849 branch and there were a number of failing pre-commit hooks + a merge required to proceed. I think this is good to go if tests pass. Please give a once over since there's been a fair amount of changes since this PR was first opened. The main design decisions:
FYI, all tests pass on my local machine with |
|
Thanks for following up on this and getting it over the finish line @nrfulton - again please let me know if I can support in any way! |
Misc PR
Type of PR
Description
Testing