mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #1503] [MERGED] feat: enhance Bedrock plugin with per-model pricing support #1929
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/1503
Author: @akshaysinghas
Created: 8/13/2025
Status: ✅ Merged
Merged: 8/13/2025
Merged by: @crazywoola
Base:
main← Head:main📝 Commits (3)
afcad05feat: implement per-model pricing for Bedrock plugine54df73feat: enhance Bedrock plugin with per-model pricing and improved organizationceb13dcchore: bump version to 0.0.31📊 Changes
23 files changed (+1612 additions, -11 deletions)
View changed files
➕
models/bedrock/.difyignore(+12 -0)📝
models/bedrock/manifest.yaml(+1 -1)➕
models/bedrock/models/llm/_position.yaml(+7 -0)➕
models/bedrock/models/llm/cohere.yaml(+77 -0)📝
models/bedrock/models/llm/llm.py(+210 -6)➕
models/bedrock/models/llm/model_configurations/claude-3-5-haiku.yaml(+100 -0)➕
models/bedrock/models/llm/model_configurations/claude-3-5-sonnet.yaml(+100 -0)➕
models/bedrock/models/llm/model_configurations/claude-3-7-sonnet.yaml(+100 -0)➕
models/bedrock/models/llm/model_configurations/claude-3-haiku.yaml(+100 -0)➕
models/bedrock/models/llm/model_configurations/claude-3-opus.yaml(+100 -0)➕
models/bedrock/models/llm/model_configurations/claude-3-sonnet.yaml(+100 -0)➕
models/bedrock/models/llm/model_configurations/claude-4-opus.yaml(+100 -0)➕
models/bedrock/models/llm/model_configurations/claude-4-sonnet.yaml(+100 -0)➕
models/bedrock/models/llm/model_configurations/cohere-command-light.yaml(+62 -0)➕
models/bedrock/models/llm/model_configurations/cohere-command-r.yaml(+62 -0)➕
models/bedrock/models/llm/model_configurations/cohere-command-rplus.yaml(+62 -0)➕
models/bedrock/models/llm/model_configurations/cohere-command.yaml(+62 -0)➕
models/bedrock/models/llm/model_configurations/nova-lite.yaml(+81 -0)➕
models/bedrock/models/llm/model_configurations/nova-micro.yaml(+81 -0)➕
models/bedrock/models/llm/model_configurations/nova-pro.yaml(+81 -0)...and 3 more files
📄 Description
Summary
Key Features
Technical Changes
model_configurations/directory for individual model pricing definitions_get_model_specific_pricing()method with format variant matchingTest Plan
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.