[PR #28850] feat: Workflow-Level Credential Override for Model Providers #32209

Open
opened 2026-02-21 20:50:57 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/28850

State: open
Merged: No


Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

fix issue #28815 enable llm node can have a api key config instead of using global api key config

Screenshots

before

image

after

image

test result

using default api key

image

using select api key

image

knowledge node

image

parameter extractor node

image image

Checklist

  • 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
**Original Pull Request:** https://github.com/langgenius/dify/pull/28850 **State:** open **Merged:** No --- > [!IMPORTANT] > > 1. Make sure you have read our [contribution guidelines](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) > 1. Ensure there is an associated issue and you have been assigned to it > 1. Use the correct syntax to link this PR: `Fixes #<issue number>`. ## Summary fix issue #28815 enable llm node can have a api key config instead of using global api key config ## Screenshots before <img width="1024" height="1544" alt="image" src="https://github.com/user-attachments/assets/0a2a625b-c8fb-4692-a46a-c1395d08529c" /> after <img width="2294" height="1704" alt="image" src="https://github.com/user-attachments/assets/72265eb4-ef35-43e0-a1ce-7a504ee9bb14" /> test result using default api key <img width="2030" height="1546" alt="image" src="https://github.com/user-attachments/assets/70c835d8-8433-4982-b9e9-e534f69adc70" /> using select api key <img width="1836" height="1606" alt="image" src="https://github.com/user-attachments/assets/ceae69ff-a49b-48ed-8b98-abf2fff2714c" /> knowledge node <img width="874" height="1746" alt="image" src="https://github.com/user-attachments/assets/2bebee54-127a-4604-89e6-de0d5d68188c" /> parameter extractor node <img width="1930" height="1772" alt="image" src="https://github.com/user-attachments/assets/13ea93f8-e9a7-40e2-bdac-f4b24193676b" /> <img width="1126" height="1200" alt="image" src="https://github.com/user-attachments/assets/b07e2b38-384a-4776-8593-80d3177dab57" /> ## Checklist - [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!) - [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change. - [x] I've updated the documentation accordingly. - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods
yindo added the pull-request label 2026-02-21 20:50:57 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#32209