RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix: adressing style without a default value (#13009)
Magicbook11081349e6b7d1fd
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex fa33c0b01d..934005edec 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -187,6 +187,7 @@ jobs:echo -e "EXPOSE_MYSQL_PORT=${EXPOSE_MYSQL_PORT}" >> docker/.envecho -e "MINIO_PORT=${MINIO_PORT}" >> docker/.envecho -e "MINIO_CONSOLE_PORT=${MINIO_CONSOLE_PORT}" >> docker/.env+ echo -e "REDIS_PORT=${REDIS_PORT}" >> docker/.envecho -e "TEI_PORT=${TEI_PORT}" >> docker/.envecho -e "KIBANA_PORT=${KIBANA_PORT}" >> docker/.envecho -e "SVR_HTTP_PORT=${SVR_HTTP_PORT}" >> docker/.envdiff --git a/common/data_source/utils.py b/common/data_source/utils.pyindex 1866f94977..4cc3cce43c 100644--- a/common/data_source/utils.py+++ b/common/data_source/utils.py@@ -315,14 +315,13 @@ def create_s3_client(bucket_type: BlobType, credentials: dict[str, Any], europearegion_name=credentials["region"],)elif bucket_type == BlobType.S3_COMPATIBLE:- addressing_style = credentials.get("addressing_style", "virtual")return boto3.client("s3",endpoint_url=credentials["endpoint_url"],aws_access_key_id=credentials["aws_access_key_id"],aws_secret_access_key=credentials["aws_secret_access_key"],- config=Config(s3={'addressing_style': addressing_style}),+ config=Config(s3={'addressing_style': credentials["addressing_style"]}),)else:diff --git a/web/src/pages/user-setting/data-source/constant/s3-constant.tsx b/web/src/pages/user-setting/data-source/constant/s3-constant.tsxindex 597e766440..96bcb3ea84 100644--- a/web/src/pages/user-setting/data-source/constant/s3-constant.tsx+++ b/web/src/pages/user-setting/data-source/constant/s3-constant.tsx@@ -143,6 +143,7 @@ export const S3Constant = (t: TFunction) => [tooltip: t('setting.S3CompatibleAddressingStyleTip'),required: false,type: FormFieldType.Select,+ defaultValue: 'virtual',options: [{ label: 'Virtual Hosted Style', value: 'virtual' },{ label: 'Path Style', value: 'path' },