Open Source DeepWiki: AI-Powered Wiki Generator for GitHub/Gitlab/Bitbucket Repositories. Join the discord: https://discord.gg/gMwThUMeme
This report summarizes scanner evidence for AsyncFuncAI/deepwiki-open, a Python project with 18,165 GitHub stars. SynthScan examined 38,178 lines of code across 150 source files, recording 349 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 12.4 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 169 finding(s).
Are imports declared and package/API names verified? 70 finding(s).
Are wrappers, guards, and repeated structures necessary? 200 finding(s).
Which changes need focused human review? 349 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 349 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/run_tests.py | 42 | except Exception as e: | CODE |
| LOW⚡ | tests/unit/test_all_embedders.py | 328 | except Exception as e: | CODE |
| LOW⚡ | tests/unit/test_all_embedders.py | 338 | except Exception as e: | CODE |
| LOW | tests/unit/test_all_embedders.py | 49 | except Exception as e: | CODE |
| LOW | tests/unit/test_all_embedders.py | 205 | except Exception as e: | CODE |
| LOW | tests/unit/test_all_embedders.py | 226 | except Exception as e: | CODE |
| LOW | tests/unit/test_all_embedders.py | 359 | except Exception as e: | CODE |
| LOW | tests/unit/test_all_embedders.py | 375 | except Exception as e: | CODE |
| LOW | tests/unit/test_all_embedders.py | 448 | except Exception as e: | CODE |
| LOW | tests/unit/test_all_embedders.py | 472 | except Exception as e: | CODE |
| LOW | tests/unit/test_google_embedder.py | 86 | except Exception as e: | CODE |
| LOW | tests/unit/test_google_embedder.py | 123 | except Exception as e: | CODE |
| LOW | tests/unit/test_google_embedder.py | 178 | except Exception as e: | CODE |
| LOW | tests/integration/test_full_integration.py | 36 | except Exception as e: | CODE |
| LOW | tests/integration/test_full_integration.py | 66 | except Exception as e: | CODE |
| LOW | tests/integration/test_full_integration.py | 111 | except Exception as e: | CODE |
| LOW | tests/integration/test_full_integration.py | 147 | except Exception as e: | CODE |
| MEDIUM⚡ | tests/api/test_api.py | 35 | print(f"Error: {response.status_code}") | CODE |
| MEDIUM⚡ | tests/api/test_api.py | 38 | print(f"Error details: {error_data.get('detail', 'Unknown error')}") | CODE |
| MEDIUM⚡ | tests/api/test_api.py | 40 | print(f"Error content: {response.content}") | CODE |
| LOW⚡ | tests/api/test_api.py | 50 | except Exception as e: | CODE |
| MEDIUM⚡ | tests/api/test_api.py | 51 | print(f"Error: {str(e)}") | CODE |
| LOW | api/config.py | 151 | except Exception as e: | CODE |
| MEDIUM | api/config.py | 132 | def load_json_config(filename): | CODE |
| LOW | api/repository.py | 136 | except Exception: | CODE |
| LOW | api/routers/system.py | 71 | except Exception as e: | CODE |
| LOW | api/routers/codemap.py | 26 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | api/routers/codemap.py | 47 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | api/routers/codemap.py | 66 | except Exception as e: # noqa: BLE001 | CODE |
| LOW⚡ | api/routers/chat.py | 52 | except Exception: | CODE |
| LOW⚡ | api/routers/chat.py | 54 | except Exception as e: | CODE |
| LOW⚡ | api/routers/chat.py | 62 | except Exception: | CODE |
| LOW | api/routers/chat.py | 96 | except Exception as e: | CODE |
| LOW | api/routers/chat.py | 113 | except Exception as e_handler: | CODE |
| LOW | api/routers/repo.py | 47 | except Exception: | CODE |
| LOW | api/routers/wiki.py | 125 | except Exception as e: | CODE |
| LOW | api/routers/wiki.py | 131 | except Exception as e: | CODE |
| LOW | api/routers/wiki.py | 191 | except Exception as e: | CODE |
| LOW | api/routers/wiki.py | 211 | except Exception: | CODE |
| LOW | api/clients/google_embedder.py | 118 | except Exception: | CODE |
| LOW | api/clients/google_embedder.py | 164 | except Exception as e: | CODE |
| LOW | api/clients/google_embedder.py | 244 | except Exception: | CODE |
| LOW | api/clients/google_embedder.py | 264 | except Exception as e: | CODE |
| LOW⚡ | api/clients/openrouter.py | 456 | except Exception as e: | CODE |
| LOW⚡ | api/clients/openrouter.py | 580 | except Exception as e_chunk: | CODE |
| LOW⚡ | api/clients/openrouter.py | 583 | except Exception as e_stream: | CODE |
| LOW | api/clients/openrouter.py | 418 | except Exception as xml_error: | CODE |
| LOW | api/clients/openrouter.py | 508 | except Exception as e_proc: | CODE |
| LOW | api/clients/openrouter.py | 659 | except Exception as e_chunk: | CODE |
| LOW | api/clients/openrouter.py | 662 | except Exception as e_stream: | CODE |
| LOW | api/clients/dashscope.py | 87 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 232 | except Exception: | CODE |
| LOW | api/clients/dashscope.py | 271 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 306 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 510 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 553 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 661 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 836 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 879 | except Exception as e: | CODE |
| LOW | api/clients/dashscope.py | 896 | except Exception as e: | CODE |
| 28 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_repository.py | 25 | def test_repo_download_no_git(tmpdir, monkeypatch): | CODE |
| LOW | tests/test_repository.py | 38 | def test_repo_download_path_exists(tmpdir, mocker): | CODE |
| LOW | tests/test_repository.py | 56 | def test_repo_git_clone_message_masking(tmpdir, mocker): | CODE |
| LOW | tests/test_extract_repo_name.py | 28 | def test_extract_repo_name_github_standard_url(self, repo_url, name): | CODE |
| LOW | tests/test_extract_repo_name.py | 41 | def test_extract_repo_name_gitlab_urls(self, repo_url, name): | CODE |
| LOW | tests/test_extract_repo_name.py | 48 | def test_extract_repo_name_bitbucket_urls(self): | CODE |
| LOW | tests/test_extract_repo_name.py | 62 | def test_extract_repo_name_local_paths(self, repo_url, name): | CODE |
| LOW | tests/test_config.py | 23 | def test_iterate_files_default_exclusive_mode(exclude_test_config, tmp_path): | CODE |
| LOW | tests/test_config.py | 40 | def test_iterate_files_included_dirs(exclude_test_config, tmp_path, included_dirs): | CODE |
| LOW | tests/test_config.py | 46 | def test_iterate_files_included_files(exclude_test_config, tmp_path): | CODE |
| LOW | tests/test_config.py | 59 | def test_iterate_files_excluded_dirs(exclude_test_config, tmp_path, excluded_dirs): | CODE |
| LOW | tests/unit/test_chat.py | 31 | def test_every_provider_is_registered(provider, expected): | CODE |
| LOW | tests/unit/test_chat.py | 49 | def test_create_returns_correct_subclass(monkeypatch, provider, expected): | CODE |
| LOW | tests/unit/test_chat.py | 55 | def test_create_unknown_provider_raises(): | CODE |
| LOW⚡ | tests/unit/test_all_embedders.py | 319 | def test_prepare_data_pipeline(self, is_ollama=None): | CODE |
| LOW | tests/unit/test_all_embedders.py | 119 | def test_embedder_type_detection(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 181 | def test_get_embedder_with_explicit_type(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 210 | def test_get_embedder_with_legacy_params(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 231 | def test_get_embedder_auto_detection(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 243 | def test_google_embedder_client(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 275 | def test_openai_embedder_via_adalflow(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 364 | def test_rag_embedder_type_detection(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 382 | def test_embedder_type_env_var(self, embedder_type=None): | CODE |
| LOW | tests/unit/test_all_embedders.py | 393 | def _test_single_embedder_type(self, embedder_type): | CODE |
| LOW | tests/unit/test_all_embedders.py | 431 | def test_binary_assumptions_in_rag(self): | CODE |
| LOW | tests/unit/test_all_embedders.py | 451 | def test_binary_assumptions_in_data_pipeline(self): | CODE |
| LOW | tests/unit/test_google_embedder.py | 25 | def test_google_embedder_client(): | CODE |
| LOW | tests/integration/test_full_integration.py | 74 | def test_google_embedder_with_env(): | CODE |
| LOW | tests/backend/routers/test_wiki_tasks_api.py | 57 | def test_submit_then_progress_to_completed(monkeypatch): | CODE |
| LOW | tests/backend/routers/test_wiki_tasks_api.py | 124 | def test_list_summary_omits_wiki_structure(monkeypatch): | CODE |
| LOW | tests/backend/routers/test_wiki_tasks_api.py | 178 | def test_stream_completed_emits_done_event(monkeypatch): | CODE |
| LOW | tests/backend/routers/test_wiki_tasks_api.py | 206 | def test_stream_failed_emits_error_event(monkeypatch): | CODE |
| LOW | tests/backend/routers/test_wiki_tasks_api.py | 236 | async def test_stream_emits_progress_then_done(monkeypatch): | CODE |
| LOW | tests/backend/rag/test_rag.py | 7 | def test_rag_valid_filter_documents(): | CODE |
| LOW | tests/backend/schemas/test_chat.py | 4 | def test_chat_completion_request_split_path(): | CODE |
| LOW | tests/backend/schemas/test_wiki.py | 13 | async def test_wiki_cache_async_save(tmp_path) -> None: | CODE |
| LOW | tests/backend/schemas/test_wiki.py | 36 | async def test_wiki_cache_async_load(tmp_path) -> None: | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 18 | def test_generate_file_url_github(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 22 | def test_generate_file_url_gitlab(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 27 | def test_generate_file_url_bitbucket(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 32 | def test_generate_file_url_local_returns_bare_path(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 40 | def test_resolves_citation_for_file_in_filepaths(): # case 1 | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 46 | def test_resolves_generic_citation_not_in_filepaths(): # case 2 | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 55 | def test_strips_redundant_empty_parens_after_link(): # case 3 | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 61 | def test_resolves_sources_prefix_bare_filename(): # variant 2 | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 68 | def test_unknown_bare_filename_left_untouched(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 76 | def test_rebuilds_details_block_when_missing(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 82 | def test_local_repo_citations_not_resolved(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 87 | def test_escapes_brackets_in_dynamic_route_path(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 93 | def test_single_line_citation(): | CODE |
| LOW⚡ | tests/backend/services/test_wiki_content.py | 98 | def test_whole_file_citation_no_lines(): | CODE |
| LOW | tests/backend/services/test_wiki_task.py | 54 | async def test_submit_creates_and_completes(monkeypatch): | CODE |
| LOW | tests/backend/services/test_wiki_task.py | 87 | async def test_submit_joins_active_task(monkeypatch): | CODE |
| LOW | tests/backend/services/test_wiki_task.py | 125 | async def test_page_failure_yields_placeholder_but_completes(monkeypatch): | CODE |
| LOW | tests/backend/services/test_wiki_task.py | 151 | async def test_determine_structure_failure_fails_task(monkeypatch): | CODE |
| LOW | tests/backend/services/test_wiki_task.py | 169 | async def test_generate_page_strips_fences_and_resolves_citations(monkeypatch): | CODE |
| LOW | tests/backend/services/test_wiki_task.py | 261 | async def test_public_dict_hides_token(): | CODE |
| LOW | tests/backend/services/test_wiki_structure.py | 54 | def test_parse_concise_ignores_sections(): | STRING |
| LOW | tests/backend/services/test_wiki_structure.py | 65 | def test_parse_escapes_bare_ampersand(): | CODE |
| LOW | tests/backend/services/test_wiki_structure.py | 74 | def test_parse_regex_fallback_on_malformed_xml(): | CODE |
| 27 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/run_tests.py | 119 | CODE | |
| LOW | tests/run_tests.py | 126 | CODE | |
| LOW | tests/run_tests.py | 135 | CODE | |
| LOW | api/clients/__init__.py | 5 | CODE | |
| LOW | api/clients/__init__.py | 5 | CODE | |
| LOW | api/clients/__init__.py | 5 | CODE | |
| LOW | api/clients/__init__.py | 11 | CODE | |
| LOW | api/clients/__init__.py | 12 | CODE | |
| LOW | api/clients/__init__.py | 13 | CODE | |
| LOW | api/clients/__init__.py | 14 | CODE | |
| LOW | api/clients/__init__.py | 15 | CODE | |
| LOW | api/clients/__init__.py | 16 | CODE | |
| LOW | api/clients/__init__.py | 17 | CODE | |
| LOW | api/chat/__init__.py | 1 | CODE | |
| LOW | api/chat/__init__.py | 2 | CODE | |
| LOW | api/chat/_stream.py | 18 | CODE | |
| LOW | api/chat/_stream.py | 19 | CODE | |
| LOW | api/chat/_stream.py | 20 | CODE | |
| LOW | api/rag/__init__.py | 1 | CODE | |
| LOW | api/rag/__init__.py | 1 | CODE | |
| LOW | api/rag/__init__.py | 2 | CODE | |
| LOW | api/schemas/__init__.py | 1 | CODE | |
| LOW | api/schemas/__init__.py | 2 | CODE | |
| LOW | api/schemas/__init__.py | 2 | CODE | |
| LOW | api/schemas/__init__.py | 3 | CODE | |
| LOW | api/schemas/__init__.py | 3 | CODE | |
| LOW | api/schemas/__init__.py | 3 | CODE | |
| LOW | api/schemas/__init__.py | 3 | CODE | |
| LOW | api/schemas/__init__.py | 3 | CODE | |
| LOW | api/schemas/__init__.py | 10 | CODE | |
| LOW | api/schemas/__init__.py | 10 | CODE | |
| LOW | api/schemas/__init__.py | 11 | CODE | |
| LOW | api/schemas/__init__.py | 11 | CODE | |
| LOW | api/schemas/__init__.py | 11 | CODE | |
| LOW | api/schemas/__init__.py | 16 | CODE | |
| LOW | api/schemas/__init__.py | 16 | CODE | |
| LOW | api/schemas/__init__.py | 16 | CODE | |
| LOW | api/schemas/__init__.py | 16 | CODE | |
| LOW | api/schemas/__init__.py | 16 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/schemas/__init__.py | 23 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 1 | CODE | |
| LOW | api/services/wiki/__init__.py | 12 | CODE | |
| LOW | api/services/wiki/__init__.py | 12 | CODE | |
| LOW | api/services/wiki/__init__.py | 12 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .pre-commit-config.yaml | 27 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .pre-commit-config.yaml | 29 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .pre-commit-config.yaml | 49 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .pre-commit-config.yaml | 52 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .pre-commit-config.yaml | 58 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .pre-commit-config.yaml | 61 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | litellm-config.yml | 2 | # ----------------------- | COMMENT |
| MEDIUM⚡ | litellm-config.yml | 4 | # ----------------------- | COMMENT |
| MEDIUM⚡ | litellm-config.yml | 11 | # ----------------------- | COMMENT |
| MEDIUM⚡ | litellm-config.yml | 13 | # ----------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.fr.md | 170 | │ ├── rag.py # Génération Augmentée par Récupération (RAG) | CODE |
| MEDIUM | Ollama-instruction.md | 160 | "model": "nomic-embed-text" # Change this to another embedding model | CODE |
| MEDIUM | README.vi.md | 153 | │ ├── rag.py # Retrieval Augmented Generation (RAG) | CODE |
| MEDIUM | README.ru.md | 169 | │ ├── rag.py # RAG: генерация с дополнением | CODE |
| MEDIUM | api/prompts.py | 3 | # System prompt for RAG | COMMENT |
| MEDIUM | api/prompts.py | 30 | # Template for RAG | STRING |
| MEDIUM | api/README.md | 127 | ### 2. Smart Retrieval (RAG) | COMMENT |
| MEDIUM | api/chat/_prompts.py | 23 | # Add a note that we're skipping RAG due to size constraints or because it's the isolated API | COMMENT |
| MEDIUM | api/rag/rag.py | 23 | # Maximum concurrent RAG preparing count | COMMENT |
| MEDIUM | api/rag/pipeline.py | 62 | # Use OpenAI embedding model encoding | COMMENT |
| MEDIUM | api/services/research.py | 150 | # Try to perform RAG retrieval | COMMENT |
| MEDIUM | api/services/research.py | 152 | # This will use the actual RAG implementation | COMMENT |
| MEDIUM | api/services/codemap.py | 224 | # ---- Phase 1a: analyzing code (RAG retrieval) --------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | api/config.py | 157 | CODE | |
| LOW | api/config.py | 420 | CODE | |
| LOW | api/config.py | 519 | CODE | |
| LOW | api/repository.py | 191 | CODE | |
| LOW | api/routers/wiki.py | 82 | CODE | |
| LOW | api/clients/google_embedder.py | 83 | CODE | |
| LOW | api/clients/google_embedder.py | 97 | CODE | |
| LOW | api/clients/openrouter.py | 112 | CODE | |
| LOW | api/clients/openrouter.py | 512 | CODE | |
| LOW | api/clients/openrouter.py | 587 | CODE | |
| LOW | api/clients/openrouter.py | 175 | CODE | |
| LOW | api/clients/dashscope.py | 202 | CODE | |
| LOW | api/clients/dashscope.py | 311 | CODE | |
| LOW | api/clients/dashscope.py | 395 | CODE | |
| LOW | api/clients/dashscope.py | 527 | CODE | |
| LOW | api/clients/dashscope.py | 809 | CODE | |
| LOW | api/clients/dashscope.py | 935 | CODE | |
| LOW | api/clients/ollama.py | 16 | CODE | |
| LOW | api/clients/bedrock.py | 179 | CODE | |
| LOW | api/clients/bedrock.py | 247 | CODE | |
| LOW | api/clients/bedrock.py | 306 | CODE | |
| LOW | api/clients/bedrock.py | 453 | CODE | |
| LOW | api/rag/rag.py | 238 | CODE | |
| LOW | api/rag/pipeline.py | 24 | CODE | |
| LOW | api/rag/pipeline.py | 387 | CODE | |
| LOW | api/services/research.py | 60 | CODE | |
| LOW | api/services/codemap.py | 78 | CODE | |
| LOW | api/services/codemap.py | 187 | CODE | |
| LOW | api/services/wiki/io.py | 173 | CODE | |
| LOW | api/services/wiki/structure.py | 20 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/api/test_api.py | 15 | # Define the API endpoint | COMMENT |
| MEDIUM | tests/api/test_api.py | 18 | # Define the request payload | COMMENT |
| MEDIUM | api/clients/openrouter.py | 174 | # Create a generator that yields the content | COMMENT |
| MEDIUM | api/clients/bedrock.py | 114 | # Create a session with the provided credentials | COMMENT |
| MEDIUM⚡ | api/clients/bedrock.py | 130 | # Create a new session with the assumed role credentials | COMMENT |
| MEDIUM⚡ | api/clients/bedrock.py | 138 | # Create the Bedrock client | COMMENT |
| MEDIUM | api/rag/rag.py | 104 | # Create a new dialog turn using our custom implementation | COMMENT |
| MEDIUM | api/services/wiki/io.py | 159 | # Create a dictionary with metadata and pages | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/integration/test_full_integration.py | 16 | # Check if Google embedder config exists | COMMENT |
| LOW | tests/integration/test_full_integration.py | 27 | # Check if GoogleEmbedderClient is in CLIENT_CLASSES | COMMENT |
| LOW⚡ | tests/api/test_api.py | 33 | # Check if the request was successful | COMMENT |
| LOW | api/config.py | 220 | # Check if model_client is OllamaClient | COMMENT |
| LOW | api/config.py | 241 | # Check if model_client is GoogleEmbedderClient | COMMENT |
| LOW | api/clients/openrouter.py | 117 | # Check if API key is set | COMMENT |
| LOW | api/clients/openrouter.py | 185 | # Check if the content is XML and ensure it's properly formatted | COMMENT |
| LOW | api/clients/openrouter.py | 195 | # Check if it's a wiki_structure XML | COMMENT |
| LOW | api/clients/dashscope.py | 212 | # Check if it's a ChatCompletion object (non-streaming response) | COMMENT |
| LOW | api/clients/bedrock.py | 310 | # Check if client is initialized | COMMENT |
| LOW | api/rag/rag.py | 161 | # Check if Ollama model exists before proceeding | COMMENT |
| LOW | api/services/research.py | 123 | # Check if this is a continuation request | COMMENT |
| LOW | api/services/research.py | 215 | # Check if this is the first iteration | COMMENT |
| LOW | api/services/research.py | 218 | # Check if this is the final iteration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | api/routers/chat.py | 52 | except Exception: | CODE |
| HIGH | api/routers/chat.py | 62 | except Exception: | CODE |
| HIGH | api/clients/google_embedder.py | 118 | except Exception: | CODE |
| HIGH | api/services/wiki/tasks.py | 307 | except ValueError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | package-lock.json | 8739 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |
| MEDIUM | tests/backend/services/test_wiki_structure.py | 111 | # A comprehensive response cut off mid-way (model hit its output-token limit): | COMMENT |
| LOW | api/clients/bedrock.py | 156 | # For now, just return the sync client | COMMENT |
| LOW | api/clients/bedrock.py | 449 | # For now, just call the sync method | COMMENT |
| MEDIUM | src/components/Ask.tsx | 505 | const completionNote = "\n\n## Final Conclusion\nAfter multiple iterations of deep research, we've gathered | CODE |
| MEDIUM | src/components/Ask.tsx | 599 | const completionNote = "\n\n## Final Conclusion\nAfter multiple iterations of deep research, we've gathered | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Ollama-instruction.md | 9 | ## Step 1: Install Ollama | COMMENT |
| LOW | Ollama-instruction.md | 27 | ## Step 2: Download Required Models | COMMENT |
| LOW | Ollama-instruction.md | 38 | ## Step 3: Set Up DeepWiki | COMMENT |
| LOW | Ollama-instruction.md | 72 | ## Step 4: Use DeepWiki with Ollama | COMMENT |
| LOW | api/README.md | 15 | ### Step 1: Install Dependencies | COMMENT |
| LOW | api/README.md | 22 | ### Step 2: Set Up Environment Variables | COMMENT |
| LOW | api/README.md | 109 | ### Step 3: Start the API Server | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/messages/zh.json | 91 | "placeholder": "询问关于此仓库的问题...", | CODE |
| LOW | src/messages/kr.json | 91 | "placeholder": "이 저장소에 대해 질문해 보세요...", | CODE |
| LOW | src/messages/ja.json | 91 | "placeholder": "このリポジトリについて質問する...", | CODE |
| LOW | src/messages/ru.json | 100 | "placeholder": "Задайте вопрос об этом репозитории...", | CODE |
| LOW | src/messages/en.json | 100 | "placeholder": "Ask a question about this repository...", | CODE |
| LOW | src/messages/fr.json | 100 | "placeholder": "Posez une question sur ce dépôt...", | CODE |
| LOW | src/messages/pt-br.json | 100 | "placeholder": "Faça uma pergunta sobre este repositório...", | CODE |
| LOW | src/messages/zh-tw.json | 89 | "placeholder": "詢問關於此儲存庫的問題...", | CODE |
| LOW | src/messages/vi.json | 91 | "placeholder": "Đặt một câu hỏi về repository này...", | CODE |
| LOW | src/messages/es.json | 91 | "placeholder": "Haz una pregunta sobre este repositorio...", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/test_all_embedders.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/unit/test_google_embedder.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | api/logger.py | 8 | __all__ = ["get_logger", "setup_logging"] | CODE |
| LOW | api/clients/__init__.py | 19 | __all__ = [ | CODE |
| LOW | api/chat/__init__.py | 17 | __all__ = [ | CODE |
| LOW | api/rag/__init__.py | 4 | __all__ = [ | CODE |
| LOW | api/schemas/__init__.py | 35 | __all__ = [ | CODE |
| LOW | api/services/wiki/__init__.py | 18 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | README.zh-tw.md | 259 | OPENAI_API_KEY=your_api_key | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | api/clients/dashscope.py | 121 | CODE | |
| LOW | api/rag/pipeline.py | 288 | CODE | |
| LOW | api/services/wiki/content.py | 151 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/utils/websocketClient.ts | 1 | /** | COMMENT |