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 tencent_cos_storage image-preview error is not a byte (#6652)
yanghx349ec0db7749
diff --git a/api/extensions/storage/tencent_storage.py b/api/extensions/storage/tencent_storage.pyindex 6d9fb80f5e1..e2c1ca55e3c 100644--- a/api/extensions/storage/tencent_storage.py+++ b/api/extensions/storage/tencent_storage.py@@ -32,8 +32,7 @@ class TencentStorage(BaseStorage):def load_stream(self, filename: str) -> Generator:def generate(filename: str = filename) -> Generator:response = self.client.get_object(Bucket=self.bucket_name, Key=filename)- while chunk := response['Body'].get_stream(chunk_size=4096):- yield chunk+ yield from response['Body'].get_stream(chunk_size=4096)return generate()