[PR #875] [MERGED] feat: optimize model when app create #22742

Closed
opened 2026-02-21 20:19:39 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/875
Author: @takatost
Created: 8/16/2023
Status: Merged
Merged: 8/16/2023
Merged by: @takatost

Base: mainHead: feat/optimize-model-when-app-create


📝 Commits (6)

  • 5e0736c feat: optimize model init when app creating
  • daccddc fix: unit tests
  • 41aab45 feat: add unit test in github action
  • 79d59a6 fix: requirements folder error
  • 1e8fd43 feat: add pip cache
  • a81a592 feat: run unit test change to deploy/dev branch

📊 Changes

5 files changed (+104 additions, -23 deletions)

View changed files

.github/workflows/api-unit-tests.yml (+38 -0)
📝 api/controllers/console/app/app.py (+43 -18)
📝 api/tests/unit_tests/model_providers/test_huggingface_hub_provider.py (+3 -2)
📝 api/tests/unit_tests/model_providers/test_replicate_provider.py (+19 -2)
📝 api/tests/unit_tests/model_providers/test_tongyi_provider.py (+1 -1)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify/pull/875 **Author:** [@takatost](https://github.com/takatost) **Created:** 8/16/2023 **Status:** ✅ Merged **Merged:** 8/16/2023 **Merged by:** [@takatost](https://github.com/takatost) **Base:** `main` ← **Head:** `feat/optimize-model-when-app-create` --- ### 📝 Commits (6) - [`5e0736c`](https://github.com/langgenius/dify/commit/5e0736cac0c2d682e4983edb355a9c3ddefec01e) feat: optimize model init when app creating - [`daccddc`](https://github.com/langgenius/dify/commit/daccddc972a5ef8f2b8daff3a6775f84bfc7fd40) fix: unit tests - [`41aab45`](https://github.com/langgenius/dify/commit/41aab452201c389c00034ced3341a27a6c55a1ba) feat: add unit test in github action - [`79d59a6`](https://github.com/langgenius/dify/commit/79d59a657a811e35f5eb0eae6141bc43f14b2e3a) fix: requirements folder error - [`1e8fd43`](https://github.com/langgenius/dify/commit/1e8fd431dc323088ea69530391c4f4478dee4ebe) feat: add pip cache - [`a81a592`](https://github.com/langgenius/dify/commit/a81a592f6f21475186617c189607a0ae9050e32b) feat: run unit test change to deploy/dev branch ### 📊 Changes **5 files changed** (+104 additions, -23 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/api-unit-tests.yml` (+38 -0) 📝 `api/controllers/console/app/app.py` (+43 -18) 📝 `api/tests/unit_tests/model_providers/test_huggingface_hub_provider.py` (+3 -2) 📝 `api/tests/unit_tests/model_providers/test_replicate_provider.py` (+19 -2) 📝 `api/tests/unit_tests/model_providers/test_tongyi_provider.py` (+1 -1) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-21 20:19:39 -05:00
yindo closed this issue 2026-02-21 20:19:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22742