Skip to content

[ref] use one method to get boto client for aws bedrock#11506

Merged
crazywoola merged 7 commits intolanggenius:mainfrom
warren830:main
Dec 12, 2024
Merged

[ref] use one method to get boto client for aws bedrock#11506
crazywoola merged 7 commits intolanggenius:mainfrom
warren830:main

Conversation

@warren830
Copy link
Contributor

Summary

According to the issue #11494 , sometimes we might need to call bedrock without aksk, so I added a method to support this. And also modify other files within the directory.

Fixes #11494

Tip

Close issue syntax: Fixes #<issue number> or Resolves #<issue number>, see documentation for more details.

Screenshots

image

Checklist

Important

Please review the checklist below before submitting your pull request.

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. ⚙️ feat:model-runtime size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. size:L This PR changes 100-499 lines, ignoring generated files. labels Dec 9, 2024
@crazywoola
Copy link
Member

Please fix the lint

crazywoola
crazywoola previously approved these changes Dec 10, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 10, 2024
@warren830
Copy link
Contributor Author

@crazywoola @yihong0618 Sorry guys, just finished all issues

@crazywoola crazywoola merged commit 7b58393 into langgenius:main Dec 12, 2024
AlwaysBluer added a commit to AlwaysBluer/dify that referenced this pull request Dec 18, 2024
…m-vdb

* 'lindorm-vdb' of github.com:AlwaysBluer/dify:
  Fix/pdf preview in build (langgenius#11621)
  feat(devcontainer): add alias to stop Docker containers (langgenius#11616)
  ci: better print version for ruff to check the change (langgenius#11587)
  feat(model): add vertex_ai Gemini 2.0 Flash Exp (langgenius#11604)
  fix: name of llama-3.3-70b-specdec (langgenius#11596)
  Added new models and Removed the deleted ones for Groq langgenius#11455 (langgenius#11456)
  [ref] use one method to get boto client for aws bedrock (langgenius#11506)
  chore: translate i18n files (langgenius#11577)
  fix: support mdx files close langgenius#11557 (langgenius#11565)
  fix: change workflow trace id (langgenius#11585)
  Feat: dark mode for logs and annotations (langgenius#11575)
  Lindorm vdb (langgenius#11574)
  feat: add gemini-2.0-flash-exp (langgenius#11570)
  fix: better opendal tests (langgenius#11569)
  Fix: RateLimit requests were not released when a streaming generation exception occurred (langgenius#11540)
  chore: translate i18n files (langgenius#11545)
  fix: workflow continue on error doc link (langgenius#11554)
jsincorporated pushed a commit to jsincorporated/asaAi that referenced this pull request Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When bedrock's AKSK is left blank ( AWS environment configuration is automatically called), an error will be reported when using the rerank model

3 participants