[PR #975] [MERGED] feat: optimize hf inference endpoint #22809

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

📋 Pull Request Information

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

Base: mainHead: feat/optimize-hf


📝 Commits (3)

📊 Changes

4 files changed (+59 additions, -11 deletions)

View changed files

📝 api/core/model_providers/models/llm/huggingface_hub_model.py (+5 -7)
📝 api/core/model_providers/providers/huggingface_hub_provider.py (+13 -3)
api/core/third_party/langchain/llms/huggingface_endpoint_llm.py (+39 -0)
📝 api/tests/unit_tests/model_providers/test_huggingface_hub_provider.py (+2 -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/975 **Author:** [@takatost](https://github.com/takatost) **Created:** 8/23/2023 **Status:** ✅ Merged **Merged:** 8/23/2023 **Merged by:** [@takatost](https://github.com/takatost) **Base:** `main` ← **Head:** `feat/optimize-hf` --- ### 📝 Commits (3) - [`92fae1b`](https://github.com/langgenius/dify/commit/92fae1bc52f194c2ee58b527d458b80bf23a0610) feat: optimize hf - [`e41cbb8`](https://github.com/langgenius/dify/commit/e41cbb857e8b830f354b352e6980e927b3887058) feat: optimize hf - [`b7c4495`](https://github.com/langgenius/dify/commit/b7c44958deb852aa8e734a479294a8e77e22726b) fix: test ### 📊 Changes **4 files changed** (+59 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `api/core/model_providers/models/llm/huggingface_hub_model.py` (+5 -7) 📝 `api/core/model_providers/providers/huggingface_hub_provider.py` (+13 -3) ➕ `api/core/third_party/langchain/llms/huggingface_endpoint_llm.py` (+39 -0) 📝 `api/tests/unit_tests/model_providers/test_huggingface_hub_provider.py` (+2 -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:48 -05:00
yindo closed this issue 2026-02-21 20:19:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22809