[PR #918] [MERGED] fix: embedding price config #22771

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

📋 Pull Request Information

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

Base: mainHead: fix/embedding-price-config


📝 Commits (2)

  • 412461f fix: the embedding model got the wrong source for the pricing method.
  • 7ec9ea6 feat: add new price of model providers

📊 Changes

5 files changed (+41 additions, -16 deletions)

View changed files

📝 api/core/model_providers/models/embedding/base.py (+4 -6)
📝 api/core/model_providers/models/embedding/minimax_embedding.py (+0 -6)
📝 api/core/model_providers/rules/azure_openai.json (+2 -2)
📝 api/core/model_providers/rules/minimax.json (+20 -1)
📝 api/core/model_providers/rules/spark.json (+15 -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/918 **Author:** [@takatost](https://github.com/takatost) **Created:** 8/19/2023 **Status:** ✅ Merged **Merged:** 8/19/2023 **Merged by:** [@takatost](https://github.com/takatost) **Base:** `main` ← **Head:** `fix/embedding-price-config` --- ### 📝 Commits (2) - [`412461f`](https://github.com/langgenius/dify/commit/412461f36c3884557afcaf8b3394f5aad83a4c0d) fix: the embedding model got the wrong source for the pricing method. - [`7ec9ea6`](https://github.com/langgenius/dify/commit/7ec9ea6c0a4da78f147fccbce264784f283d048b) feat: add new price of model providers ### 📊 Changes **5 files changed** (+41 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `api/core/model_providers/models/embedding/base.py` (+4 -6) 📝 `api/core/model_providers/models/embedding/minimax_embedding.py` (+0 -6) 📝 `api/core/model_providers/rules/azure_openai.json` (+2 -2) 📝 `api/core/model_providers/rules/minimax.json` (+20 -1) 📝 `api/core/model_providers/rules/spark.json` (+15 -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:43 -05:00
yindo closed this issue 2026-02-21 20:19:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22771