Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: quota update error on azure openai (#172)

John Wang056898bf2144
diff --git a/api/core/conversation_message_task.py b/api/core/conversation_message_task.py
index 0c2e9983cea..b23d6664bd4 100644
--- a/api/core/conversation_message_task.py
+++ b/api/core/conversation_message_task.py
@@ -56,6 +56,9 @@ class ConversationMessageTask:
)
def init(self):
+ provider_name = LLMBuilder.get_default_provider(self.app.tenant_id)
+ self.model_dict['provider'] = provider_name
+
override_model_configs = None
if self.is_override:
override_model_configs = {