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: enable GitHub connector to sync PRs and issues by default (#14062)
Octopuseaa5d9921bbc
diff --git a/rag/svr/sync_data_source.py b/rag/svr/sync_data_source.pyindex 7d8ccdadc2..8d397fc2d6 100644--- a/rag/svr/sync_data_source.py+++ b/rag/svr/sync_data_source.py@@ -1235,8 +1235,8 @@ class Github(SyncBase):self.connector = GithubConnector(repo_owner=self.conf.get("repository_owner"),repositories=self.conf.get("repository_name"),- include_prs=self.conf.get("include_pull_requests", False),- include_issues=self.conf.get("include_issues", False),+ include_prs=self.conf.get("include_pull_requests", True),+ include_issues=self.conf.get("include_issues", True),)credentials = self.conf.get("credentials", {})diff --git a/web/src/pages/user-setting/data-source/constant/index.tsx b/web/src/pages/user-setting/data-source/constant/index.tsxindex d00db49e16..f1d2bb4ace 100644--- a/web/src/pages/user-setting/data-source/constant/index.tsx+++ b/web/src/pages/user-setting/data-source/constant/index.tsx@@ -856,18 +856,18 @@ export const DataSourceFormFields = {required: true,},{- label: 'Inlcude Pull Requests',+ label: 'Include Pull Requests',name: 'config.include_pull_requests',type: FormFieldType.Checkbox,required: false,- defaultValue: false,+ defaultValue: true,},{- label: 'Inlcude Issues',+ label: 'Include Issues',name: 'config.include_issues',type: FormFieldType.Checkbox,required: false,- defaultValue: false,+ defaultValue: true,},],[DataSourceKey.IMAP]: [@@ -1622,8 +1622,8 @@ export const DataSourceFormDefaultValues = {config: {repository_owner: '',repository_name: '',- include_pull_requests: false,- include_issues: false,+ include_pull_requests: true,+ include_issues: true,credentials: {github_access_token: '',},