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: set response content type with charset in helper (#29534)
Pleasure1234761f8c8043b0
diff --git a/api/libs/helper.py b/api/libs/helper.pyindex a278ace6adc..abc81d1fdee 100644--- a/api/libs/helper.py+++ b/api/libs/helper.py@@ -215,7 +215,11 @@ def generate_text_hash(text: str) -> str:def compact_generate_response(response: Union[Mapping, Generator, RateLimitGenerator]) -> Response:if isinstance(response, dict):- return Response(response=json.dumps(jsonable_encoder(response)), status=200, mimetype="application/json")+ return Response(+ response=json.dumps(jsonable_encoder(response)),+ status=200,+ content_type="application/json; charset=utf-8",+ )else:def generate() -> Generator: