[PR #905] [MERGED] fix: universal chat when default model invalid #22761

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

📋 Pull Request Information

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

Base: mainHead: fix/universal-chat-when-default-model-invalid


📝 Commits (2)

  • 1db15dc fix: universal chat error when default model is invalid
  • 0223cd7 feat: optimize deduct_quota codes

📊 Changes

8 files changed (+59 additions, -32 deletions)

View changed files

📝 api/core/agent/agent/openai_function_call_summarize_mixin.py (+1 -1)
📝 api/core/agent/agent/structured_chat.py (+1 -1)
📝 api/core/agent/agent_executor.py (+1 -1)
📝 api/core/model_providers/model_factory.py (+4 -2)
📝 api/core/orchestrator_rule_parser.py (+25 -19)
api/core/tool/current_datetime_tool.py (+25 -0)
📝 api/core/tool/web_reader_tool.py (+2 -2)
📝 api/libs/helper.py (+0 -6)

📄 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/905 **Author:** [@takatost](https://github.com/takatost) **Created:** 8/18/2023 **Status:** ✅ Merged **Merged:** 8/18/2023 **Merged by:** [@takatost](https://github.com/takatost) **Base:** `main` ← **Head:** `fix/universal-chat-when-default-model-invalid` --- ### 📝 Commits (2) - [`1db15dc`](https://github.com/langgenius/dify/commit/1db15dc50f75664d97958e70df8a54ede3186e78) fix: universal chat error when default model is invalid - [`0223cd7`](https://github.com/langgenius/dify/commit/0223cd767ce4ab80599fc10ceb0d275ae178eb89) feat: optimize deduct_quota codes ### 📊 Changes **8 files changed** (+59 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `api/core/agent/agent/openai_function_call_summarize_mixin.py` (+1 -1) 📝 `api/core/agent/agent/structured_chat.py` (+1 -1) 📝 `api/core/agent/agent_executor.py` (+1 -1) 📝 `api/core/model_providers/model_factory.py` (+4 -2) 📝 `api/core/orchestrator_rule_parser.py` (+25 -19) ➕ `api/core/tool/current_datetime_tool.py` (+25 -0) 📝 `api/core/tool/web_reader_tool.py` (+2 -2) 📝 `api/libs/helper.py` (+0 -6) </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:41 -05:00
yindo closed this issue 2026-02-21 20:19:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22761