Add AWS Bedrock AI Model Support in Playbooks#2164
Conversation
…accordingly Co-authored-by: Genie <genie@cosine.sh>
Co-authored-by: Genie <genie@cosine.sh>
… and cost calculation Co-authored-by: Genie <genie@cosine.sh>
…multiple LLM providers Co-authored-by: Genie <genie@cosine.sh>
…l wrapper Co-authored-by: Genie <genie@cosine.sh>
Co-authored-by: Genie <genie@cosine.sh>
…wrapper Co-authored-by: Genie <genie@cosine.sh>
Co-authored-by: Genie <genie@cosine.sh>
Co-authored-by: Genie <genie@cosine.sh>
Co-authored-by: Genie <genie@cosine.sh>
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This pull request introduces support for the AWS Bedrock AI model in the playbooks system. The key changes include:
LLMBackendBedrockinapi/global.goto represent the Bedrock model.Populatefunction inapi/v1/playbook_actions.goto handle the AWS connection type and set the appropriate model, while using the 'region' property for the API URL.llm/bedrock.gowhich includes theBedrockModelWrapperclass to handle interactions with the Bedrock API, including calling the model and processing responses.llm/cost.goto accommodate Bedrock without any associated costs initially, and updated the tests to include cases for Bedrock.These changes aim to enhance the agility of our playbook actions by incorporating AWS's AI capabilities, allowing users to leverage Bedrock's models.
Original Task: mission-control/yf0cdttccsqs
Author: Moshe Immerman