BISHENG is an open LLM devops platform for next generation Enterprise AI applications. Powerful and comprehensive features include: GenAI workflow, RAG, Agent, Unified model management, Evaluation, SFT, Dataset Management, Enterprise-level System Management, Observability and more.
This report presents the forensic synthetic code analysis of dataelement/bisheng, a Python project with 11,812 GitHub stars. SynthScan v2.0 examined 735,096 lines of code across 4286 source files, recording 9768 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 20.5 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 9768 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docker/deploy.sh | 2 | # ============================================================= | COMMENT |
| MEDIUM | docker/deploy.sh | 5 | # ============================================================= | COMMENT |
| MEDIUM | docker/deploy.sh | 20 | # ─── 颜色输出 ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | docker/deploy.sh | 29 | # ─── 帮助 ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | docker/deploy.sh | 66 | # ─── service 别名解析 ───────────────────────────────────────── | COMMENT |
| MEDIUM | docker/deploy.sh | 82 | # ─── 查看日志 ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | docker/deploy.sh | 121 | # ─── 修改版本号 ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | docker/deploy.sh | 148 | # ─── 进入容器 ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | docker/deploy.sh | 167 | # ─── 更新镜像并重启 ─────────────────────────────────────────── | COMMENT |
| MEDIUM | docker/deploy.sh | 189 | # ─── 重启容器 ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | docker/deploy.sh | 208 | # ─── 入口 ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .claude/skills/e2e-test/references/test-template.md | 35 | # ──────── Fixtures ──────── | COMMENT |
| MEDIUM | .claude/skills/e2e-test/references/test-template.md | 77 | # ──────── Happy Path Tests ──────── | COMMENT |
| MEDIUM | .claude/skills/e2e-test/references/test-template.md | 114 | # ──────── Error Path Tests ──────── | COMMENT |
| MEDIUM | .claude/skills/e2e-test/references/test-template.md | 137 | # ──────── Permission Tests ──────── | COMMENT |
| MEDIUM⚡ | docs/blog/企业权限体系设计的前世今生.md | 1483 | # ============================================ | COMMENT |
| MEDIUM⚡ | docs/blog/企业权限体系设计的前世今生.md | 1485 | # ============================================ | COMMENT |
| MEDIUM⚡ | docs/blog/企业权限体系设计的前世今生.md | 1489 | # ============================================ | COMMENT |
| MEDIUM⚡ | docs/blog/企业权限体系设计的前世今生.md | 1491 | # ============================================ | COMMENT |
| MEDIUM⚡ | docs/blog/企业权限体系设计的前世今生.md | 1499 | # ============================================ | COMMENT |
| MEDIUM⚡ | docs/blog/企业权限体系设计的前世今生.md | 1501 | # ============================================ | COMMENT |
| MEDIUM⚡ | docs/blog/企业权限体系设计的前世今生.md | 1509 | # ============================================ | COMMENT |
| MEDIUM⚡ | docs/blog/企业权限体系设计的前世今生.md | 1511 | # ============================================ | COMMENT |
| MEDIUM | docs/blog/企业权限体系设计的前世今生.md | 1522 | # ============================================ | COMMENT |
| MEDIUM | docs/blog/企业权限体系设计的前世今生.md | 1524 | # ============================================ | COMMENT |
| MEDIUM | docs/blog/企业权限体系设计的前世今生.md | 1535 | # ============================================ | COMMENT |
| MEDIUM | docs/blog/企业权限体系设计的前世今生.md | 1537 | # ============================================ | COMMENT |
| MEDIUM | docs/blog/企业权限体系设计的前世今生.md | 1550 | # ============================================ | COMMENT |
| MEDIUM | docs/blog/企业权限体系设计的前世今生.md | 1552 | # ============================================ | COMMENT |
| MEDIUM | scripts/arch-guard.sh | 23 | # ── RULE-1:common/core 不导入 domain/api ────────────────────────── | COMMENT |
| MEDIUM | scripts/arch-guard.sh | 36 | # ── RULE-2:database/models 不导入 domain ────────────────────────── | COMMENT |
| MEDIUM | scripts/arch-guard.sh | 46 | # ── RULE-3:Endpoint 不直接导入 database/models ──────────────────── | COMMENT |
| MEDIUM | scripts/arch-guard.sh | 57 | # ── RULE-4:domain.models 不导入 domain.services ─────────────────── | COMMENT |
| MEDIUM | scripts/arch-guard.sh | 67 | # ── RULE-5:API 层不跨模块互相导入 ───────────────────────────────── | COMMENT |
| MEDIUM | scripts/arch-guard.sh | 83 | # ── RULE-6:前端 store 不直接调 HTTP ─────────────────────────────── | COMMENT |
| MEDIUM | scripts/arch-guard.sh | 93 | # ── RULE-7:硬编码敏感信息检测 ───────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/test/approvalPage.test.tsx | 6 | // ── mocks ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/test/approvalPage.test.tsx | 57 | // ── fixtures ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/test/approvalPage.test.tsx | 131 | // ── tests ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/controllers/API/department.ts | 17 | // ── Lazy tree (F038) ─────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/controllers/API/department.ts | 56 | // ── CRUD ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/controllers/API/department.ts | 89 | // ── Mount as Child Tenant ────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/controllers/API/department.ts | 116 | // ── Move ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/controllers/API/department.ts | 127 | // ── Members ──────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/controllers/API/department.ts | 277 | // ── Admins ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/controllers/API/tenant.ts | 11 | // ── Admin CRUD ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/controllers/API/tenant.ts | 48 | // ── Quota ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/controllers/API/tenant.ts | 63 | // ── Tenant Admins ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/controllers/API/tenant.ts | 87 | // ── Tenant Users ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/controllers/API/tenant.ts | 120 | // ── User-facing ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/pages/ApprovalPage/index.tsx | 46 | // ─── helpers ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/pages/ApprovalPage/index.tsx | 124 | // ─── Condition field / value metadata ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/pages/ApprovalPage/index.tsx | 215 | // ─── Add/Edit dialogs ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/pages/ApprovalPage/index.tsx | 913 | // ─── Approval progress timeline (for exception detail) ─────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/pages/ApprovalPage/index.tsx | 1114 | // ─── Main page ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/pages/ApprovalPage/index.tsx | 1119 | // ── data ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/pages/ApprovalPage/index.tsx | 1142 | // ── selection ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/pages/ApprovalPage/index.tsx | 1147 | // ── dialog states ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/pages/ApprovalPage/index.tsx | 1172 | // ── exception state ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/frontend/platform/src/pages/ApprovalPage/index.tsx | 1184 | // ── computed ────────────────────────────────────────────────────────────── | COMMENT |
| 1435 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/scan_errcode_i18n.py | 29 | def locale_error_numeric_keys(bs_path: Path) -> set[int]: | CODE |
| LOW | tools/extract_errcodes_ast.py | 72 | def duplicate_code_definitions() -> dict[int, list[str]]: | CODE |
| LOW | features/v2.5.1/014-sso-org-realtime-sync/tasks.md | 359 | async def assert_parent_chain_exists(cls, external_ids: Iterable[str]) -> dict[str, Department]: | STRING |
| LOW | features/v2.5.1/020-llm-tenant-isolation/tasks.md | 215 | async def ainsert_server_with_models(cls, server, models, *, share_to_children: bool = True, operator=None): | CODE |
| LOW | features/v2.5.1/020-llm-tenant-isolation/tasks.md | 300 | async def aget_shared_server_ids_for_leaf(cls, leaf_id: int) -> list[int]: | CODE |
| LOW | features/v2.5.1/020-llm-tenant-isolation/spec.md | 127 | async def ainsert_server_with_models(cls, server: LLMServer, models: list[LLMModel]): | CODE |
| LOW | features/v2.5.1/020-llm-tenant-isolation/spec.md | 184 | async def aupdate_server_with_models(cls, server_id: int, data: dict, operator: UserPayload): | CODE |
| LOW | features/v2.5.1/012-tenant-resolver/tasks.md | 306 | async def _rewrite_fga_member_tuples(cls, user_id, old_tenant_id, new_tenant_id): | CODE |
| LOW | features/v2.5.1/012-tenant-resolver/tasks.md | 466 | def reconcile_user_tenant_assignments(): | CODE |
| LOW | features/v2.5.1/015-ldap-reconcile-celery/tasks.md | 621 | def reconcile_all_organizations(): | CODE |
| LOW⚡ | features/v2.5.1/015-ldap-reconcile-celery/tasks.md | 852 | def report_ts_conflicts_weekly(): | CODE |
| LOW⚡ | features/v2.5.1/015-ldap-reconcile-celery/tasks.md | 863 | def report_ts_conflicts_daily_escalation(): | CODE |
| LOW | features/v2.5.1/017-tenant-shared-storage/tasks.md | 452 | async def _list_root_shared_resources(self) -> list[dict]: | CODE |
| LOW | features/v2.5.1/017-tenant-shared-storage/tasks.md | 810 | def _translate_to_root_prefix(self, name: str) -> str: | STRING |
| LOW | features/v2.5.1/017-tenant-shared-storage/tasks.md | 832 | async def similarity_search_with_fallback(query, knowledge_ids, top_k=5, **kw): | STRING |
| LOW | features/v2.5.1/016-tenant-quota-hierarchy/tasks.md | 228 | async def test_count_usage_strict_excludes_sibling_tenants(db_session, factories): | CODE |
| LOW | features/v2.5.1/016-tenant-quota-hierarchy/tasks.md | 239 | async def test_aggregate_root_usage_sums_self_plus_active_children(db_session, factories): | CODE |
| LOW | features/v2.5.1/016-tenant-quota-hierarchy/tasks.md | 252 | async def test_aggregate_root_usage_no_children(db_session, factories): | CODE |
| LOW | features/v2.5.1/016-tenant-quota-hierarchy/tasks.md | 379 | async def test_check_quota_leaf_exceeded(factories, login_user_child): | CODE |
| LOW | features/v2.5.1/016-tenant-quota-hierarchy/tasks.md | 390 | async def test_check_quota_root_hardcap_blocks_child(factories, login_user_child): | CODE |
| LOW | features/v2.5.1/016-tenant-quota-hierarchy/tasks.md | 415 | async def test_check_quota_admin_bypass(factories, login_user_admin): | CODE |
| LOW⚡ | features/v2.5.1/016-tenant-quota-hierarchy/tasks.md | 564 | async def test_root_hardcap_less_than_child_triggers_first(): | CODE |
| LOW⚡ | features/v2.5.1/016-tenant-quota-hierarchy/tasks.md | 567 | async def test_shared_resource_counts_only_root(): | CODE |
| LOW⚡ | features/v2.5.1/016-tenant-quota-hierarchy/tasks.md | 573 | async def test_root_saturated_blocks_all_children(): | CODE |
| LOW⚡ | features/v2.5.1/016-tenant-quota-hierarchy/tasks.md | 576 | async def test_strict_filter_no_inlist_leak(): | CODE |
| LOW⚡ | features/v2.5.1/016-tenant-quota-hierarchy/tasks.md | 582 | async def test_model_tokens_monthly_table_missing_returns_zero(): | CODE |
| LOW⚡ | features/v2.5.1/016-tenant-quota-hierarchy/tasks.md | 586 | async def test_quota_tree_returns_root_and_active_children(client, factories, admin_cookie): | CODE |
| LOW | features/v2.5.1/016-tenant-quota-hierarchy/tasks.md | 598 | async def test_quota_tree_forbidden_for_non_super_admin(client, child_admin_cookie): | CODE |
| LOW | features/v2.5.1/016-tenant-quota-hierarchy/tasks.md | 603 | async def test_put_quota_accepts_storage_gb_key(client, factories, admin_cookie): | CODE |
| LOW | features/v2.5.1/019-admin-tenant-scope/tasks.md | 214 | async def clear_on_token_version_bump(cls, user_id: int) -> None: | CODE |
| LOW | features/v2.5.1/019-admin-tenant-scope/spec.md | 171 | async def clear_on_token_version_bump(cls, user_id: int): | CODE |
| LOW | features/v2.5.1/011-tenant-tree-model/tasks.md | 529 | - **全局超管列表获取**:新增 helper `async def _list_global_super_admins() -> list[int]`,内部调 `FGAClient.list_users(system:global, | STRING |
| LOW | features/v2.5.0/006-permission-migration/spec.md | 426 | async def _migrate_rbac_to_rebac_if_needed(): | CODE |
| LOW | …6.0/031-channel-source-subscription-reconcile/tasks.md | 45 | **逻辑**: 新增 `async def find_all_referenced_source_ids(self) -> set[str]`:读取当前租户所有 `channel.source_list` 列,在 Python 内展开求 | CODE |
| LOW | …6.0/031-channel-source-subscription-reconcile/tasks.md | 93 | **逻辑**: 新增 `async def reconcile_information_subscriptions(self) -> dict`(运行在调用方注入的某租户上下文内): | CODE |
| LOW | …/skills/react-component-refactor/resources/EXAMPLES.md | 168 | export function validateCreateChannelForm( | CODE |
| LOW | docs/architecture/10-permission-rbac.md | 514 | async def _require_write_permission(self, space_id: int) -> UserRoleEnum: | CODE |
| LOW | docs/PRD/2.6 RAG 检索上下文优化 PRD/2.6 RAG 检索上下文格式优化 PRD.md | 114 | def render_documents_to_llm_context(documents: List[Document]) -> str: | CODE |
| LOW | src/frontend/platform/src/contexts/alertContext.tsx | 130 | function removeFromNotificationList(index: string) { | CODE |
| LOW | src/frontend/platform/src/util/reactflowUtils.ts | 881 | export function connectedInputNodesOnHandle( | CODE |
| LOW | src/frontend/platform/src/util/reactflowUtils.ts | 1126 | export function updateComponentNameAndType( | CODE |
| LOW | src/frontend/platform/src/util/reactflowUtils.ts | 1131 | export function removeFileNameFromComponents(flow: FlowType) { | CODE |
| LOW | src/frontend/platform/src/util/flowUtils.ts | 480 | export function updateVariableNameByCondition(paramItem, questions) { | CODE |
| LOW | src/frontend/platform/src/utils/userDisplayName.ts | 24 | export function buildMemberDisplayNameMap( | CODE |
| LOW | …rm/src/components/chatComponent/buildTrigger/index.tsx | 139 | async function enforceMinimumLoadingTime( | CODE |
| LOW | …/components/bs-comp/knowledgeUploadComponent/index.tsx | 14 | function getKnowledgeUploadSizeLimitMB(file: File, appConfig: { uploadFileMaxSize?: number; uploadMediaMaxSize?: number | CODE |
| LOW | …s-comp/chatComponent/CitationDocumentPreviewDrawer.tsx | 168 | function useResolvedCitationDetail(preview: CitationDocumentPreviewState | null) { | CODE |
| LOW | …s-comp/chatComponent/CitationDocumentPreviewDrawer.tsx | 220 | export function CitationDocumentPreviewContent({ | CODE |
| LOW | …s-comp/chatComponent/CitationDocumentPreviewDrawer.tsx | 260 | export default function CitationDocumentPreviewDrawer({ | CODE |
| LOW | …/src/components/bs-comp/chatComponent/citationUtils.ts | 124 | export function transformPrivateCitations(content: string) { | CODE |
| LOW⚡ | …/src/components/bs-comp/chatComponent/citationUtils.ts | 251 | export function getCitationDocumentFileType(detail?: ChatCitation | null) { | CODE |
| LOW⚡ | …/src/components/bs-comp/chatComponent/citationUtils.ts | 257 | export function getCitationDocumentPreviewUrl(detail?: ChatCitation | null) { | CODE |
| LOW⚡ | …/src/components/bs-comp/chatComponent/citationUtils.ts | 262 | export function getCitationDocumentDownloadUrl(detail?: ChatCitation | null) { | CODE |
| LOW⚡ | …/src/components/bs-comp/chatComponent/citationUtils.ts | 267 | export function isRagCitationMissingPreviewUrl(detail?: ChatCitation | null) { | CODE |
| LOW | …/src/components/bs-comp/chatComponent/citationUtils.ts | 348 | export function parseLegacyWebCitationContent(content: string) { | CODE |
| LOW | …/src/components/bs-comp/chatComponent/citationUtils.ts | 381 | function extractRagParagraphContent(value?: string | null) { | CODE |
| LOW | …/src/components/bs-comp/chatComponent/citationUtils.ts | 419 | export function buildCitationDocumentPreview(detail: ChatCitation | null, data: Partial<CitationDisplayData>): CitationP | CODE |
| LOW | …/src/components/bs-comp/chatComponent/citationUtils.ts | 467 | function buildFallbackCitationData(citation: ChatCitation, label: number): CitationDisplayData | null { | CODE |
| LOW | …/src/components/bs-comp/chatComponent/citationUtils.ts | 486 | export function buildCitationReferenceItems({ | CODE |
| LOW | …omponents/bs-comp/chatComponent/CitationSourceIcon.tsx | 87 | export function buildCitationSourceIconData({ | CODE |
| 4747 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | features/v2.5.1/018-resource-owner-transfer/tasks.md | 227 | except Exception as exc: | CODE |
| LOW | features/v2.5.1/013-tenant-fga-tree/tasks.md | 277 | except Exception as e: # noqa: BLE001 — gray period tolerance | CODE |
| LOW | features/v2.5.1/013-tenant-fga-tree/tasks.md | 546 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | features/v2.5.1/014-sso-org-realtime-sync/tasks.md | 612 | except Exception as e: | CODE |
| LOW | features/v2.5.1/014-sso-org-realtime-sync/tasks.md | 634 | except Exception as e: | CODE |
| LOW | features/v2.5.1/012-tenant-resolver/tasks.md | 486 | except Exception as e: | CODE |
| LOW | features/v2.5.1/015-ldap-reconcile-celery/tasks.md | 428 | except Exception as e: | CODE |
| LOW | features/v2.5.1/015-ldap-reconcile-celery/tasks.md | 466 | except Exception: | CODE |
| LOW | features/v2.5.1/015-ldap-reconcile-celery/tasks.md | 646 | except Exception: | CODE |
| LOW⚡ | features/v2.5.1/015-ldap-reconcile-celery/tasks.md | 857 | except Exception: | CODE |
| LOW⚡ | features/v2.5.1/015-ldap-reconcile-celery/tasks.md | 868 | except Exception: | CODE |
| LOW | …ures/v2.5.1/019-admin-tenant-scope/role-revoke-hook.md | 37 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | features/v2.5.0/008-resource-rebac-adaptation/tasks.md | 139 | except Exception as e: | CODE |
| LOW | features/v2.5.0/003-user-group/tasks.md | 138 | except Exception: | CODE |
| LOW | features/v2.5.0/003-user-group/spec.md | 208 | except Exception: | CODE |
| LOW | features/v2.6.0/027-rebac-list-perf-optim/spec.md | 239 | except Exception as exc: | CODE |
| LOW | scripts/gen_conversation_export_template.py | 193 | except Exception: # pragma: no cover - style add failure is non-critical | CODE |
| LOW | scripts/gen_conversation_export_template.py | 213 | except Exception: | CODE |
| LOW | scripts/gen_conversation_export_template.py | 220 | except Exception: | CODE |
| LOW | src/backend/AGENTS.md | 47 | except Exception: | CODE |
| LOW | src/backend/AGENTS.md | 53 | except Exception: | CODE |
| LOW | src/backend/CLAUDE.md | 47 | except Exception: | CODE |
| LOW | src/backend/CLAUDE.md | 53 | except Exception: | CODE |
| LOW | …backend/bisheng_langchain/embeddings/host_embedding.py | 76 | except Exception: | CODE |
| LOW | …backend/bisheng_langchain/embeddings/host_embedding.py | 121 | except Exception as e: | CODE |
| LOW | …backend/bisheng_langchain/embeddings/host_embedding.py | 175 | except Exception: | CODE |
| LOW | …ckend/bisheng_langchain/embeddings/interface/wenxin.py | 69 | except Exception as e: | CODE |
| LOW | src/backend/bisheng_langchain/linsight/utils.py | 115 | except Exception: | CODE |
| LOW | …c/backend/bisheng_langchain/gpts/auto_tool_selected.py | 51 | except Exception as e: | CODE |
| LOW | src/backend/bisheng_langchain/gpts/auto_optimization.py | 85 | except Exception as e: | CODE |
| LOW | …/backend/bisheng_langchain/gpts/tools/message/email.py | 85 | except Exception as e: | CODE |
| LOW | …_langchain/gpts/tools/code_interpreter/e2b_executor.py | 69 | except Exception: | CODE |
| LOW | …_langchain/gpts/tools/code_interpreter/e2b_executor.py | 325 | except Exception as e: | CODE |
| LOW | …/bisheng_langchain/gpts/tools/code_interpreter/tool.py | 43 | except Exception: | CODE |
| LOW | …/bisheng_langchain/gpts/agent_types/llm_react_agent.py | 107 | except Exception as e: | CODE |
| LOW⚡ | …/bisheng_langchain/gpts/agent_types/llm_react_agent.py | 127 | except Exception as e: | CODE |
| LOW | src/backend/bisheng_langchain/chat_models/host_llm.py | 164 | except Exception: | CODE |
| LOW | src/backend/bisheng_langchain/chat_models/host_llm.py | 231 | except Exception as e: | CODE |
| LOW | src/backend/bisheng_langchain/chat_models/host_llm.py | 291 | except Exception as e: | CODE |
| LOW | src/backend/bisheng_langchain/chat_models/host_llm.py | 308 | except Exception: | CODE |
| LOW | …end/bisheng_langchain/chat_models/interface/minimax.py | 107 | except Exception as e: | CODE |
| LOW | …kend/bisheng_langchain/chat_models/interface/xunfei.py | 228 | except Exception as e: | CODE |
| LOW | …kend/bisheng_langchain/chat_models/interface/openai.py | 55 | except Exception as e: | CODE |
| LOW | …kend/bisheng_langchain/chat_models/interface/wenxin.py | 103 | except Exception as e: | CODE |
| LOW | …end/bisheng_langchain/chat_models/interface/zhipuai.py | 68 | except Exception as e: | CODE |
| LOW | …d/bisheng_langchain/agents/llm_functions_agent/base.py | 54 | except Exception: | CODE |
| LOW | …gchain/agents/chatglm_functions_agent/output_parser.py | 45 | except Exception as e: | CODE |
| LOW | …gchain/agents/chatglm_functions_agent/output_parser.py | 73 | except Exception as e: | CODE |
| LOW⚡ | src/backend/bisheng_langchain/utils/openapi.py | 8 | except Exception as e: | CODE |
| LOW | src/backend/bisheng_langchain/utils/wrap_function.py | 15 | except Exception as e: | CODE |
| LOW | src/backend/bisheng_langchain/utils/wrap_function.py | 39 | except Exception as e: | CODE |
| LOW | src/backend/bisheng_langchain/input_output/output.py | 141 | except Exception as e: | CODE |
| LOW | src/backend/bisheng_langchain/input_output/output.py | 146 | except Exception as e2: | CODE |
| LOW | src/backend/bisheng_langchain/rag/bisheng_rag_tool.py | 197 | except Exception as e: | CODE |
| LOW | src/backend/bisheng_langchain/rag/bisheng_rag_tool.py | 249 | except Exception as e: | CODE |
| LOW | src/backend/bisheng_langchain/rag/api/fastgpt_rag.py | 176 | except Exception as e: | CODE |
| LOW | src/backend/bisheng_langchain/rag/api/fastgpt_rag.py | 318 | except Exception as e: | CODE |
| LOW | src/backend/bisheng_langchain/rag/api/dify_rag.py | 157 | except Exception as e: | CODE |
| LOW | src/backend/bisheng_langchain/rag/api/dify_rag.py | 246 | except Exception as e: | CODE |
| LOW | src/backend/bisheng_langchain/vectorstores/milvus.py | 222 | except Exception as e: | CODE |
| 978 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/scan_errcode_i18n.py | 7 | CODE | |
| LOW | tools/apply_missing_errcode_i18n.py | 8 | CODE | |
| LOW | tools/extract_errcodes_ast.py | 2 | CODE | |
| LOW | scripts/gen_conversation_export_template.py | 20 | CODE | |
| LOW | src/backend/bisheng_langchain/text_splitter.py | 3 | CODE | |
| LOW | src/backend/bisheng_langchain/retrievers/__init__.py | 1 | CODE | |
| LOW | src/backend/bisheng_langchain/retrievers/__init__.py | 2 | CODE | |
| LOW | src/backend/bisheng_langchain/embeddings/__init__.py | 1 | CODE | |
| LOW | src/backend/bisheng_langchain/embeddings/__init__.py | 1 | CODE | |
| LOW | src/backend/bisheng_langchain/embeddings/__init__.py | 1 | CODE | |
| LOW | src/backend/bisheng_langchain/embeddings/__init__.py | 1 | CODE | |
| LOW | src/backend/bisheng_langchain/embeddings/__init__.py | 1 | CODE | |
| LOW | src/backend/bisheng_langchain/embeddings/__init__.py | 1 | CODE | |
| LOW | src/backend/bisheng_langchain/embeddings/__init__.py | 3 | CODE | |
| LOW | src/backend/bisheng_langchain/embeddings/__init__.py | 4 | CODE | |
| LOW | src/backend/bisheng_langchain/embeddings/__init__.py | 5 | CODE | |
| LOW | src/backend/bisheng_langchain/embeddings/wenxin.py | 1 | CODE | |
| LOW | …backend/bisheng_langchain/embeddings/huggingfacegte.py | 3 | CODE | |
| LOW | …backend/bisheng_langchain/embeddings/huggingfacegte.py | 5 | CODE | |
| LOW | …isheng_langchain/embeddings/huggingfacemultilingual.py | 3 | CODE | |
| LOW | …isheng_langchain/embeddings/huggingfacemultilingual.py | 5 | CODE | |
| LOW | …backend/bisheng_langchain/embeddings/host_embedding.py | 1 | CODE | |
| LOW | …end/bisheng_langchain/embeddings/interface/__init__.py | 1 | CODE | |
| LOW | src/backend/bisheng_langchain/memory/__init__.py | 1 | CODE | |
| LOW | …ackend/bisheng_langchain/gpts/tools/calculator/tool.py | 1 | CODE | |
| LOW | …ackend/bisheng_langchain/gpts/tools/calculator/tool.py | 2 | CODE | |
| LOW | …ackend/bisheng_langchain/gpts/tools/calculator/tool.py | 4 | CODE | |
| LOW | …ackend/bisheng_langchain/gpts/tools/calculator/tool.py | 7 | CODE | |
| LOW | …backend/bisheng_langchain/gpts/tools/message/wechat.py | 6 | CODE | |
| LOW | …/backend/bisheng_langchain/gpts/tools/message/email.py | 8 | CODE | |
| LOW | …backend/bisheng_langchain/gpts/tools/message/feishu.py | 1 | CODE | |
| LOW | …backend/bisheng_langchain/gpts/tools/message/feishu.py | 7 | CODE | |
| LOW | …ckend/bisheng_langchain/gpts/tools/message/dingding.py | 1 | CODE | |
| LOW | …ckend/bisheng_langchain/gpts/tools/message/dingding.py | 1 | CODE | |
| LOW | …ckend/bisheng_langchain/gpts/tools/message/dingding.py | 6 | CODE | |
| LOW | …d/bisheng_langchain/gpts/tools/api_tools/tianyancha.py | 2 | CODE | |
| LOW | …d/bisheng_langchain/gpts/tools/api_tools/tianyancha.py | 4 | CODE | |
| LOW | …backend/bisheng_langchain/gpts/tools/api_tools/jina.py | 6 | CODE | |
| LOW | …backend/bisheng_langchain/gpts/tools/api_tools/sina.py | 3 | CODE | |
| LOW | …backend/bisheng_langchain/gpts/tools/api_tools/base.py | 1 | CODE | |
| LOW | …/bisheng_langchain/gpts/tools/code_interpreter/tool.py | 6 | CODE | |
| LOW | …/bisheng_langchain/gpts/tools/code_interpreter/tool.py | 10 | CODE | |
| LOW | …/bisheng_langchain/gpts/tools/code_interpreter/tool.py | 11 | CODE | |
| LOW | …backend/bisheng_langchain/gpts/agent_types/__init__.py | 1 | CODE | |
| LOW | …backend/bisheng_langchain/gpts/agent_types/__init__.py | 1 | CODE | |
| LOW | …backend/bisheng_langchain/gpts/agent_types/__init__.py | 5 | CODE | |
| LOW | …heng_langchain/gpts/agent_types/llm_functions_agent.py | 1 | CODE | |
| LOW | …/bisheng_langchain/gpts/agent_types/llm_react_agent.py | 12 | CODE | |
| LOW | src/backend/bisheng_langchain/gpts/prompts/__init__.py | 1 | CODE | |
| LOW | src/backend/bisheng_langchain/gpts/prompts/__init__.py | 2 | CODE | |
| LOW | src/backend/bisheng_langchain/gpts/prompts/__init__.py | 3 | CODE | |
| LOW | src/backend/bisheng_langchain/gpts/prompts/__init__.py | 4 | CODE | |
| LOW | src/backend/bisheng_langchain/gpts/prompts/__init__.py | 5 | CODE | |
| LOW | src/backend/bisheng_langchain/gpts/prompts/__init__.py | 6 | CODE | |
| LOW | src/backend/bisheng_langchain/gpts/prompts/__init__.py | 6 | CODE | |
| LOW | …eng_langchain/gpts/prompts/breif_description_prompt.py | 1 | CODE | |
| LOW | …bisheng_langchain/gpts/prompts/assistant_prompt_opt.py | 1 | CODE | |
| LOW | …d/bisheng_langchain/gpts/prompts/react_agent_prompt.py | 8 | CODE | |
| LOW | …isheng_langchain/gpts/prompts/opening_dialog_prompt.py | 1 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/sensetime.py | 1 | CODE | |
| 924 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/backend/bisheng_langchain/embeddings/wenxin.py | 0 | holds any model parameters valid for `create` call not explicitly specified. | STRING |
| HIGH | …backend/bisheng_langchain/embeddings/host_embedding.py | 0 | holds any model parameters valid for `create` call not explicitly specified. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/sensetime.py | 0 | holds any model parameters valid for `create` call not explicitly specified. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/minimax.py | 0 | holds any model parameters valid for `create` call not explicitly specified. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/host_llm.py | 0 | holds any model parameters valid for `create` call not explicitly specified. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/wenxin.py | 0 | holds any model parameters valid for `create` call not explicitly specified. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/qwen.py | 0 | holds any model parameters valid for `create` call not explicitly specified. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/proxy_llm.py | 0 | holds any model parameters valid for `create` call not explicitly specified. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/zhipuai.py | 0 | holds any model parameters valid for `create` call not explicitly specified. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/xunfeiai.py | 0 | holds any model parameters valid for `create` call not explicitly specified. | STRING |
| HIGH | src/backend/bisheng_langchain/embeddings/wenxin.py | 0 | validate that api key and python package exists in environment. | STRING |
| HIGH | …backend/bisheng_langchain/embeddings/host_embedding.py | 0 | validate that api key and python package exists in environment. | STRING |
| HIGH | …eng_langchain/gpts/tools/dalle_image_generator/tool.py | 0 | validate that api key and python package exists in environment. | STRING |
| HIGH | …d/bisheng_langchain/gpts/tools/api_tools/tianyancha.py | 0 | validate that api key and python package exists in environment. | STRING |
| HIGH | …backend/bisheng_langchain/gpts/tools/api_tools/base.py | 0 | validate that api key and python package exists in environment. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/sensetime.py | 0 | validate that api key and python package exists in environment. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/minimax.py | 0 | validate that api key and python package exists in environment. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/host_llm.py | 0 | validate that api key and python package exists in environment. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/wenxin.py | 0 | validate that api key and python package exists in environment. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/qwen.py | 0 | validate that api key and python package exists in environment. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/proxy_llm.py | 0 | validate that api key and python package exists in environment. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/zhipuai.py | 0 | validate that api key and python package exists in environment. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/xunfeiai.py | 0 | validate that api key and python package exists in environment. | STRING |
| HIGH | …bisheng_langchain/utils/azure_dalle_image_generator.py | 0 | validate that api key and python package exists in environment. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/sensetime.py | 0 | timeout for requests to openai completion api. default is 600 seconds. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/minimax.py | 0 | timeout for requests to openai completion api. default is 600 seconds. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/host_llm.py | 0 | timeout for requests to openai completion api. default is 600 seconds. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/wenxin.py | 0 | timeout for requests to openai completion api. default is 600 seconds. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/qwen.py | 0 | timeout for requests to openai completion api. default is 600 seconds. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/proxy_llm.py | 0 | timeout for requests to openai completion api. default is 600 seconds. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/zhipuai.py | 0 | timeout for requests to openai completion api. default is 600 seconds. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/xunfeiai.py | 0 | timeout for requests to openai completion api. default is 600 seconds. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/sensetime.py | 0 | number of chat completions to generate for each prompt. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/minimax.py | 0 | number of chat completions to generate for each prompt. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/host_llm.py | 0 | number of chat completions to generate for each prompt. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/wenxin.py | 0 | number of chat completions to generate for each prompt. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/proxy_llm.py | 0 | number of chat completions to generate for each prompt. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/zhipuai.py | 0 | number of chat completions to generate for each prompt. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/xunfeiai.py | 0 | number of chat completions to generate for each prompt. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/sensetime.py | 0 | the model name to pass to tiktoken when using this class. tiktoken is used to count the number of tokens in documents to | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/minimax.py | 0 | the model name to pass to tiktoken when using this class. tiktoken is used to count the number of tokens in documents to | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/host_llm.py | 0 | the model name to pass to tiktoken when using this class. tiktoken is used to count the number of tokens in documents to | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/wenxin.py | 0 | the model name to pass to tiktoken when using this class. tiktoken is used to count the number of tokens in documents to | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/qwen.py | 0 | the model name to pass to tiktoken when using this class. tiktoken is used to count the number of tokens in documents to | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/proxy_llm.py | 0 | the model name to pass to tiktoken when using this class. tiktoken is used to count the number of tokens in documents to | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/zhipuai.py | 0 | the model name to pass to tiktoken when using this class. tiktoken is used to count the number of tokens in documents to | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/xunfeiai.py | 0 | the model name to pass to tiktoken when using this class. tiktoken is used to count the number of tokens in documents to | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/sensetime.py | 0 | get the parameters used to invoke the model for the callbacks. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/minimax.py | 0 | get the parameters used to invoke the model for the callbacks. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/host_llm.py | 0 | get the parameters used to invoke the model for the callbacks. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/wenxin.py | 0 | get the parameters used to invoke the model for the callbacks. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/qwen.py | 0 | get the parameters used to invoke the model for the callbacks. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/proxy_llm.py | 0 | get the parameters used to invoke the model for the callbacks. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/zhipuai.py | 0 | get the parameters used to invoke the model for the callbacks. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/xunfeiai.py | 0 | get the parameters used to invoke the model for the callbacks. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/minimax.py | 0 | wrapper around proxy chat large language models. to use, the environment variable ``elemai_api_key`` set with your api k | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/wenxin.py | 0 | wrapper around proxy chat large language models. to use, the environment variable ``elemai_api_key`` set with your api k | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/xunfeiai.py | 0 | wrapper around proxy chat large language models. to use, the environment variable ``elemai_api_key`` set with your api k | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/minimax.py | 0 | get the tokens present in the text with tiktoken package. | STRING |
| HIGH | src/backend/bisheng_langchain/chat_models/host_llm.py | 0 | get the tokens present in the text with tiktoken package. | STRING |
| 50 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/apply_missing_errcode_i18n.py | 262 | CODE | |
| LOW | tools/extract_errcodes_ast.py | 29 | CODE | |
| LOW | src/backend/bisheng_langchain/text_splitter.py | 18 | CODE | |
| LOW | src/backend/bisheng_langchain/text_splitter.py | 51 | CODE | |
| LOW | src/backend/bisheng_langchain/text_splitter.py | 159 | CODE | |
| LOW | …/backend/bisheng_langchain/retrievers/mix_es_vector.py | 25 | CODE | |
| LOW | …/backend/bisheng_langchain/retrievers/mix_es_vector.py | 70 | CODE | |
| LOW | src/backend/bisheng_langchain/gpts/load_tools.py | 164 | CODE | |
| LOW | …/bisheng_langchain/gpts/tools/local_file/local_file.py | 178 | CODE | |
| LOW | …/bisheng_langchain/gpts/tools/local_file/local_file.py | 497 | CODE | |
| LOW | …/bisheng_langchain/gpts/tools/local_file/local_file.py | 210 | CODE | |
| LOW | …kend/bisheng_langchain/gpts/tools/api_tools/openapi.py | 24 | CODE | |
| LOW | …kend/bisheng_langchain/gpts/tools/api_tools/openapi.py | 59 | CODE | |
| LOW | …kend/bisheng_langchain/gpts/tools/api_tools/openapi.py | 111 | CODE | |
| LOW | …kend/bisheng_langchain/gpts/tools/api_tools/openapi.py | 137 | CODE | |
| LOW | …backend/bisheng_langchain/gpts/tools/api_tools/sina.py | 86 | CODE | |
| LOW | …d/bisheng_langchain/gpts/tools/api_tools/macro_data.py | 430 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/sensetime.py | 64 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/sensetime.py | 84 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/sensetime.py | 105 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/sensetime.py | 236 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/sensetime.py | 313 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/minimax.py | 53 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/minimax.py | 72 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/host_llm.py | 53 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/host_llm.py | 73 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/host_llm.py | 273 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/host_llm.py | 322 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/wenxin.py | 53 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/wenxin.py | 72 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/qwen.py | 54 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/qwen.py | 86 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/qwen.py | 225 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/qwen.py | 290 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/proxy_llm.py | 52 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/proxy_llm.py | 71 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/zhipuai.py | 50 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/zhipuai.py | 69 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/zhipuai.py | 90 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/xunfeiai.py | 53 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/xunfeiai.py | 73 | CODE | |
| LOW | …end/bisheng_langchain/chat_models/interface/minimax.py | 25 | CODE | |
| LOW | …sheng_langchain/agents/chatglm_functions_agent/base.py | 165 | CODE | |
| LOW | src/backend/bisheng_langchain/utils/openapi.py | 12 | CODE | |
| LOW | src/backend/bisheng_langchain/utils/wrap_function.py | 9 | CODE | |
| LOW | src/backend/bisheng_langchain/utils/wrap_function.py | 33 | CODE | |
| LOW | src/backend/bisheng_langchain/utils/wrap_function.py | 10 | CODE | |
| LOW | src/backend/bisheng_langchain/utils/wrap_function.py | 34 | CODE | |
| LOW | src/backend/bisheng_langchain/utils/wrap_function.py | 11 | CODE | |
| LOW | src/backend/bisheng_langchain/utils/wrap_function.py | 35 | CODE | |
| LOW | src/backend/bisheng_langchain/input_output/output.py | 83 | CODE | |
| LOW | src/backend/bisheng_langchain/input_output/output.py | 120 | CODE | |
| LOW | src/backend/bisheng_langchain/input_output/output.py | 169 | CODE | |
| LOW | src/backend/bisheng_langchain/input_output/output.py | 216 | CODE | |
| LOW | src/backend/bisheng_langchain/rag/api/dify_rag.py | 117 | CODE | |
| LOW | …ckend/bisheng_langchain/rag/rerank/rerank_benchmark.py | 80 | CODE | |
| LOW | …bisheng_langchain/rag/init_retrievers/mix_retriever.py | 62 | CODE | |
| LOW | src/backend/bisheng_langchain/vectorstores/milvus.py | 297 | CODE | |
| LOW | src/backend/bisheng_langchain/vectorstores/milvus.py | 448 | CODE | |
| LOW | src/backend/bisheng_langchain/vectorstores/retriever.py | 77 | CODE | |
| 343 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/backend/bisheng_langchain/rag/api/fastgpt_rag.py | 45 | "parentId": null, | STRING |
| HIGH | src/backend/bisheng_langchain/rag/api/fastgpt_rag.py | 88 | "parentId": null, | STRING |
| HIGH | src/backend/bisheng_langchain/rag/api/fastgpt_rag.py | 111 | --form 'data="{\"datasetId\":\"6593e137231a2be9c5603ba7\",\"parentId\":null,\"trainingType\":\"chunk\",\"chunkSize\" | STRING |
| HIGH | src/backend/test/tenant/test_tenant_storage_listing.py | 91 | ``{used || 0}/{quota}GB``).""" | STRING |
| HIGH | src/backend/test/linsight/_e2e_llm_resilience_runner.py | 17 | cd src/backend && python test/linsight/_e2e_llm_resilience_runner.py | STRING |
| HIGH | src/backend/test/linsight/_e2e_track_a_real_llm.py | 14 | cd src/backend && config=config.yaml python test/linsight/_e2e_track_a_real_llm.py | STRING |
| HIGH | src/backend/test/linsight/test_e2e_abc.py | 24 | cd src/backend && export config=config.yaml | STRING |
| HIGH | src/backend/test/linsight/_e2e_abc_runner.py | 14 | cd src/backend && config=config.yaml python test/linsight/_e2e_abc_runner.py | STRING |
| HIGH | src/backend/test/linsight/test_e2e_llm_resilience.py | 15 | cd src/backend && uv run pytest test/linsight/test_e2e_llm_resilience.py -v -m e2e | STRING |
| HIGH | src/backend/test/admin/test_admin_tenant_scope_api.py | 206 | """AC-02 edge: no active scope → both fields null, HTTP 200.""" | STRING |
| HIGH | src/backend/bisheng/admin/api/endpoints/tenant_scope.py | 81 | Body: ``{tenant_id: int | null}``. Passing ``null`` clears the Redis | STRING |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1136 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (10, '总Q | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1137 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (10, '总应 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1138 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (10, '总文 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1139 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (10, '总用 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1140 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (10, '总知 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1141 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (10, '新增 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1142 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (10, '新增 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1143 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (10, '点赞 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1144 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (10, '点赞 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1151 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (11, 'To | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1152 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (11, 'To | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1153 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (11, '不同 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1154 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (11, '会话 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1155 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (11, '会话 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1156 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (11, '总Q | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1157 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (11, '总应 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1158 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (11, '总文 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1159 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (11, '总文 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1160 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (11, '总文 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1161 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (11, '总用 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1162 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (11, '新增 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1163 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (11, '最大 | CODE |
| HIGH⚡ | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1164 | INSERT INTO dashboard_component (dashboard_id, title, type, dataset_code, data_config, style_config, id) VALUES (11, '最大 | CODE |
| HIGH | src/backend/bisheng/utils/linked_list.py | 106 | elif index > (self.length() - 1): | CODE |
| HIGH | src/backend/bisheng/utils/linked_list.py | 172 | print(double_link_list.length()) | CODE |
| HIGH | src/backend/bisheng/utils/linked_list.py | 206 | print(double_link_list.length()) | CODE |
| HIGH⚡ | …/bisheng/channel/domain/services/article_es_service.py | 46 | if (source != null) { | CODE |
| HIGH⚡ | …/bisheng/channel/domain/services/article_es_service.py | 47 | if (source.containsKey("title") && source["title"] != null) { | CODE |
| HIGH⚡ | …/bisheng/channel/domain/services/article_es_service.py | 50 | if (source.containsKey("content") && source["content"] != null) { | CODE |
| HIGH⚡ | …/bisheng/channel/domain/services/article_es_service.py | 56 | if (keyword == null) { | CODE |
| HIGH⚡ | …/bisheng/channel/domain/services/article_es_service.py | 59 | String value = keyword.toString(); | CODE |
| HIGH⚡ | …/bisheng/channel/domain/services/article_es_service.py | 60 | if (value.length() == 0) { | CODE |
| HIGH⚡ | …ckend/bisheng/common/utils/markdown_cmpnt/md_to_pdf.py | 664 | "() => window.MathJax && window.MathJax.typesetPromise", timeout=self.DEFAULT_TIMEOUT | CODE |
| HIGH⚡ | …ckend/bisheng/common/utils/markdown_cmpnt/md_to_pdf.py | 666 | page.evaluate("() => window.MathJax && window.MathJax.typesetPromise()") | CODE |
| HIGH | …ckend/bisheng/common/utils/markdown_cmpnt/md_to_pdf.py | 47 | logger.warning("Playwright Not available. Please install: pip install playwright && playwright install chromium") | CODE |
| HIGH | …ckend/bisheng/common/utils/markdown_cmpnt/md_to_pdf.py | 406 | "Playwright Not installed. Please install: pip install playwright && playwright install chromium" | CODE |
| HIGH | …g/knowledge/domain/services/knowledge_space_service.py | 1932 | # Default order: update_time desc (fall back to create_time / id when null). | COMMENT |
| HIGH | src/backend/bisheng/api/v1/mark_task.py | 246 | if linked.length() == 1 and linked.head().data == chat_id: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/backend/bisheng_langchain/retrievers/ensemble.py | 168 | # Create a union of all unique documents in the input doc_lists | COMMENT |
| MEDIUM | src/backend/bisheng_langchain/gpts/utils.py | 1 | # This module is used to import any langchain class by name. | COMMENT |
| MEDIUM | …heng_langchain/gpts/agent_types/llm_functions_agent.py | 40 | # Define the function that determines whether to continue or not | COMMENT |
| MEDIUM | …heng_langchain/gpts/agent_types/llm_functions_agent.py | 56 | # Define the function to execute tools | COMMENT |
| MEDIUM | …heng_langchain/gpts/agent_types/llm_functions_agent.py | 67 | # Define the two nodes we will cycle between | COMMENT |
| MEDIUM⚡ | …heng_langchain/gpts/agent_types/llm_functions_agent.py | 138 | # Define the function that determines whether to continue or not | COMMENT |
| MEDIUM⚡ | …heng_langchain/gpts/agent_types/llm_functions_agent.py | 148 | # Define the function to execute tools | COMMENT |
| MEDIUM⚡ | …heng_langchain/gpts/agent_types/llm_functions_agent.py | 155 | # Define the two nodes we will cycle between | COMMENT |
| MEDIUM | …/bisheng_langchain/gpts/agent_types/llm_react_agent.py | 92 | # Define the function to execute tools | COMMENT |
| MEDIUM⚡ | …/bisheng_langchain/gpts/agent_types/llm_react_agent.py | 134 | # Define a new graph | COMMENT |
| MEDIUM⚡ | …/bisheng_langchain/gpts/agent_types/llm_react_agent.py | 137 | # Define the two nodes we will cycle between | COMMENT |
| MEDIUM | src/backend/bisheng_langchain/rag/utils.py | 1 | # This module is used to import any langchain class by name. | COMMENT |
| MEDIUM⚡ | src/backend/bisheng_langchain/vectorstores/milvus.py | 336 | # Create the text field | COMMENT |
| MEDIUM⚡ | src/backend/bisheng_langchain/vectorstores/milvus.py | 338 | # Create the primary key field | COMMENT |
| MEDIUM⚡ | src/backend/bisheng_langchain/vectorstores/milvus.py | 341 | # Create the vector field, supports binary or float vectors | COMMENT |
| MEDIUM⚡ | src/backend/bisheng_langchain/vectorstores/milvus.py | 345 | # Create the schema for the collection | COMMENT |
| MEDIUM⚡ | src/backend/bisheng_langchain/vectorstores/milvus.py | 350 | # Create the collection | COMMENT |
| MEDIUM | src/backend/bisheng_langchain/vectorstores/milvus.py | 206 | # Create the connection to the server | COMMENT |
| MEDIUM⚡ | src/backend/test/tenant/test_tenant_auth.py | 79 | # Create a token without tenant_id (simulating pre-v2.5 token) | COMMENT |
| MEDIUM⚡ | …ledge/test_list_space_children_excludes_non_primary.py | 144 | # Create a document with two versions: V1=non-primary, V2=primary | COMMENT |
| MEDIUM | src/backend/test/_legacy/test_api.py | 119 | # Create the directory if it doesn't exist | COMMENT |
| MEDIUM⚡ | src/backend/test/e2e/test_e2e_org_sync.py | 232 | # Create a config to delete | COMMENT |
| MEDIUM⚡ | src/backend/test/e2e/test_e2e_department_tree.py | 320 | # Create a child first | COMMENT |
| MEDIUM | src/backend/test/e2e/test_e2e_department_tree.py | 342 | # Create a dept | COMMENT |
| MEDIUM⚡ | src/backend/test/e2e/test_e2e_tenant_management_ui.py | 320 | # Create a test user | COMMENT |
| MEDIUM | src/backend/test/e2e/test_e2e_tenant_management_ui.py | 406 | # Create a tenant with admin user | COMMENT |
| MEDIUM | src/backend/test/e2e/test_e2e_role_menu_quota.py | 221 | # Create a role first | COMMENT |
| MEDIUM⚡ | src/backend/test/e2e/test_e2e_role_menu_quota.py | 292 | # Create a test role | COMMENT |
| MEDIUM | src/backend/scripts/base_telemetry_events_reindex.py | 4 | "mappings": { # Defining the indexed Mapping | CODE |
| MEDIUM | src/backend/bisheng/database/models/flow.py | 158 | # Create a default version | COMMENT |
| MEDIUM | src/backend/bisheng/database/models/audit_log.py | 54 | CREATE_ROLE = "create_role" # Create a Role | CODE |
| MEDIUM⚡ | src/backend/bisheng/core/cache/utils.py | 39 | # Create the destination folder if it doesn't exist | COMMENT |
| MEDIUM⚡ | src/backend/bisheng/core/cache/utils.py | 52 | # Create the destination folder if it doesn't exist | COMMENT |
| MEDIUM | src/backend/bisheng/core/cache/utils.py | 159 | # Create the full file path | COMMENT |
| MEDIUM | src/backend/bisheng/core/cache/utils.py | 222 | # Create the folder if it doesn't exist | COMMENT |
| MEDIUM | src/backend/bisheng/core/cache/utils.py | 254 | # Create the folder if it doesn't exist | COMMENT |
| MEDIUM | src/backend/bisheng/core/cache/utils.py | 317 | # Create the folder if it doesn't exist | COMMENT |
| MEDIUM⚡ | src/backend/bisheng/core/storage/minio/minio_storage.py | 478 | # This method is intended for streaming downloads, returning the raw response object for the caller to handle th | COMMENT |
| MEDIUM | src/backend/bisheng/core/ai/rerank/rrf_rerank.py | 58 | # Create a union of all unique documents in the input doc_lists | COMMENT |
| MEDIUM | src/backend/bisheng/linsight/api/endpoints/linsight.py | 594 | # Creating an Idea Task Message Flow websocket | COMMENT |
| MEDIUM | …end/bisheng/linsight/domain/services/workbench_impl.py | 1080 | # Create a task dictionary for quick lookups | COMMENT |
| MEDIUM | …end/bisheng/message/domain/services/message_service.py | 501 | # Create the message with action_code stored on model for reliable routing | COMMENT |
| MEDIUM | src/backend/bisheng/utils/docx_temp.py | 454 | # Create a new paragraph for the subsequent text and update itcurrent_paragraph | COMMENT |
| MEDIUM | src/backend/bisheng/utils/docx_temp.py | 484 | # Create a new paragraph for the subsequent text | COMMENT |
| MEDIUM | src/backend/bisheng/utils/docx_temp.py | 510 | # Create a new paragraph element | COMMENT |
| MEDIUM | src/backend/bisheng/utils/docx_temp.py | 1252 | # Create a new paragraph | COMMENT |
| MEDIUM | src/backend/bisheng/utils/docx_temp.py | 293 | paragraphs_to_process = list(doc.paragraphs) # Create a copy as we may modify the paragraph structure | CODE |
| MEDIUM | src/backend/bisheng/utils/async_utils.py | 181 | # Creating the task inside ctx.run() propagates all ContextVars | COMMENT |
| MEDIUM | src/backend/bisheng/utils/threadpool.py | 120 | # Create a thread pool manager | COMMENT |
| MEDIUM | src/backend/bisheng/utils/linked_list.py | 110 | # Create a new section | COMMENT |
| MEDIUM | src/backend/bisheng/utils/http_middleware.py | 1 | # Define a custom middleware class | COMMENT |
| MEDIUM | src/backend/bisheng/utils/validate.py | 57 | # Create an empty dictionary to serve as a separate namespace | COMMENT |
| MEDIUM⚡ | …/utils/markdown_cmpnt/md_to_docx/provider/docx_plus.py | 18 | # Create the w:hyperlink tag and add needed values | COMMENT |
| MEDIUM⚡ | …/utils/markdown_cmpnt/md_to_docx/provider/docx_plus.py | 21 | # Create a w:r element | COMMENT |
| MEDIUM⚡ | …/utils/markdown_cmpnt/md_to_docx/provider/docx_plus.py | 23 | # Create a new w:rPr element | COMMENT |
| MEDIUM | …bisheng/common/services/telemetry/telemetry_service.py | 30 | "mappings": { # Defining the indexed Mapping | CODE |
| MEDIUM | …bisheng/common/services/telemetry/telemetry_service.py | 107 | # Create a semaphore to limit the number of concurrency | COMMENT |
| MEDIUM | …g/knowledge/domain/services/knowledge_space_service.py | 4482 | # Create the folder explicitly so empty folders exist in tmp_dir | COMMENT |
| MEDIUM | …ng/knowledge/domain/services/knowledge_file_service.py | 140 | # Create a new dictionary to store updated metadata | COMMENT |
| MEDIUM⚡ | src/backend/bisheng/api/v1/callback.py | 127 | # Create a formatted message. | COMMENT |
| 8 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/gen_conversation_export_template.py | 65 | def _set_cjk_font(run_or_style_element, font_name: str) -> None: | CODE |
| LOW | scripts/gen_conversation_export_template.py | 101 | def _set_doc_defaults(doc) -> None: | CODE |
| LOW | scripts/gen_conversation_export_template.py | 137 | def _set_page_size_a4(section) -> None: | CODE |
| LOW | src/backend/bisheng_langchain/text_splitter.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/backend/bisheng_langchain/retrievers/__init__.py | 4 | __all__ = [ | CODE |
| LOW | src/backend/bisheng_langchain/embeddings/__init__.py | 7 | __all__ = [ | CODE |
| LOW | src/backend/bisheng_langchain/embeddings/wenxin.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …backend/bisheng_langchain/embeddings/host_embedding.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …end/bisheng_langchain/embeddings/interface/__init__.py | 3 | __all__ = ['WenxinEmbeddingClient'] | CODE |
| LOW | src/backend/bisheng_langchain/memory/__init__.py | 3 | __all__ = ['ConversationRedisMemory'] | CODE |
| LOW | src/backend/bisheng_langchain/gpts/assistant.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …eng_langchain/gpts/tools/dalle_image_generator/tool.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …bisheng_langchain/gpts/tools/bing_search/self_arxiv.py | 7 | logger = logging.getLogger(__name__) | CODE |
| LOW | …backend/bisheng_langchain/gpts/agent_types/__init__.py | 8 | __all__ = [ | CODE |
| LOW | src/backend/bisheng_langchain/gpts/prompts/__init__.py | 9 | __all__ = [ | CODE |
| LOW | src/backend/bisheng_langchain/chat_models/sensetime.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/backend/bisheng_langchain/chat_models/minimax.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/backend/bisheng_langchain/chat_models/__init__.py | 9 | __all__ = [ | CODE |
| LOW | src/backend/bisheng_langchain/chat_models/host_llm.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/backend/bisheng_langchain/chat_models/wenxin.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/backend/bisheng_langchain/chat_models/qwen.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/backend/bisheng_langchain/chat_models/proxy_llm.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/backend/bisheng_langchain/chat_models/zhipuai.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/backend/bisheng_langchain/chat_models/xunfeiai.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | …nd/bisheng_langchain/chat_models/interface/__init__.py | 7 | __all__ = [ | CODE |
| LOW | src/backend/bisheng_langchain/agents/__init__.py | 4 | __all__ = ['ChatglmFunctionsAgent', 'LLMFunctionsAgent'] | CODE |
| LOW | …gchain/agents/chatglm_functions_agent/output_parser.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/backend/bisheng_langchain/input_output/__init__.py | 4 | __all__ = ['InputNode', 'InputFileNode', 'Report', 'VariableNode'] | CODE |
| LOW | src/backend/bisheng_langchain/rag/__init__.py | 4 | __all__ = [ | CODE |
| LOW | src/backend/bisheng_langchain/rag/prompts/__init__.py | 4 | __all__ = [ | CODE |
| LOW | src/backend/bisheng_langchain/rag/rerank/__init__.py | 3 | __all__ = [ | CODE |
| LOW | src/backend/bisheng_langchain/vectorstores/milvus.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/backend/bisheng_langchain/vectorstores/__init__.py | 5 | __all__ = ['ElasticKeywordsSearch', 'VectorStoreFilterRetriever', 'Milvus'] | CODE |
| LOW | …ackend/bisheng_langchain/document_loaders/custom_kv.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | …backend/bisheng_langchain/document_loaders/__init__.py | 6 | __all__ = [ | CODE |
| LOW | …langchain/document_loaders/elem_unstrcutured_loader.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | …bisheng_langchain/document_loaders/parsers/__init__.py | 5 | __all__ = [ | CODE |
| LOW | src/backend/bisheng_langchain/chains/__init__.py | 12 | __all__ = [ | CODE |
| LOW | src/backend/bisheng_langchain/chains/transform.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/backend/bisheng_langchain/chains/loader_output.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …kend/bisheng_langchain/chains/qa_generation/base_v2.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW | …backend/bisheng_langchain/chains/qa_generation/base.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/backend/bisheng_langchain/sql/__init__.py | 3 | __all__ = ['SQLDatabaseChain'] | CODE |
| LOW | …/backend/test/tenant/test_tenant_users_query_source.py | 230 | async def _setup_two_tenant_world(session: AsyncSession) -> None: | CODE |
| LOW | src/backend/test/permission/test_retry_failed_tuples.py | 32 | def update_succeeded(cls, item_id: int) -> None: | CODE |
| LOW | src/backend/test/permission/test_retry_failed_tuples.py | 36 | def update_retry(cls, item_id: int, error: str) -> None: | CODE |
| LOW | src/backend/bisheng/workstation/api/dependencies.py | 11 | __all__ = ['LoginUserDep', 'AdminUserDep', 'ShareLink', 'ShareLinkDep', 'UserPayload'] | CODE |
| LOW | …/backend/bisheng/workstation/domain/models/__init__.py | 3 | __all__ = ['TenantWorkstationConfig', 'TenantWorkstationConfigDao'] | CODE |
| LOW | …backend/bisheng/workstation/domain/schemas/__init__.py | 4 | __all__ = [ | CODE |
| LOW | …ackend/bisheng/workstation/domain/services/__init__.py | 3 | __all__ = ['WorkStationService'] | CODE |
| LOW | src/backend/bisheng/citation/api/__init__.py | 3 | __all__ = ['router'] | CODE |
| LOW | src/backend/bisheng/citation/api/endpoints/__init__.py | 3 | __all__ = ['router'] | CODE |
| LOW | src/backend/bisheng/citation/domain/__init__.py | 8 | __all__ = [ | CODE |
| LOW | src/backend/bisheng/citation/domain/models/__init__.py | 8 | __all__ = [ | CODE |
| LOW | …g/tenant/domain/services/resource_ownership_service.py | 57 | logger = logging.getLogger(__name__) | CODE |
| LOW | …eng/tenant/domain/services/user_tenant_sync_service.py | 46 | logger = logging.getLogger(__name__) | CODE |
| LOW | …bisheng/tenant/domain/services/tenant_mount_service.py | 81 | logger = logging.getLogger(__name__) | CODE |
| LOW | …sheng/tenant/domain/services/resource_share_service.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ckend/bisheng/tenant/domain/services/tenant_service.py | 43 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/tenant/domain/services/department_deletion_handler.py | 24 | logger = logging.getLogger(__name__) | CODE |
| 131 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .drone.yml | 281 | COMMENT | |
| LOW | docker/bisheng/config/config.yaml | 41 | # startup_nodes: | COMMENT |
| LOW | docker/bisheng/config/config.yaml | 61 | # sentinel_master: "mymaster" | COMMENT |
| LOW | features/v2.5.1/012-tenant-resolver/spec.md | 221 | ### 5.5 Middleware 注册顺序(F012 / F019 / 业务路由依赖) | COMMENT |
| LOW | …tures/v2.5.1/019-admin-tenant-scope/ac-verification.md | 181 | ``` | COMMENT |
| LOW | features/v2.5.0/005-role-menu-quota/spec.md | 481 | **角色列表查询逻辑(AD-09)**: | COMMENT |
| LOW | .claude/hooks/arch-guard-hook.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/arch-guard.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/arch-guard.sh | 101 | # ── RULE-8:DAO/Model 层不得直读 RoleAccessDao 做权限过滤(INV-T19)── | COMMENT |
| LOW | scripts/check-rbac-rebac-leak.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/gen_conversation_export_template.py | 41 | ) | COMMENT |
| LOW | src/frontend/platform/public/assets/bisheng/config.js | 1 | // Application-wide runtime config (NOT branding). | COMMENT |
| LOW | src/frontend/platform/src/index.tsx | 21 | // window.addEventListener('keydown', (e) => { | COMMENT |
| LOW | src/frontend/platform/src/util/reactflowUtils.ts | 981 | targetHandleArr[2] = nodeId | COMMENT |
| LOW | src/frontend/platform/src/util/reactflowUtils.ts | 1001 | // if (node.data.node?.flow) { | COMMENT |
| LOW | src/frontend/platform/src/modals/genericModal/index.tsx | 141 | setValue(inputValue); | COMMENT |
| LOW | src/frontend/platform/src/modals/genericModal/index.tsx | 161 | // setIsEdit(true); | COMMENT |
| LOW | …es/GenericNode/components/parameterComponent/index.tsx | 141 | // custom 组件 reload | COMMENT |
| LOW | …tend/platform/src/components/promptComponent/index.tsx | 21 | useEffect(() => { | COMMENT |
| LOW | …/frontend/platform/src/components/bs-comp/FileView.tsx | 81 | // const annotationLayer = new pdfjsLib.AnnotationLayer({ | COMMENT |
| LOW | …latform/src/components/bs-comp/cardComponent/index.tsx | 61 | // 'bg-purple-600', | COMMENT |
| LOW | …orm/src/components/bs-comp/chatComponent/ChatInput.tsx | 181 | } | COMMENT |
| LOW | …frontend/platform/src/components/bs-ui/input/index.tsx | 481 | // if (rule.maxLength && e.target.value.length > rule.maxLength) { | COMMENT |
| LOW | …tend/platform/src/components/bs-ui/select/cascader.tsx | 221 | }; | COMMENT |
| LOW | …tend/platform/src/components/bs-ui/select/cascader.tsx | 241 | // ], | COMMENT |
| LOW | …tend/platform/src/components/bs-ui/select/cascader.tsx | 261 | // const [options, setOptions] = useState(optionLists); | COMMENT |
| LOW | …tend/platform/src/components/bs-ui/select/cascader.tsx | 281 | // }, | COMMENT |
| LOW | src/frontend/platform/src/controllers/API/admin.ts | 1 | // F019-admin-tenant-scope — axios wrappers for the admin management-view | COMMENT |
| LOW | …orm/src/pages/ModelPage/manage/SystemConfigBanners.tsx | 1 | // F022 system-config envelope banners + badge. | COMMENT |
| LOW | …ages/KnowledgePage/components/FileUploadParagraphs.tsx | 101 | COMMENT | |
| LOW | …rontend/platform/src/pages/BuildPage/tools/ToolSet.tsx | 21 | const [formData, setFormData] = useState(null) | COMMENT |
| LOW | …rontend/platform/src/pages/BuildPage/tools/ToolSet.tsx | 61 | const handleSubmit = async (formdata) => { | COMMENT |
| LOW | …age/skills/editSkill/CollectionNameComponent/index.tsx | 21 | value={values} | COMMENT |
| LOW | …age/skills/editSkill/CollectionNameComponent/index.tsx | 41 | // </div> | COMMENT |
| LOW | …/platform/src/pages/BuildPage/flow/FlowNode/RunLog.tsx | 61 | } | COMMENT |
| LOW | …/platform/src/pages/BuildPage/flow/FlowNode/RunLog.tsx | 81 | // param.value.forEach(value => { | COMMENT |
| LOW | …form/src/pages/BuildPage/flow/FlowChat/messageStore.ts | 321 | // // run log类型存在嵌套情况,使用 extra 匹配 currentMessage; 否则取最近 | COMMENT |
| LOW | …form/src/pages/BuildPage/flow/FlowChat/messageStore.ts | 341 | // category: wsdata.category || '', | COMMENT |
| LOW | …form/src/pages/BuildPage/flow/FlowChat/messageStore.ts | 361 | // // 删除重复消息 | COMMENT |
| LOW | …atform/src/pages/BuildPage/flow/FlowChat/ChatInput.tsx | 81 | // 新建的 form 技能,弹出窗口并锁定 input | COMMENT |
| LOW | …atform/src/pages/BuildPage/flow/FlowChat/ChatInput.tsx | 221 | // setAutogenStop(false) | COMMENT |
| LOW | …atform/src/pages/BuildPage/flow/FlowChat/ChatInput.tsx | 241 | // } | COMMENT |
| LOW | …pages/Dashboard/components/config/StyleConfigPanel.tsx | 121 | </SelectContent> | COMMENT |
| LOW | …/Dashboard/components/config/ComponentConfigDrawer.tsx | 321 | // toast({ | COMMENT |
| LOW | src/frontend/platform/src/store/dashboardStore.tsx | 361 | // refreshAllCharts: () => { | COMMENT |
| LOW | src/frontend/platform/src/store/dashboardStore.tsx | 381 | // queryConditions: (qc.data_config as QueryConfig).queryConditions | COMMENT |
| LOW | src/frontend/platform/src/store/diffFlowStore.tsx | 241 | runIds.forEach(id => { | COMMENT |
| LOW | src/frontend/platform/src/store/diffFlowStore.tsx | 261 | // // error callback | COMMENT |
| LOW | src/frontend/client/vite.config.ts | 181 | maximumFileSizeToCacheInBytes: 6 * 1024 * 1024, | COMMENT |
| LOW | src/frontend/client/vite.config.ts | 201 | // }, | COMMENT |
| LOW | src/frontend/client/public/assets/bisheng/config.js | 1 | // Application-wide runtime config (NOT branding). | COMMENT |
| LOW | src/frontend/client/src/types/chat/artifacts.ts | 3101 | // badge: badge, | COMMENT |
| LOW | src/frontend/client/src/utils/files.ts | 61 | // 'application/json':, | COMMENT |
| LOW | …rontend/client/src/components/Chat/AiMessageBubble.tsx | 521 | // A transient/retryable failure (rate limit / busy) renders as the calm neutral | COMMENT |
| LOW | src/frontend/client/src/components/Chat/ChatView.tsx | 261 | // - sidebar "新建任务" lands on /c/new with state.taskMode=true → enter task mode. | COMMENT |
| LOW | src/frontend/client/src/components/Chat/ChatView.tsx | 401 | // auto-expand (the entry icon appearing is enough). | COMMENT |
| LOW | …ient/src/components/Chat/Messages/Content/Markdown.tsx | 821 | return { currentContent: '', citationMap: {} as Record<string, CitationDisplayData> }; | COMMENT |
| LOW | …/client/src/components/Linsight/Execution/stepUtils.ts | 321 | COMMENT | |
| LOW | …/client/src/components/Linsight/Execution/stepUtils.ts | 481 | if (!frame) return; | COMMENT |
| LOW | …nt/src/components/Linsight/Execution/TaskTurnPanel.tsx | 121 | // (no task list / steps produced). Poll queue-status only in this window so | COMMENT |
| 112 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 286 | "placeholder": "每次工作流开始执行时向用户发送此消息,支持 Markdown 格式,为空时不发送。" | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 290 | "placeholder": "请输入引导问题", | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 301 | "placeholder": "输入批量预置问题", | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 322 | "placeholder": "请选择模型" | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 365 | "placeholder": "输入需要发送给用户的消息,例如“接下来我将执行 XX 操作,请您确认”,“以下是我的初版草稿,您可以在其基础上进行修改”" | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 382 | "placeholder": "请选择批处理变量", | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 390 | "placeholder": "请在模型管理中配置 LLM 模型" | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 425 | "placeholder": "请选择批处理变量", | CODE |
| LOW⚡ | src/frontend/platform/public/locales/zh-Hans/flow.json | 436 | "placeholder": "请在系统模型设置中配置助手推理模型" | CODE |
| LOW⚡ | src/frontend/platform/public/locales/zh-Hans/flow.json | 443 | "placeholder": "助手画像", | CODE |
| LOW⚡ | src/frontend/platform/public/locales/zh-Hans/flow.json | 448 | "placeholder": "用户消息内容" | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 460 | "placeholder": "请选择知识库" | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 488 | "placeholder": "请选择检索问题" | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 492 | "placeholder": "请选择QA知识库" | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 510 | "placeholder": "请选择用户问题", | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 515 | "placeholder": "请选择知识库" | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 536 | "placeholder": "请在模型管理中配置 LLM 模型" | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 557 | "placeholder": "请选择用户问题", | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 562 | "placeholder": "请选择知识库" | CODE |
| LOW | src/frontend/platform/public/locales/zh-Hans/flow.json | 579 | "placeholder": "请输入生成报告的名称" | CODE |
| LOW | …rontend/platform/public/locales/zh-Hans/dashboard.json | 24 | "placeholder": "选择时间", | CODE |
| LOW | …rontend/platform/public/locales/zh-Hans/dashboard.json | 221 | "placeholder": "请选择", | CODE |
| LOW | …rontend/platform/public/locales/zh-Hans/knowledge.json | 34 | "placeholder": "请选择日期", | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 286 | "placeholder": "ワークフロー実行時にユーザーに送信するメッセージ。Markdown形式に対応。空白の場合は送信しません。" | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 290 | "placeholder": "誘導質問を入力してください", | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 301 | "placeholder": "一括で入力する予置質問", | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 322 | "placeholder": "モデルを選択してください" | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 365 | "placeholder": "ユーザーに送信するメッセージを入力してください。例:「次にXX操作を実行しますので、ご確認ください」や「これが私の初稿です、あなたはその上で修正できます」" | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 382 | "placeholder": "バッチ処理する変数を選択してください", | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 390 | "placeholder": "モデル管理でLLMモデルを設定してください" | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 425 | "placeholder": "バッチ処理する変数を選択してください", | CODE |
| LOW⚡ | src/frontend/platform/public/locales/ja/flow.json | 436 | "placeholder": "システムモデル設定でアシスタント推論モデルを設定してください" | CODE |
| LOW⚡ | src/frontend/platform/public/locales/ja/flow.json | 443 | "placeholder": "アシスタントの描写", | CODE |
| LOW⚡ | src/frontend/platform/public/locales/ja/flow.json | 448 | "placeholder": "ユーザーメッセージ内容" | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 460 | "placeholder": "知識ベースを選択してください" | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 488 | "placeholder": "検索する質問を選択してください" | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 492 | "placeholder": "QA知識ベースを選択してください" | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 510 | "placeholder": "ユーザーの質問を選択してください", | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 515 | "placeholder": "知識ベースを選択してください" | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 536 | "placeholder": "モデル管理でLLMモデルを設定してください" | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 557 | "placeholder": "検索する質問を選択してください", | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 562 | "placeholder": "知識ベースを選択してください" | CODE |
| LOW | src/frontend/platform/public/locales/ja/flow.json | 579 | "placeholder": "生成するレポートの名前を入力してください" | CODE |
| LOW | src/frontend/platform/public/locales/ja/dashboard.json | 24 | "placeholder": "時間を選択", | CODE |
| LOW | src/frontend/platform/public/locales/ja/dashboard.json | 221 | "placeholder": "選択してください", | CODE |
| LOW | src/frontend/platform/public/locales/ja/knowledge.json | 34 | "placeholder": "日付を選択", | CODE |
| LOW | src/frontend/platform/public/locales/en-US/flow.json | 286 | "placeholder": "Message shown to the user at the beginning of each workflow. Supports Markdown. Leave empty to s | CODE |
| LOW | src/frontend/platform/public/locales/en-US/flow.json | 290 | "placeholder": "Enter guide questions", | CODE |
| LOW | src/frontend/platform/public/locales/en-US/flow.json | 301 | "placeholder": "Enter batch preset questions", | CODE |
| LOW | src/frontend/platform/public/locales/en-US/flow.json | 322 | "placeholder": "Please select a model" | CODE |
| LOW | src/frontend/platform/public/locales/en-US/flow.json | 365 | "placeholder": "Message to send, e.g., 'Please confirm the next action' or 'Here is the draft for your review'." | CODE |
| LOW | src/frontend/platform/public/locales/en-US/flow.json | 382 | "placeholder": "Select the variable for batch execution", | CODE |
| LOW | src/frontend/platform/public/locales/en-US/flow.json | 390 | "placeholder": "Configure an LLM model in the model management page" | CODE |
| LOW | src/frontend/platform/public/locales/en-US/flow.json | 425 | "placeholder": "Select the variable for batch execution", | CODE |
| LOW⚡ | src/frontend/platform/public/locales/en-US/flow.json | 436 | "placeholder": "Configure the agent’s reasoning model in system settings" | CODE |
| LOW⚡ | src/frontend/platform/public/locales/en-US/flow.json | 443 | "placeholder": "Agent persona description", | CODE |
| LOW⚡ | src/frontend/platform/public/locales/en-US/flow.json | 448 | "placeholder": "User message content" | CODE |
| LOW | src/frontend/platform/public/locales/en-US/flow.json | 460 | "placeholder": "Select knowledge base" | CODE |
| LOW | src/frontend/platform/public/locales/en-US/flow.json | 488 | "placeholder": "Select a question to search" | CODE |
| LOW | src/frontend/platform/public/locales/en-US/flow.json | 492 | "placeholder": "Select QA knowledge base" | CODE |
| 81 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .claude/skills/task-review/SKILL.md | 25 | ### Step 1: 解析参数 + 收集变更范围 | COMMENT |
| LOW | .claude/skills/task-review/SKILL.md | 41 | ### Step 2: 判断任务类型,选择检查子集 | COMMENT |
| LOW⚡ | .claude/skills/task-review/SKILL.md | 59 | ### Step 3: 按检查清单执行检查 | COMMENT |
| LOW⚡ | .claude/skills/task-review/SKILL.md | 63 | ### Step 4: 元数据交叉验证 | COMMENT |
| LOW⚡ | .claude/skills/task-review/SKILL.md | 69 | ### Step 5: 输出报告 | COMMENT |
| LOW | .claude/skills/task-review/SKILL.md | 95 | ### Step 6: 处理结果 | COMMENT |
| LOW⚡ | …rm/src/components/chatComponent/buildTrigger/index.tsx | 68 | // Step 1: Make a POST request to send the flow data and receive a unique session ID | COMMENT |
| LOW⚡ | …rm/src/components/chatComponent/buildTrigger/index.tsx | 70 | // Step 2: Use the session ID to establish an SSE connection using EventSource | COMMENT |
| LOW⚡ | …rm/src/components/chatComponent/buildTrigger/index.tsx | 119 | // Step 3: Wait for the stream to finish | COMMENT |
| LOW⚡ | …rm/src/components/chatComponent/buildTrigger/index.tsx | 124 | // Step 4: Return true if all nodes are valid, false otherwise | COMMENT |
| LOW | …ntend/platform/src/pages/KnowledgePage/filesUpload.tsx | 88 | // Step 1: File upload completed, jump to step 2 | COMMENT |
| LOW⚡ | …ntend/platform/src/pages/KnowledgePage/filesUpload.tsx | 107 | // Step 2: Segmentation strategy completed, receive config and jump to step 3 | COMMENT |
| LOW⚡ | …ntend/platform/src/pages/KnowledgePage/filesUpload.tsx | 115 | // Step 3: Original text comparison callback, control next button disabled state | COMMENT |
| LOW | …ntend/platform/src/pages/KnowledgePage/filesUpload.tsx | 357 | // Step 2: bounded-height layout so inner left/right panels can scroll independently | COMMENT |
| LOW⚡ | …platform/src/pages/KnowledgePage/AdjustFilesUpload.tsx | 179 | // Step 2: Segmentation strategy completed, receive config and jump to step 2 (original text comparison) | COMMENT |
| LOW⚡ | …platform/src/pages/KnowledgePage/AdjustFilesUpload.tsx | 187 | // Step 2: Original text comparison callback, control next button disabled state | COMMENT |
| LOW | …rm/src/pages/KnowledgePage/components/ExcelPreview.tsx | 90 | // Step 1: 解析 media 文件 | COMMENT |
| LOW | …rm/src/pages/KnowledgePage/components/ExcelPreview.tsx | 106 | // Step 2: 解析 drawings XML | COMMENT |
| LOW | …rm/src/pages/KnowledgePage/components/ExcelPreview.tsx | 164 | // Step 3: 等待 base64 | COMMENT |
| LOW⚡ | …platform/src/pages/DiffFlowPage/components/RunTest.tsx | 232 | // Step 1: Make a POST request to send the flow data and receive a unique session ID | COMMENT |
| LOW⚡ | …platform/src/pages/DiffFlowPage/components/RunTest.tsx | 235 | // Step 2: Use the session ID to establish an SSE connection using EventSource | COMMENT |
| LOW⚡ | …platform/src/pages/DiffFlowPage/components/RunTest.tsx | 277 | // Step 3: Wait for the stream to finish | COMMENT |
| LOW⚡ | …platform/src/pages/DiffFlowPage/components/RunTest.tsx | 282 | // Step 4: Return true if all nodes are valid, false otherwise | COMMENT |
| LOW⚡ | …latform/src/pages/ChatAppPage/components/ChatPanne.tsx | 310 | // Step 1: Make a POST request to send the flow data and receive a unique session ID | COMMENT |
| LOW⚡ | …latform/src/pages/ChatAppPage/components/ChatPanne.tsx | 312 | // Step 2: Use the session ID to establish an SSE connection using EventSource | COMMENT |
| LOW⚡ | …latform/src/pages/ChatAppPage/components/ChatPanne.tsx | 361 | // Step 3: Wait for the stream to finish | COMMENT |
| LOW⚡ | …latform/src/pages/ChatAppPage/components/ChatPanne.tsx | 366 | // Step 4: Return true if all nodes are valid, false otherwise | COMMENT |
| LOW⚡ | src/frontend/client/src/utils/latex.ts | 51 | // Step 1: Protect code blocks | COMMENT |
| LOW⚡ | src/frontend/client/src/utils/latex.ts | 58 | // Step 2: Protect existing LaTeX expressions | COMMENT |
| LOW⚡ | src/frontend/client/src/utils/latex.ts | 65 | // Step 3: Escape dollar signs that are likely currency indicators | COMMENT |
| LOW⚡ | src/frontend/client/src/utils/latex.ts | 68 | // Step 4: Restore LaTeX expressions | COMMENT |
| LOW⚡ | src/frontend/client/src/utils/latex.ts | 71 | // Step 5: Restore code blocks | COMMENT |
| LOW⚡ | src/frontend/client/src/utils/latex.ts | 74 | // Step 6: Apply additional escaping functions | COMMENT |
| LOW⚡ | src/frontend/client/src/pages/appChat/index.tsx | 265 | // Step 1: Make a POST request to send the flow data and receive a unique session ID | COMMENT |
| LOW⚡ | src/frontend/client/src/pages/appChat/index.tsx | 268 | // Step 2: Use the session ID to establish an SSE connection using EventSource | COMMENT |
| LOW⚡ | src/frontend/client/src/pages/appChat/index.tsx | 314 | // Step 3: Wait for the stream to finish | COMMENT |
| LOW⚡ | src/frontend/client/src/pages/appChat/index.tsx | 319 | // Step 4: Return true if all nodes are valid, false otherwise | COMMENT |
| LOW | …c/pages/knowledge/FilePreview/viewers/ExcelPreview.tsx | 82 | // Step 1: 解析 media 文件 | COMMENT |
| LOW | …c/pages/knowledge/FilePreview/viewers/ExcelPreview.tsx | 98 | // Step 2: 解析 drawings XML | COMMENT |
| LOW | …c/pages/knowledge/FilePreview/viewers/ExcelPreview.tsx | 156 | // Step 3: 等待 base64 | COMMENT |
| LOW⚡ | …c/backend/test/integration/test_f017_ac_integration.py | 102 | # Step 3: list_sharing_children after revoke → empty (mock re-read) | COMMENT |
| LOW⚡ | …c/backend/test/integration/test_f017_ac_integration.py | 110 | # Step 4: no chat_message delete was invoked — this is a non-contract | COMMENT |
| LOW⚡ | …ckend/bisheng/tenant/domain/services/tenant_service.py | 103 | # Step 2: Create root department | COMMENT |
| LOW⚡ | …ckend/bisheng/tenant/domain/services/tenant_service.py | 109 | # Step 3: Create UserTenant for each admin | COMMENT |
| LOW⚡ | …ckend/bisheng/tenant/domain/services/tenant_service.py | 115 | # Step 4: Write OpenFGA tuples (after DB commit) | COMMENT |
| LOW⚡ | …ckend/bisheng/tenant/domain/services/tenant_service.py | 122 | # Step 5: Child/root tenant bootstrap — copy builtin tools so | COMMENT |
| LOW | …ckend/bisheng/tenant/domain/services/tenant_service.py | 89 | # Step 1: Create Tenant record | COMMENT |
| LOW⚡ | src/backend/bisheng/database/models/department.py | 1588 | # Step 2: build the subtree filter | COMMENT |
| LOW⚡ | src/backend/bisheng/database/models/department.py | 1595 | # Step 3: count distinct users matching the filter | COMMENT |
| LOW | src/backend/bisheng/database/models/department.py | 1571 | # Step 1: resolve tenant.root_dept_id (if set) → path prefix | COMMENT |
| LOW | src/backend/bisheng/database/models/department.py | 1623 | # Step 4: paginated user list. Use a distinct subquery on | COMMENT |
| LOW | …/backend/bisheng/core/database/alembic_helpers/f011.py | 71 | # Step 1: find users with multiple active rows. | COMMENT |
| LOW | …/backend/bisheng/core/database/alembic_helpers/f011.py | 82 | # Step 2: for each such user, rank active rows and pick the keeper. | COMMENT |
| LOW | …wledge/rag/pipeline/loader/utils/md_post_processing.py | 17 | # Step 1: Image Handling (Top Priority Execution) | COMMENT |
| LOW | …wledge/rag/pipeline/loader/utils/md_post_processing.py | 38 | # Step 2: ComplexityHTMLBlock Level Element Conversion (UseBeautifulSoupSupport) | COMMENT |
| LOW | …wledge/rag/pipeline/loader/utils/md_post_processing.py | 83 | # Step 3: Other block level and inlineHTMLTag transformation (Mainly using regular) | COMMENT |
| LOW⚡ | …wledge/rag/pipeline/loader/utils/md_post_processing.py | 149 | # Step 4: Final cleanup | COMMENT |
| LOW⚡ | …sheng/permission/domain/services/permission_service.py | 618 | # Step 1: Parse and filter tuples | COMMENT |
| LOW⚡ | …sheng/permission/domain/services/permission_service.py | 641 | # Step 2: Collect IDs by subject_type | COMMENT |
| LOW⚡ | …sheng/permission/domain/services/permission_service.py | 646 | # Step 3: Batch resolve names and user-group captions for the user/group list UI | COMMENT |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …rm/src/components/chatComponent/buildTrigger/index.tsx | 68 | // Step 1: Make a POST request to send the flow data and receive a unique session ID | COMMENT |
| LOW⚡ | …rm/src/components/chatComponent/buildTrigger/index.tsx | 70 | // Step 2: Use the session ID to establish an SSE connection using EventSource | COMMENT |
| LOW⚡ | …rm/src/components/chatComponent/buildTrigger/index.tsx | 119 | // Step 3: Wait for the stream to finish | COMMENT |
| LOW⚡ | …rm/src/components/chatComponent/buildTrigger/index.tsx | 124 | // Step 4: Return true if all nodes are valid, false otherwise | COMMENT |
| LOW | …ntend/platform/src/pages/KnowledgePage/filesUpload.tsx | 88 | // Step 1: File upload completed, jump to step 2 | COMMENT |
| LOW⚡ | …ntend/platform/src/pages/KnowledgePage/filesUpload.tsx | 107 | // Step 2: Segmentation strategy completed, receive config and jump to step 3 | COMMENT |
| LOW⚡ | …ntend/platform/src/pages/KnowledgePage/filesUpload.tsx | 115 | // Step 3: Original text comparison callback, control next button disabled state | COMMENT |
| LOW | …ntend/platform/src/pages/KnowledgePage/filesUpload.tsx | 357 | // Step 2: bounded-height layout so inner left/right panels can scroll independently | COMMENT |
| LOW⚡ | …platform/src/pages/KnowledgePage/AdjustFilesUpload.tsx | 179 | // Step 2: Segmentation strategy completed, receive config and jump to step 2 (original text comparison) | COMMENT |
| LOW⚡ | …platform/src/pages/KnowledgePage/AdjustFilesUpload.tsx | 187 | // Step 2: Original text comparison callback, control next button disabled state | COMMENT |
| LOW | …rm/src/pages/KnowledgePage/components/ExcelPreview.tsx | 90 | // Step 1: 解析 media 文件 | COMMENT |
| LOW | …rm/src/pages/KnowledgePage/components/ExcelPreview.tsx | 106 | // Step 2: 解析 drawings XML | COMMENT |
| LOW | …rm/src/pages/KnowledgePage/components/ExcelPreview.tsx | 164 | // Step 3: 等待 base64 | COMMENT |
| LOW⚡ | …platform/src/pages/DiffFlowPage/components/RunTest.tsx | 232 | // Step 1: Make a POST request to send the flow data and receive a unique session ID | COMMENT |
| LOW⚡ | …platform/src/pages/DiffFlowPage/components/RunTest.tsx | 235 | // Step 2: Use the session ID to establish an SSE connection using EventSource | COMMENT |
| LOW⚡ | …platform/src/pages/DiffFlowPage/components/RunTest.tsx | 277 | // Step 3: Wait for the stream to finish | COMMENT |
| LOW⚡ | …platform/src/pages/DiffFlowPage/components/RunTest.tsx | 282 | // Step 4: Return true if all nodes are valid, false otherwise | COMMENT |
| LOW⚡ | …latform/src/pages/ChatAppPage/components/ChatPanne.tsx | 310 | // Step 1: Make a POST request to send the flow data and receive a unique session ID | COMMENT |
| LOW⚡ | …latform/src/pages/ChatAppPage/components/ChatPanne.tsx | 312 | // Step 2: Use the session ID to establish an SSE connection using EventSource | COMMENT |
| LOW⚡ | …latform/src/pages/ChatAppPage/components/ChatPanne.tsx | 361 | // Step 3: Wait for the stream to finish | COMMENT |
| LOW⚡ | …latform/src/pages/ChatAppPage/components/ChatPanne.tsx | 366 | // Step 4: Return true if all nodes are valid, false otherwise | COMMENT |
| LOW⚡ | src/frontend/client/src/utils/latex.ts | 51 | // Step 1: Protect code blocks | COMMENT |
| LOW⚡ | src/frontend/client/src/utils/latex.ts | 58 | // Step 2: Protect existing LaTeX expressions | COMMENT |
| LOW⚡ | src/frontend/client/src/utils/latex.ts | 65 | // Step 3: Escape dollar signs that are likely currency indicators | COMMENT |
| LOW⚡ | src/frontend/client/src/utils/latex.ts | 68 | // Step 4: Restore LaTeX expressions | COMMENT |
| LOW⚡ | src/frontend/client/src/utils/latex.ts | 71 | // Step 5: Restore code blocks | COMMENT |
| LOW⚡ | src/frontend/client/src/utils/latex.ts | 74 | // Step 6: Apply additional escaping functions | COMMENT |
| LOW⚡ | src/frontend/client/src/pages/appChat/index.tsx | 265 | // Step 1: Make a POST request to send the flow data and receive a unique session ID | COMMENT |
| LOW⚡ | src/frontend/client/src/pages/appChat/index.tsx | 268 | // Step 2: Use the session ID to establish an SSE connection using EventSource | COMMENT |
| LOW⚡ | src/frontend/client/src/pages/appChat/index.tsx | 314 | // Step 3: Wait for the stream to finish | COMMENT |
| LOW⚡ | src/frontend/client/src/pages/appChat/index.tsx | 319 | // Step 4: Return true if all nodes are valid, false otherwise | COMMENT |
| LOW | …c/pages/knowledge/FilePreview/viewers/ExcelPreview.tsx | 82 | // Step 1: 解析 media 文件 | COMMENT |
| LOW | …c/pages/knowledge/FilePreview/viewers/ExcelPreview.tsx | 98 | // Step 2: 解析 drawings XML | COMMENT |
| LOW | …c/pages/knowledge/FilePreview/viewers/ExcelPreview.tsx | 156 | // Step 3: 等待 base64 | COMMENT |
| LOW⚡ | …c/backend/test/integration/test_f017_ac_integration.py | 102 | # Step 3: list_sharing_children after revoke → empty (mock re-read) | COMMENT |
| LOW⚡ | …c/backend/test/integration/test_f017_ac_integration.py | 110 | # Step 4: no chat_message delete was invoked — this is a non-contract | COMMENT |
| LOW⚡ | …ckend/bisheng/tenant/domain/services/tenant_service.py | 103 | # Step 2: Create root department | COMMENT |
| LOW⚡ | …ckend/bisheng/tenant/domain/services/tenant_service.py | 109 | # Step 3: Create UserTenant for each admin | COMMENT |
| LOW⚡ | …ckend/bisheng/tenant/domain/services/tenant_service.py | 115 | # Step 4: Write OpenFGA tuples (after DB commit) | COMMENT |
| LOW⚡ | …ckend/bisheng/tenant/domain/services/tenant_service.py | 122 | # Step 5: Child/root tenant bootstrap — copy builtin tools so | COMMENT |
| LOW | …ckend/bisheng/tenant/domain/services/tenant_service.py | 89 | # Step 1: Create Tenant record | COMMENT |
| LOW⚡ | src/backend/bisheng/database/models/department.py | 1588 | # Step 2: build the subtree filter | COMMENT |
| LOW⚡ | src/backend/bisheng/database/models/department.py | 1595 | # Step 3: count distinct users matching the filter | COMMENT |
| LOW | src/backend/bisheng/database/models/department.py | 1571 | # Step 1: resolve tenant.root_dept_id (if set) → path prefix | COMMENT |
| LOW | src/backend/bisheng/database/models/department.py | 1623 | # Step 4: paginated user list. Use a distinct subquery on | COMMENT |
| LOW | …/backend/bisheng/core/database/alembic_helpers/f011.py | 71 | # Step 1: find users with multiple active rows. | COMMENT |
| LOW | …/backend/bisheng/core/database/alembic_helpers/f011.py | 82 | # Step 2: for each such user, rank active rows and pick the keeper. | COMMENT |
| LOW | …wledge/rag/pipeline/loader/utils/md_post_processing.py | 17 | # Step 1: Image Handling (Top Priority Execution) | COMMENT |
| LOW | …wledge/rag/pipeline/loader/utils/md_post_processing.py | 38 | # Step 2: ComplexityHTMLBlock Level Element Conversion (UseBeautifulSoupSupport) | COMMENT |
| LOW | …wledge/rag/pipeline/loader/utils/md_post_processing.py | 83 | # Step 3: Other block level and inlineHTMLTag transformation (Mainly using regular) | COMMENT |
| LOW⚡ | …wledge/rag/pipeline/loader/utils/md_post_processing.py | 149 | # Step 4: Final cleanup | COMMENT |
| LOW⚡ | …sheng/permission/domain/services/permission_service.py | 618 | # Step 1: Parse and filter tuples | COMMENT |
| LOW⚡ | …sheng/permission/domain/services/permission_service.py | 641 | # Step 2: Collect IDs by subject_type | COMMENT |
| LOW⚡ | …sheng/permission/domain/services/permission_service.py | 646 | # Step 3: Batch resolve names and user-group captions for the user/group list UI | COMMENT |
| LOW⚡ | …sheng/permission/domain/services/permission_service.py | 653 | # Step 4: Build items and merge department entries | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | features/v2.6.0/035-linsight-task-mode/design.md | 428 | ### 5.2 知识库 RAG:方案 A vs 方案 B | COMMENT |
| MEDIUM | features/v2.6.0/028-conversation-export-import/tasks.md | 429 | ### §T002 RAG 角标真实样本(2026-05-31) | COMMENT |
| MEDIUM | …v2.6.0/028-conversation-export-import/e2e-checklist.md | 83 | ### RAG 角标剥除(AC-14) | COMMENT |
| MEDIUM | docs/architecture/04-knowledge-rag.md | 1 | # 知识库与 RAG 管道 | COMMENT |
| MEDIUM | docs/architecture/04-knowledge-rag.md | 117 | rag/ # RAG 管道实现 | CODE |
| MEDIUM | docs/architecture/04-knowledge-rag.md | 130 | ## 3. RAG 管道架构 | COMMENT |
| MEDIUM | docs/PRD/2.6 RAG 检索上下文优化 PRD/2.6 RAG 检索上下文格式优化 PRD.md | 1 | # 2.6 RAG 检索上下文格式优化 PRD | COMMENT |
| MEDIUM | docs/PRD/2.6 RAG 检索上下文优化 PRD/2.6 RAG 检索上下文格式优化 PRD.md | 127 | #### 3.2.3 Workflow RAG 节点(`workflow/nodes/rag/rag.py`) | COMMENT |
| MEDIUM | src/backend/bisheng_langchain/sql/base.py | 118 | # improvement of few shot prompt seeds | COMMENT |
| MEDIUM | …c/backend/test/department/test_dept_member_add_sync.py | 241 | # ── Mock the orchestration touchpoints ── | COMMENT |
| MEDIUM⚡ | …nowledge/test_knowledge_space_chat_service_retrieve.py | 90 | # aretrieve_chunks — orchestration (per-KB delegation mocked) | COMMENT |
| MEDIUM | …kend/test/permission/test_f006_permission_migration.py | 981 | # Monkeypatch get_fga_client to return mock for run() orchestration | COMMENT |
| MEDIUM⚡ | src/backend/test/org_sync/test_org_reconcile_service.py | 187 | # AC-02 / AC-03 / AC-04 — orchestration branches | COMMENT |
| MEDIUM | src/backend/bisheng/initdb_config.yaml | 92 | # 需要按目标模型的 context window 调整: | COMMENT |
| MEDIUM | …station/domain/services/conversation_export_service.py | 80 | # RAG citation markers are private-use Unicode (see T002 探查): | COMMENT |
| MEDIUM | …eng/workstation/domain/services/workstation_service.py | 1172 | # Per-KB failure isolation — a single KB whose embedding model is | COMMENT |
| MEDIUM | …g/citation/domain/services/citation_resolve_service.py | 187 | # every RAG citation comes back empty even though its row exists. | COMMENT |
| MEDIUM | …isheng/linsight/domain/services/stream_event_mapper.py | 49 | # (design §3.3 step_type variants; §5.2 knowledge RAG). | COMMENT |
| MEDIUM | …kend/bisheng/linsight/domain/services/agent_factory.py | 71 | # an isolated context window and returns only a distilled, sourced summary. | COMMENT |
| MEDIUM | …end/bisheng/linsight/domain/services/workbench_impl.py | 81 | # loses cell types / sheets / formulas (and ExcelLoader is a RAG chunker that | COMMENT |
| MEDIUM⚡ | src/backend/bisheng/utils/constants.py | 17 | 'claude-v1-100k', # An enhanced version of claude-v1 with a 100,000 token (roughly 75,000 word) context window. | CODE |
| MEDIUM⚡ | src/backend/bisheng/utils/constants.py | 19 | 'claude-instant-v1-100k', # Like claude-instant-v1 with a 100,000 token context window but retains its performance. | CODE |
| MEDIUM⚡ | src/backend/bisheng/utils/constants.py | 22 | 'claude-v1.3-100k', # An enhanced version of claude-v1.3 with a 100,000 token (roughly 75,000 word) context window. | CODE |
| MEDIUM⚡ | src/backend/bisheng/utils/constants.py | 26 | 'claude-instant-v1.1-100k', # Version of claude-instant-v1.1 with a 100K token context window. | CODE |
| MEDIUM | src/backend/bisheng/workflow/common/knowledge.py | 463 | # vectorstore use different collection_name for different embedding model | COMMENT |
| MEDIUM | …nd/bisheng/tool/domain/langchain/linsight_knowledge.py | 41 | # model can hallucinate or be coaxed into an arbitrary id; without this gate | COMMENT |
| MEDIUM | …nd/bisheng/tool/domain/langchain/linsight_knowledge.py | 65 | # model sometimes hallucinates a non-numeric sentinel (e.g. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/backend/bisheng_langchain/vectorstores/milvus.py | 457 | Insert text data into Milvus. Inserting data when the collection has not be made yet will result in cre | STRING |
| HIGH | src/backend/bisheng/database/utils/keyset.py | 38 | Build a ``WHERE (sort_cols) > (cursor_values)`` boolean expression. Args: sort_cols: SQLAlchemy column elem | STRING |
| HIGH | src/backend/bisheng/core/context/manager.py | 421 | Convenient way to get context Args: name: Context Name Returns: BaseContextManager: Correspond | STRING |
| HIGH | src/backend/bisheng/core/context/manager.py | 436 | Convenient way to get contextual instances asynchronously Args: name: Context Name Returns: An | STRING |
| HIGH | src/backend/bisheng/core/context/manager.py | 452 | Convenient way to get contextual instances synchronously Args: name: Context Name Returns: Any | STRING |
| HIGH | src/backend/bisheng/core/context/base.py | 500 | Get Context Manager Args: name: Context Name Returns: BaseContextManager: Corr | STRING |
| HIGH | …heng/linsight/domain/services/state_message_manager.py | 111 | ImpuestoRedisOperation error handling Args: operation: RedisAction Function *a | STRING |
| HIGH | …end/bisheng/linsight/domain/services/workbench_impl.py | 184 | Submit user issue and create session Args: submit_obj: Submitted Question Objects | STRING |
| HIGH | …isheng/channel/domain/services/channel_chat_service.py | 121 | Fetch article content via ArticleEsService Args: article_es_service: ES article service in | STRING |
| HIGH | …isheng/channel/domain/services/channel_chat_service.py | 252 | Clear chat content by article_doc_id Args: article_doc_id: Article document ID | STRING |
| HIGH | src/backend/bisheng/common/cursor.py | 76 | Decode a cursor string back into its sort-key list. Args: cursor: Cursor string from the request, or ``None | STRING |
| HIGH | …ckend/bisheng/common/utils/markdown_cmpnt/md_to_pdf.py | 482 | will be Markdown Convert text to with style and MathJax Supportive HTML。 Args: markdown_te | STRING |
| HIGH | …ckend/bisheng/common/utils/markdown_cmpnt/md_to_pdf.py | 562 | Use Playwright will be HTML Convert content to PDF Bytes of data. Args: html_content: To b | STRING |
| HIGH | …ckend/bisheng/common/utils/markdown_cmpnt/md_to_pdf.py | 745 | will be Markdown Convert file to PDF Bytes of data. Args: input_path: Masukkan Markdown Fi | STRING |
| HIGH | …ckend/bisheng/common/utils/markdown_cmpnt/md_to_pdf.py | 781 | will be Markdown Convert string to PDF Bytes of data. Args: markdown_text: Markdown String | STRING |
| HIGH | …ckend/bisheng/common/utils/markdown_cmpnt/md_to_pdf.py | 854 | will be Markdown Convert To PDF Handy function for byte data. Args: input_md: Markdown File path (if i | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/bisheng_langchain/gpts/tools/local_file/local_file.py | 324 | CODE | |
| LOW | …/bisheng_langchain/gpts/tools/local_file/local_file.py | 396 | CODE | |
| LOW | …/bisheng_langchain/gpts/tools/local_file/local_file.py | 494 | CODE | |
| LOW | src/backend/bisheng_langchain/chat_models/sensetime.py | 225 | CODE | |
| LOW | …kend/bisheng_langchain/chat_models/interface/xunfei.py | 131 | CODE | |
| LOW | …sheng_langchain/agents/chatglm_functions_agent/base.py | 322 | CODE | |
| LOW | src/backend/bisheng_langchain/vectorstores/milvus.py | 101 | CODE | |
| LOW | src/backend/bisheng_langchain/vectorstores/milvus.py | 666 | CODE | |
| LOW | src/backend/bisheng_langchain/vectorstores/milvus.py | 890 | CODE | |
| LOW | …langchain/document_loaders/elem_unstrcutured_loader.py | 62 | CODE | |
| LOW | …backend/bisheng_langchain/document_loaders/elem_pdf.py | 188 | CODE | |
| LOW | src/backend/bisheng_langchain/chains/loader_output.py | 58 | CODE | |
| LOW | src/backend/bisheng_langchain/chains/loader_output.py | 69 | CODE | |
| LOW | …isheng_langchain/chains/question_answering/__init__.py | 87 | CODE | |
| LOW | …isheng_langchain/chains/question_answering/__init__.py | 164 | CODE | |
| LOW | …kend/bisheng_langchain/chains/qa_generation/base_v2.py | 443 | CODE | |
| LOW | …backend/bisheng_langchain/chains/qa_generation/base.py | 128 | CODE | |
| LOW | src/backend/test/department/test_department_sso_dao.py | 84 | CODE | |
| LOW | src/backend/test/sso/test_sso_login_sync_service.py | 30 | CODE | |
| LOW | src/backend/test/org_sync/test_org_reconcile_service.py | 44 | CODE | |
| LOW | …/backend/scripts/permission_rbac_to_rebac_migration.py | 14 | CODE | |
| LOW | src/backend/scripts/replace_json_columns.py | 77 | CODE | |
| LOW | src/backend/bisheng/database/models/session.py | 113 | CODE | |
| LOW | src/backend/bisheng/database/models/session.py | 156 | CODE | |
| LOW | src/backend/bisheng/database/models/session.py | 197 | CODE | |
| LOW | src/backend/bisheng/database/models/session.py | 252 | CODE | |
| LOW | src/backend/bisheng/database/models/flow.py | 508 | CODE | |
| LOW | src/backend/bisheng/database/models/flow.py | 596 | CODE | |
| LOW | src/backend/bisheng/database/models/audit_log.py | 239 | CODE | |
| LOW | src/backend/bisheng/chat_session/api/endpoints/chat.py | 25 | CODE | |
| LOW | src/backend/bisheng/core/database/alembic/env.py | 212 | CODE | |
| LOW | …/ai/rerank/xinference/client/restful/restful_client.py | 1160 | CODE | |
| LOW | …rank/xinference/client/restful/async_restful_client.py | 1253 | CODE | |
| LOW | …end/bisheng/linsight/domain/services/workbench_impl.py | 1161 | CODE | |
| LOW | …heng/linsight/domain/services/resilience_middleware.py | 164 | CODE | |
| LOW | …/bisheng/telemetry_search/domain/services/dashboard.py | 44 | CODE | |
| LOW | …/bisheng/telemetry_search/domain/services/dashboard.py | 324 | CODE | |
| LOW | …ories/implementations/inbox_message_repository_impl.py | 81 | CODE | |
| LOW | …in/repositories/interfaces/inbox_message_repository.py | 12 | CODE | |
| LOW | …isheng/message/domain/services/notification_content.py | 17 | CODE | |
| LOW | src/backend/bisheng/user/api/user.py | 425 | CODE | |
| LOW | …ckend/bisheng/channel/api/endpoints/channel_manager.py | 310 | CODE | |
| LOW | …end/bisheng/channel/domain/services/channel_service.py | 688 | CODE | |
| LOW | …mplementations/space_channel_member_repository_impl.py | 51 | CODE | |
| LOW | …sitories/interfaces/space_channel_member_repository.py | 19 | CODE | |
| LOW | src/backend/bisheng/knowledge/rag/pipeline/base.py | 31 | CODE | |
| LOW | …edge/rag/pipeline/transformer/hierarchical_splitter.py | 13 | CODE | |
| LOW | …end/bisheng/knowledge/api/endpoints/knowledge_space.py | 274 | CODE | |
| LOW | …end/bisheng/knowledge/api/endpoints/knowledge_space.py | 310 | CODE | |
| LOW | …c/backend/bisheng/knowledge/api/endpoints/knowledge.py | 377 | CODE | |
| LOW | …kend/bisheng/knowledge/domain/models/knowledge_file.py | 498 | CODE | |
| LOW | …kend/bisheng/knowledge/domain/models/knowledge_file.py | 563 | CODE | |
| LOW | …isheng/knowledge/domain/models/knowledge_space_file.py | 145 | CODE | |
| LOW | …c/backend/bisheng/knowledge/domain/models/knowledge.py | 336 | CODE | |
| LOW | …g/knowledge/domain/services/knowledge_space_service.py | 1422 | CODE | |
| LOW | …g/knowledge/domain/services/knowledge_space_service.py | 1681 | CODE | |
| LOW | …g/knowledge/domain/services/knowledge_space_service.py | 2676 | CODE | |
| LOW | …g/knowledge/domain/services/knowledge_space_service.py | 2759 | CODE | |
| LOW | …bisheng/knowledge/domain/services/knowledge_service.py | 772 | CODE | |
| LOW | …d/bisheng/knowledge/domain/services/knowledge_utils.py | 44 | CODE | |
| 17 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/frontend/platform/src/constants.tsx | 135 | print(run_flow(inputs, flow_id=FLOW_ID, tweaks=TWEAKS))`; | CODE |
| HIGH | …/src/components/bs-comp/apiComponent/ApiAccessFlow.tsx | 66 | print(response.text)# 输出工作流的响应` | CODE |
| HIGH | …src/components/bs-comp/apiComponent/ApiAccessSkill.tsx | 235 | print(run_flow(inputs, flow_id=FLOW_ID, tweaks=TWEAKS))`} | CODE |
| HIGH | …src/components/bs-comp/apiComponent/ApiAccessSkill.tsx | 299 | print(response.text)`} | CODE |
| HIGH⚡ | …form/src/components/bs-comp/apiComponent/ApiAccess.tsx | 72 | print("\\n\\n-----Reasoning Content-----\\n") | CODE |
| HIGH⚡ | …form/src/components/bs-comp/apiComponent/ApiAccess.tsx | 74 | print(reasoning_chunk, end='', flush=True) # 流式打印reasoning | CODE |
| HIGH⚡ | …form/src/components/bs-comp/apiComponent/ApiAccess.tsx | 76 | elif chunk.choices[0].delta.content: | CODE |
| HIGH⚡ | …form/src/components/bs-comp/apiComponent/ApiAccess.tsx | 78 | print("\\n\\n-----Final content-----\\n") | CODE |
| HIGH⚡ | …form/src/components/bs-comp/apiComponent/ApiAccess.tsx | 80 | print(content_chunk, end='', flush=True) # 流式打印答案 | CODE |
| HIGH | …nd/platform/src/pages/DiffFlowPage/components/Cell.tsx | 27 | print() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/frontend/client/check_updates.sh | 32 | # Check if this date is within the last three days | COMMENT |
| LOW | src/backend/test/department/test_department_service.py | 645 | # Check if already exists | COMMENT |
| LOW | src/backend/test/department/test_department_service.py | 1285 | # Check if root already exists | COMMENT |
| LOW | src/backend/test/_legacy/test_api.py | 126 | # Print the result | COMMENT |
| LOW | src/backend/test/e2e/helpers/cleanup.py | 80 | # Check if tenant already exists via list API | COMMENT |
| LOW | …ckend/bisheng/tenant/domain/services/tenant_service.py | 534 | # Check if user is admin — if so, ensure at least one admin remains | COMMENT |
| LOW | src/backend/bisheng/core/cache/utils.py | 474 | # Check if it is standard URL | COMMENT |
| LOW | src/backend/bisheng/linsight/domain/task_exec.py | 495 | # Check if terminated during initialization | COMMENT |
| LOW | …end/bisheng/linsight/domain/services/workbench_impl.py | 1258 | # Read file contents | COMMENT |
| LOW | …ackend/bisheng/telemetry_search/domain/init_dataset.py | 1190 | # Check if department dimensions already present | STRING |
| LOW | src/backend/bisheng/utils/docx_temp.py | 753 | # Check if it is a delimiter line | COMMENT |
| LOW | src/backend/bisheng/utils/util.py | 121 | # Read files by block to avoid large files taking up too much memory | COMMENT |
| LOW | src/backend/bisheng/utils/util.py | 142 | # Read files asynchronously in binary form | COMMENT |
| LOW | src/backend/bisheng/utils/util.py | 144 | # Read files asynchronously by block to avoid large files taking up too much memory | COMMENT |
| LOW | src/backend/bisheng/utils/http_middleware.py | 340 | # Check if tenant is disabled via Redis blacklist | COMMENT |
| LOW | src/backend/bisheng/user/api/user.py | 679 | # Check if is an administrator of a user group under | COMMENT |
| LOW | src/backend/bisheng/user/api/user.py | 1214 | # Check if there are administrative permissions for the group | COMMENT |
| LOW | src/backend/bisheng/user/api/user.py | 1286 | # Check if there are administrative permissions for the group | COMMENT |
| LOW | src/backend/bisheng/user/domain/services/user.py | 700 | # Read file content to check size | COMMENT |
| LOW | …sheng/department/domain/services/department_service.py | 976 | # Check if root already exists | COMMENT |
| LOW | …sheng/department/domain/services/department_service.py | 1006 | # Set path to /{id}/ | COMMENT |
| LOW⚡ | …end/bisheng/channel/domain/services/channel_service.py | 456 | # Check if the user has reached the role-configurable channel creation quota | COMMENT |
| LOW | src/backend/bisheng/common/init_data.py | 252 | # Check if default tenant exists and has no root_dept_id yet | COMMENT |
| LOW | …s/markdown_cmpnt/md_to_docx/provider/docx_processor.py | 247 | # Check if there are paragraph tags | COMMENT |
| LOW | …s/markdown_cmpnt/md_to_docx/provider/docx_processor.py | 300 | # Check if there are paragraph tags | COMMENT |
| LOW | src/backend/bisheng/common/services/config_service.py | 98 | # Check if a string is a valid path or a file name | COMMENT |
| LOW | …dge/rag/pipeline/loader/utils/libreoffice_converter.py | 54 | # Check if libreoffice_exec is in PATH if it's not a full path | COMMENT |
| LOW | …dge/rag/pipeline/loader/utils/libreoffice_converter.py | 87 | # Check if the file was actually created | COMMENT |
| LOW | …ng/knowledge/domain/services/knowledge_file_service.py | 208 | # Check if knowledge file exists | COMMENT |
| LOW | …d/bisheng/workflow/nodes/report/text_classification.py | 428 | # Check if it is a delimiter line | COMMENT |
| LOW | src/backend/bisheng/api/v1/workflow.py | 77 | # Check if the user has read access to the app | COMMENT |
| LOW | src/backend/bisheng/api/services/assistant.py | 292 | # Check if you have permission to access the information | COMMENT |
| LOW | src/backend/bisheng/api/services/assistant.py | 339 | # Check if there are any duplicate names under | COMMENT |
| LOW | src/backend/bisheng/api/services/assistant.py | 513 | # Check if there are any duplicate names under | COMMENT |
| LOW | …ackend/bisheng/api/services/invite_code/invite_code.py | 72 | # Check if the generated invite code is a duplicate | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/frontend/platform/public/locales/en-US/bs.json | 802 | "webSearchPrompt": "# The following content is based on the search results of the message sent by the user:\n{search | CODE |
| MEDIUM | src/frontend/platform/src/constants.tsx | 179 | # Now you can use it like any chain | COMMENT |
| MEDIUM | src/frontend/client/src/mobile.css | 138 | /* More styling for demonstration purposes */ | COMMENT |
| MEDIUM | …ackend/bisheng_langchain/gpts/tools/web_search/tool.py | 63 | # For demonstration purposes, we'll just return a dummy response | COMMENT |
| MEDIUM | …ackend/bisheng_langchain/gpts/tools/web_search/tool.py | 165 | # For demonstration purposes, we'll just return a dummy response | COMMENT |
| MEDIUM | …heng_langchain/gpts/agent_types/llm_functions_agent.py | 102 | # meaning you can use it as you would any other runnable | COMMENT |
| MEDIUM | …heng_langchain/gpts/agent_types/llm_functions_agent.py | 190 | # meaning you can use it as you would any other runnable | COMMENT |
| MEDIUM | …/bisheng_langchain/gpts/agent_types/llm_react_agent.py | 172 | # meaning you can use it as you would any other runnable | COMMENT |
| MEDIUM | src/backend/test/_legacy/test_api.py | 29 | # Now you can use it like any chain | COMMENT |
| MEDIUM | src/backend/bisheng/tool/domain/services/executor.py | 43 | # Here you can add logic to record tool usage | COMMENT |
| MEDIUM | src/backend/bisheng/tool/domain/services/executor.py | 60 | # Here you can add logic to record tool usage | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/frontend/platform/public/locales/en-US/bs.json | 802 | "webSearchPrompt": "# The following content is based on the search results of the message sent by the user:\n{search | CODE |
| MEDIUM | src/frontend/client/src/api/chat/data-service.ts | 306 | "modalContent": "# Terms and Conditions for LibreChat\n\n*Effective Date: February 18, 2024*\n\nWelcome to Libre | CODE |
| MEDIUM | …client/src/pages/Subscription/ChannelDiscoveryHome.tsx | 305 | // No transition before measuring, or during the seamless loop snap-back. | COMMENT |
| MEDIUM | …nd/client/src/pages/Subscription/ChannelSquareTabs.tsx | 50 | // (robust to longer non-CJK labels). transform+width are animated; the mount | COMMENT |
| LOW | …ackend/bisheng_langchain/gpts/tools/web_search/tool.py | 63 | # For demonstration purposes, we'll just return a dummy response | COMMENT |
| LOW | …ackend/bisheng_langchain/gpts/tools/web_search/tool.py | 165 | # For demonstration purposes, we'll just return a dummy response | COMMENT |
| LOW | src/backend/bisheng_langchain/sql/base.py | 95 | # If return direct, we just set the final result equal to | COMMENT |
| MEDIUM | src/backend/test/integration/test_storage_quota_e2e.py | 131 | # search recursively to be robust against future restructuring. | COMMENT |
| MEDIUM⚡ | …kend/test/permission/test_f006_permission_migration.py | 905 | """Insert a comprehensive set of test data for full-pipeline tests.""" | STRING |
| MEDIUM | …nd/bisheng/workstation/domain/services/chat_service.py | 157 | # - _parse_tool_results: Normalizes BaseTool output to facilitate SSE (Server-Sent Events) and database storage. | COMMENT |
| LOW | …e/database/alembic/versions/v2_5_1_f011_tenant_tree.py | 142 | # tenant_id already exists (F001 TENANT_TABLES); just add compound index. | COMMENT |
| LOW | …bisheng/knowledge/domain/services/knowledge_service.py | 2455 | # we can just return the resource_ids. But to be safe, let's filter valid file ids. | COMMENT |
| MEDIUM | src/backend/bisheng/api/v1/callback.py | 64 | # Streaming output is placed in a queue to facilitate recording of content to a database after interrupting the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/frontend/client/src/hooks/useAiChat.ts | 555 | // New conversation: fetch the AI-generated title. The gen_title | COMMENT |
| HIGH⚡ | src/backend/test/e2e/test_e2e_tenant_code_autogen.py | 197 | # ──────── Case 1: auto-generated code ──────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …rontend/platform/src/pages/BuildPage/tools/EditMcp.tsx | 160 | "url": "https://mcp.amap.com/sse?key=yourapikey" | CODE |
| HIGH | …rontend/platform/src/pages/BuildPage/tools/EditMcp.tsx | 170 | "url": "https://mcp.amap.com/mcp?key=yourapikey" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/backend/scripts/set_admin.sh | 5 | # Usage: | COMMENT |