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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: hunyuan assistant_prompt_message pydantic error (#7062)
Joed7bb422a5cc8
diff --git a/api/core/model_runtime/model_providers/hunyuan/llm/llm.py b/api/core/model_runtime/model_providers/hunyuan/llm/llm.pyindex 6d22f9d2d66..0bdf6ec0050 100644--- a/api/core/model_runtime/model_providers/hunyuan/llm/llm.py+++ b/api/core/model_runtime/model_providers/hunyuan/llm/llm.py@@ -214,7 +214,7 @@ class HunyuanLargeLanguageModel(LargeLanguageModel):def _handle_chat_response(self, credentials, model, prompt_messages, response):usage = self._calc_response_usage(model, credentials, response.Usage.PromptTokens,response.Usage.CompletionTokens)- assistant_prompt_message = PromptMessage(role="assistant")+ assistant_prompt_message = AssistantPromptMessage()assistant_prompt_message.content = response.Choices[0].Message.Contentresult = LLMResult(model=model,