[PR #919] [MERGED] feat: record price unit in messages #22767

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/919
Author: @takatost
Created: 8/19/2023
Status: Merged
Merged: 8/19/2023
Merged by: @takatost

Base: mainHead: feat/record-price-unit-in-messages


📝 Commits (3)

  • 9fde5de feat: add price unit in messages
  • 49adda2 feat: add price unit migration
  • 6f0e3af feat: remove not exists table

📊 Changes

5 files changed (+88 additions, -4 deletions)

View changed files

📝 api/core/callback_handler/agent_loop_gather_callback_handler.py (+9 -0)
📝 api/core/conversation_message_task.py (+12 -0)
📝 api/core/model_providers/models/llm/base.py (+20 -4)
api/migrations/versions/853f9b9cd3b6_add_message_price_unit.py (+43 -0)
📝 api/models/model.py (+4 -0)

📄 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/919 **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:** `feat/record-price-unit-in-messages` --- ### 📝 Commits (3) - [`9fde5de`](https://github.com/langgenius/dify/commit/9fde5de5009a71247b49647a4ae195cce678c577) feat: add price unit in messages - [`49adda2`](https://github.com/langgenius/dify/commit/49adda2012ab7e9003f4fde86087c6e0115b5021) feat: add price unit migration - [`6f0e3af`](https://github.com/langgenius/dify/commit/6f0e3aff55dc1b5c37838338ea43d49af13deffb) feat: remove not exists table ### 📊 Changes **5 files changed** (+88 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `api/core/callback_handler/agent_loop_gather_callback_handler.py` (+9 -0) 📝 `api/core/conversation_message_task.py` (+12 -0) 📝 `api/core/model_providers/models/llm/base.py` (+20 -4) ➕ `api/migrations/versions/853f9b9cd3b6_add_message_price_unit.py` (+43 -0) 📝 `api/models/model.py` (+4 -0) </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#22767