The agent engineering platform.
10593 matches across 21 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …/text-splitters/tests/unit_tests/test_html_security.py | 12 | def test_xxe_entity_attack_blocked(self) -> None: |
| LOW | …/text-splitters/tests/unit_tests/test_html_security.py | 29 | def test_xxe_document_function_blocked(self) -> None: |
| LOW | …/text-splitters/tests/unit_tests/test_html_security.py | 47 | def test_secure_parser_configuration(self) -> None: |
| LOW | …/text-splitters/tests/unit_tests/test_html_security.py | 84 | def test_dtd_processing_disabled(self) -> None: |
| LOW | …/text-splitters/tests/unit_tests/test_html_security.py | 110 | def test_safe_default_xslt_usage(self) -> None: |
| LOW | libs/text-splitters/tests/unit_tests/conftest.py | 23 | def pytest_collection_modifyitems( |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 65 | def test_character_text_splitter_empty_doc() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 74 | def test_character_text_splitter_separtor_empty_doc() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 83 | def test_character_text_splitter_long() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 92 | def test_character_text_splitter_short_words_first() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 101 | def test_character_text_splitter_longer_words() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 111 | def test_character_text_splitter_no_separator_in_text() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 120 | def test_character_text_splitter_handle_chunksize_equal_to_chunkoverlap() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 129 | def test_character_text_splitter_empty_input() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 138 | def test_character_text_splitter_whitespace_only() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 150 | def test_character_text_splitter_keep_separator_regex( |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 174 | def test_character_text_splitter_keep_separator_regex_start( |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 198 | def test_character_text_splitter_keep_separator_regex_end( |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 222 | def test_character_text_splitter_discard_separator_regex( |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 243 | def test_recursive_character_text_splitter_keep_separators() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 267 | def test_character_text_splitting_args() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 305 | def test_create_documents_with_metadata() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 350 | def test_create_documents_with_start_index( |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 361 | def test_metadata_not_shallow() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 376 | def test_iterative_text_splitter_keep_separator() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 389 | def test_iterative_text_splitter_discard_separator() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 402 | def __test_iterative_text_splitter( |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 420 | def test_iterative_text_splitter() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 473 | def test_python_text_splitter() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 1023 | def test_elixir_separators_no_while() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 1510 | def test_md_header_text_splitter_fenced_code_block(fence: str) -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 1537 | def test_md_header_text_splitter_fenced_code_block_interleaved( |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 1574 | def test_md_header_text_splitter_with_invisible_characters(characters: str) -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 1602 | def test_md_header_text_splitter_with_custom_headers() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 1797 | def test_experimental_markdown_syntax_text_splitter_header_configuration() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 1842 | def test_experimental_markdown_syntax_text_splitter_with_headers() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 1900 | def test_experimental_markdown_syntax_text_splitter_split_lines() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 2008 | def test_experimental_markdown_syntax_text_splitter_on_multi_files() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 2091 | def test_experimental_markdown_syntax_text_splitter_split_lines_on_multi_files() -> ( |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 2219 | def test_experimental_markdown_syntax_text_splitter_with_header_on_multi_files() -> ( |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 2308 | def test_experimental_markdown_syntax_text_splitter_header_config_on_multi_files() -> ( |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 2384 | def test_solidity_code_splitter() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 2984 | def test_decode_returns_no_chunks() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 3055 | def test_happy_path_splitting_based_on_header_with_font_size() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 3106 | def test_happy_path_splitting_based_on_header_with_whitespace_chars() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 3157 | def test_happy_path_splitting_with_duplicate_header_tag() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 3230 | def test_split_json_with_lists() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 3253 | def test_split_json_many_calls() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 3274 | def test_split_json_with_empty_dict_values() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 3292 | def test_split_json_with_nested_empty_dicts() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 3310 | def test_split_json_empty_dict_only() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 3323 | def test_split_json_mixed_empty_and_nonempty_dicts() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 3346 | def test_split_json_empty_dict_value_in_large_payload() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 3377 | def test_powershell_code_splitter_short_code() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 4230 | def test_character_text_splitter_chunk_size_effect( |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 56 | def test_character_text_splitter() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 613 | def test_svelte_text_splitter() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 628 | def test_jsx_splitter_separator_not_mutated_across_calls() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 659 | def test_python_code_splitter() -> None: |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 682 | def test_golang_code_splitter() -> None: |
| 4222 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 3 | |
| LOW | libs/text-splitters/langchain_text_splitters/nltk.py | 3 | |
| LOW | libs/text-splitters/langchain_text_splitters/html.py | 3 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 9 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 9 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 9 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 9 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 9 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 16 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 16 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 20 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 20 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 20 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 20 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 26 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 27 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 28 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 29 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 30 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 30 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 30 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 30 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 30 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 37 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 38 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 39 | |
| LOW | …bs/text-splitters/langchain_text_splitters/__init__.py | 42 | |
| LOW | libs/text-splitters/langchain_text_splitters/konlpy.py | 3 | |
| LOW | …bs/text-splitters/langchain_text_splitters/markdown.py | 3 | |
| LOW | libs/text-splitters/langchain_text_splitters/python.py | 3 | |
| LOW | …s/text-splitters/langchain_text_splitters/character.py | 3 | |
| LOW | …ters/langchain_text_splitters/sentence_transformers.py | 3 | |
| LOW | libs/text-splitters/langchain_text_splitters/spacy.py | 3 | |
| LOW | libs/text-splitters/langchain_text_splitters/latex.py | 3 | |
| LOW | libs/text-splitters/langchain_text_splitters/json.py | 3 | |
| LOW | libs/text-splitters/langchain_text_splitters/base.py | 3 | |
| LOW | …nit_tests/language_models/test_chat_model_v3_stream.py | 3 | |
| LOW | …tests/unit_tests/language_models/test_compat_bridge.py | 26 | |
| LOW | …tests/unit_tests/language_models/test_compat_bridge.py | 26 | |
| LOW | …tests/unit_tests/language_models/test_compat_bridge.py | 26 | |
| LOW | …tests/unit_tests/language_models/test_compat_bridge.py | 26 | |
| LOW | …tests/unit_tests/language_models/test_compat_bridge.py | 26 | |
| LOW | …tests/unit_tests/language_models/test_compat_bridge.py | 26 | |
| LOW | …tests/unit_tests/language_models/test_compat_bridge.py | 26 | |
| LOW | …ore/tests/unit_tests/language_models/test_v1_parity.py | 7 | |
| LOW | …s/unit_tests/language_models/test_chat_model_stream.py | 3 | |
| LOW | …s/unit_tests/language_models/test_chat_model_stream.py | 19 | |
| LOW | …unit_tests/language_models/test_chat_model_streamer.py | 3 | |
| LOW | …unit_tests/language_models/test_chat_model_streamer.py | 22 | |
| LOW | …sts/unit_tests/messages/block_translators/test_groq.py | 8 | |
| LOW | libs/core/tests/unit_tests/runnables/test_imports.py | 43 | |
| LOW | …/tests/unit_tests/runnables/test_runnable_events_v3.py | 3 | |
| LOW | …re/tests/unit_tests/runnables/test_tracing_interops.py | 1 | |
| LOW | libs/core/tests/unit_tests/runnables/test_config.py | 16 | |
| LOW | …core/tests/unit_tests/vectorstores/test_vectorstore.py | 7 | |
| LOW | …ore/tests/unit_tests/tracers/test_async_base_tracer.py | 3 | |
| LOW | libs/core/tests/unit_tests/tracers/test_base_tracer.py | 3 | |
| LOW | …re/tests/unit_tests/tracers/test_automatic_metadata.py | 3 | |
| LOW | libs/core/langchain_core/caches.py | 18 | |
| LOW | libs/core/langchain_core/globals.py | 6 | |
| 3477 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | libs/text-splitters/scripts/lint_imports.sh | 5 | # Initialize a variable to keep track of errors |
| MEDIUM | …ts/unit_tests/language_models/chat_models/test_base.py | 611 | # Create a message with v0 format image content |
| MEDIUM | …s/unit_tests/language_models/chat_models/test_cache.py | 321 | # Create a simple fake chat model that we can control |
| MEDIUM | …ore/tests/unit_tests/language_models/llms/test_base.py | 359 | # Create a custom LLM that supports streaming |
| MEDIUM | …ts/unit_tests/callbacks/test_async_callback_manager.py | 179 | """This method is decorated with @shielded in the run manager.""" |
| MEDIUM | …ts/unit_tests/callbacks/test_async_callback_manager.py | 185 | """This method is decorated with @shielded in the run manager.""" |
| MEDIUM | …s/core/tests/unit_tests/utils/test_function_calling.py | 1186 | # Define a custom Python class that isn't JSON-serializable |
| MEDIUM | libs/core/tests/unit_tests/runnables/test_graph.py | 643 | # Create a simple graph |
| MEDIUM | libs/core/langchain_core/messages/system.py | 24 | # Define a chat model and invoke it with the messages |
| MEDIUM | libs/core/langchain_core/messages/content.py | 66 | # Create a text content block with provider-specific fields |
| MEDIUM | …gchain_core/messages/block_translators/google_genai.py | 82 | # Create a citation for each referenced chunk |
| MEDIUM | libs/core/langchain_core/callbacks/manager.py | 236 | # Create the coroutine |
| MEDIUM | libs/core/langchain_core/callbacks/manager.py | 242 | # Create a task with the captured context to preserve context variables |
| MEDIUM | libs/core/langchain_core/utils/utils.py | 96 | # Create a copy of dt_value. |
| MEDIUM | libs/core/langchain_core/runnables/graph_png.py | 139 | # Create a directed graph |
| MEDIUM | libs/core/langchain_core/runnables/base.py | 4138 | # Create the transform() generator for each step |
| MEDIUM | libs/core/langchain_core/runnables/base.py | 4204 | # Create the transform() generator for each step |
| MEDIUM | libs/core/langchain_core/runnables/base.py | 6272 | # Create a Runnable binding that invokes the chat model with the |
| MEDIUM | …core/langchain_core/prompts/few_shot_with_templates.py | 144 | # Create the overall prefix. |
| MEDIUM | …core/langchain_core/prompts/few_shot_with_templates.py | 155 | # Create the overall suffix |
| MEDIUM | …core/langchain_core/prompts/few_shot_with_templates.py | 188 | # Create the overall prefix. |
| MEDIUM | …core/langchain_core/prompts/few_shot_with_templates.py | 199 | # Create the overall suffix |
| MEDIUM | libs/core/langchain_core/prompts/few_shot.py | 201 | # Create the overall template. |
| MEDIUM | libs/core/langchain_core/prompts/few_shot.py | 229 | # Create the overall template. |
| MEDIUM | libs/core/langchain_core/prompts/few_shot.py | 362 | # Define the overall prompt. |
| MEDIUM | libs/core/langchain_core/indexing/api.py | 606 | # Define an asynchronous generator function |
| MEDIUM | libs/core/langchain_core/tracers/langchain.py | 305 | # This method is only really useful for debugging flows, so we will assume |
| MEDIUM | libs/core/scripts/lint_imports.sh | 5 | # Initialize a variable to keep track of errors |
| MEDIUM | …ain/tests/unit_tests/agents/output_parsers/test_xml.py | 41 | # Create an AgentAction with XML tags in the tool name |
| MEDIUM | …/langchain/tests/unit_tests/storage/test_filesystem.py | 13 | # Create a temporary directory for testing |
| MEDIUM | …/langchain/tests/unit_tests/storage/test_filesystem.py | 40 | # Create a temporary directory for testing |
| MEDIUM | …/langchain/tests/unit_tests/storage/test_filesystem.py | 63 | # Create a temporary directory for testing |
| MEDIUM | …bs/langchain/tests/unit_tests/storage/test_lc_store.py | 14 | # Create a temporary directory for testing |
| MEDIUM | libs/langchain/scripts/lint_imports.sh | 5 | # Initialize a variable to keep track of errors |
| MEDIUM | libs/langchain/langchain_classic/serpapi.py | 10 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | libs/langchain/langchain_classic/cache.py | 25 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | libs/langchain/langchain_classic/sql_database.py | 10 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | libs/langchain/langchain_classic/requests.py | 14 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | …s/langchain/langchain_classic/chat_loaders/whatsapp.py | 8 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | …s/langchain/langchain_classic/chat_loaders/telegram.py | 8 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | …/langchain/langchain_classic/chat_loaders/langsmith.py | 11 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | …s/langchain/langchain_classic/chat_loaders/imessage.py | 8 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | libs/langchain/langchain_classic/chat_loaders/gmail.py | 8 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | libs/langchain/langchain_classic/chat_loaders/utils.py | 13 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | libs/langchain/langchain_classic/chat_loaders/slack.py | 8 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | libs/langchain/langchain_classic/retrievers/bm25.py | 9 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | libs/langchain/langchain_classic/retrievers/docarray.py | 9 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | …chain/langchain_classic/retrievers/remote_retriever.py | 8 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | …ngchain_classic/retrievers/chatgpt_plugin_retriever.py | 8 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | libs/langchain/langchain_classic/retrievers/milvus.py | 9 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | …s/langchain/langchain_classic/retrievers/embedchain.py | 8 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | …langchain_classic/retrievers/weaviate_hybrid_search.py | 8 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | libs/langchain/langchain_classic/retrievers/pubmed.py | 8 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | …langchain_classic/retrievers/pinecone_hybrid_search.py | 8 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | libs/langchain/langchain_classic/retrievers/arxiv.py | 8 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | …bs/langchain/langchain_classic/retrievers/chaindesk.py | 8 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | …langchain/langchain_classic/retrievers/web_research.py | 12 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | …/langchain/langchain_classic/retrievers/llama_index.py | 11 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | …angchain_classic/retrievers/google_vertex_ai_search.py | 12 | # Create a way to dynamically look up deprecated imports. |
| MEDIUM | …lassic/retrievers/google_cloud_documentai_warehouse.py | 8 | # Create a way to dynamically look up deprecated imports. |
| 887 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | libs/text-splitters/tests/unit_tests/conftest.py | 0 | add implementations for handling custom markers. at the moment, this adds support for a custom `requires` marker. the `r |
| HIGH | libs/core/tests/unit_tests/conftest.py | 0 | add implementations for handling custom markers. at the moment, this adds support for a custom `requires` marker. the `r |
| HIGH | libs/langchain/tests/unit_tests/conftest.py | 0 | add implementations for handling custom markers. at the moment, this adds support for a custom `requires` marker. the `r |
| HIGH | libs/langchain_v1/tests/unit_tests/conftest.py | 0 | add implementations for handling custom markers. at the moment, this adds support for a custom `requires` marker. the `r |
| HIGH | …text-splitters/tests/unit_tests/test_text_splitters.py | 0 | <h1>section 1</h1> <p>this is some text. this is some other text.</p> |
| HIGH | …text-splitters/tests/unit_tests/test_text_splitters.py | 0 | <h1>section 1</h1> <p>this is some text. this is some other text.</p> |
| HIGH | …text-splitters/tests/unit_tests/test_text_splitters.py | 0 | <h1>section 1</h1> <p>this is some text. this is some other text.</p> |
| HIGH | …text-splitters/tests/unit_tests/test_text_splitters.py | 0 | <h1>section 1</h1> <p>this is some text. this is some other text.</p> |
| HIGH | …text-splitters/tests/unit_tests/test_text_splitters.py | 0 | <h1>section 1</h1> <p>this is some text. this is some other text.</p> |
| HIGH | …text-splitters/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | libs/core/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | libs/langchain/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …s/langchain_v1/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …artners/chroma/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …ners/mistralai/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …ers/openrouter/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …s/partners/exa/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …ners/fireworks/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …/partners/groq/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …tners/deepseek/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …s/partners/xai/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …partners/nomic/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …ers/perplexity/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …artners/qdrant/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …ners/anthropic/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …rs/huggingface/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …artners/ollama/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …artners/openai/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …standard-tests/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | …model-profiles/tests/integration_tests/test_compile.py | 0 | used for compiling integration tests without running any real tests. |
| HIGH | libs/core/tests/unit_tests/test_tools.py | 0 | test that structured tools can be created from functions. |
| HIGH | libs/core/tests/unit_tests/test_tools.py | 0 | test that structured tools can be created from functions. |
| HIGH | libs/core/tests/unit_tests/test_tools.py | 0 | test that structured tools can be created from functions. |
| HIGH | libs/core/tests/unit_tests/test_tools.py | 0 | simple tool for testing. args: query: the query string. |
| HIGH | libs/core/tests/unit_tests/test_tools.py | 0 | simple tool for testing. args: query: the query string. |
| HIGH | libs/core/tests/unit_tests/test_tools.py | 0 | simple tool for testing. args: query: the query string. |
| HIGH | libs/core/tests/unit_tests/test_tools.py | 0 | simple tool for testing. args: query: the query string. |
| HIGH | …s/core/tests/unit_tests/utils/test_function_calling.py | 0 | dummy function. args: arg1: foo arg2: one of 'bar', 'baz' |
| HIGH | …s/core/tests/unit_tests/utils/test_function_calling.py | 0 | dummy function. args: arg1: foo arg2: one of 'bar', 'baz' |
| HIGH | …s/core/tests/unit_tests/utils/test_function_calling.py | 0 | dummy function. args: arg1: foo arg2: one of 'bar', 'baz' |
| HIGH | …s/core/tests/unit_tests/utils/test_function_calling.py | 0 | dummy function. args: arg1: foo arg2: one of 'bar', 'baz' |
| HIGH | …s/core/tests/unit_tests/utils/test_function_calling.py | 0 | dummy function. args: arg1: foo arg2: one of 'bar', 'baz' |
| HIGH | …s/core/tests/unit_tests/utils/test_function_calling.py | 0 | dummy function. args: arg1: foo arg2: one of 'bar', 'baz' |
| HIGH | …artners/anthropic/tests/unit_tests/test_chat_models.py | 0 | dummy function. args: arg1: foo arg2: one of 'bar', 'baz' |
| HIGH | libs/core/tests/unit_tests/runnables/test_runnable.py | 0 | test generator runnable config propagation. test that a generator can call other runnables with config propagated from t |
| HIGH | libs/core/tests/unit_tests/runnables/test_runnable.py | 0 | test generator runnable config propagation. test that a generator can call other runnables with config propagated from t |
| HIGH | libs/core/tests/unit_tests/runnables/test_runnable.py | 0 | test generator runnable config propagation. test that a generator can call other runnables with config propagated from t |
| HIGH | libs/core/tests/unit_tests/runnables/test_runnable.py | 0 | test generator runnable config propagation. test that a generator can call other runnables with config propagated from t |
| HIGH | libs/core/tests/unit_tests/prompts/test_few_shot.py | 0 | test error is raised when input variables are not provided. |
| HIGH | libs/core/tests/unit_tests/prompts/test_few_shot.py | 0 | test error is raised when input variables are not provided. |
| HIGH | libs/core/tests/unit_tests/prompts/test_prompt.py | 0 | test error is raised when input variables are not provided. |
| HIGH | libs/core/tests/unit_tests/prompts/test_prompt.py | 0 | test error is raised when input variables are not provided. |
| HIGH | libs/core/tests/unit_tests/prompts/test_few_shot.py | 0 | test prompt can be initialized with partial variables. |
| HIGH | libs/core/tests/unit_tests/prompts/test_few_shot.py | 0 | test prompt can be initialized with partial variables. |
| HIGH | libs/core/tests/unit_tests/prompts/test_prompt.py | 0 | test prompt can be initialized with partial variables. |
| HIGH | libs/core/tests/unit_tests/prompts/test_prompt.py | 0 | test prompt can be initialized with partial variables. |
| HIGH | libs/core/tests/unit_tests/prompts/test_few_shot.py | 0 | tests for few shot chat message template with an example selector. |
| HIGH | libs/core/tests/unit_tests/prompts/test_few_shot.py | 0 | tests for few shot chat message template with an example selector. |
| HIGH | libs/core/tests/unit_tests/prompts/test_few_shot.py | 0 | tests for few shot chat message template with an example selector. |
| HIGH | libs/core/tests/unit_tests/prompts/test_image.py | 0 | test that the image prompt template is serializable. |
| 445 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | AGENTS.md | 212 | Send an email to a recipient with specified priority. Any additional context about the function can go here. A |
| HIGH | CLAUDE.md | 212 | Send an email to a recipient with specified priority. Any additional context about the function can go here. A |
| HIGH | libs/text-splitters/langchain_text_splitters/html.py | 201 | Fetch text content from a URL and split it into documents. Args: url: The URL to fetch content from |
| HIGH | libs/text-splitters/langchain_text_splitters/html.py | 245 | Private method that performs a DFS traversal over the DOM and yields. Document objects on-the-fly. This approac |
| HIGH | libs/text-splitters/langchain_text_splitters/html.py | 447 | Split an HTML document into sections based on specified header tags. This method uses BeautifulSoup to parse th |
| HIGH | libs/text-splitters/langchain_text_splitters/html.py | 508 | Convert specific HTML tags to headers using an XSLT transformation. This method uses an XSLT file to transform |
| HIGH | …s/text-splitters/langchain_text_splitters/character.py | 180 | Retrieve a list of separators specific to the given language. Args: language: The language for whic |
| HIGH | libs/text-splitters/langchain_text_splitters/base.py | 238 | Text splitter that uses `tiktoken` encoder to count length. Args: encoding_name: The name of the ti |
| HIGH | libs/core/langchain_core/retrievers.py | 182 | Invoke the retriever to get relevant documents. Main entry point for synchronous retriever invocations. |
| HIGH | libs/core/langchain_core/retrievers.py | 243 | Asynchronously invoke the retriever to get relevant documents. Main entry point for asynchronous retriever invo |
| HIGH | libs/core/langchain_core/_import_utils.py | 9 | Import an attribute from a module located in a package. This utility function is used in custom `__getattr__` metho |
| HIGH | libs/core/langchain_core/language_models/chat_models.py | 207 | Generate from a stream. Args: stream: Iterator of `ChatGenerationChunk`. Raises: ValueError: I |
| HIGH | libs/core/langchain_core/language_models/chat_models.py | 2351 | Model wrapper that returns outputs formatted to match the given schema. Args: schema: The output sc |
| HIGH | libs/core/langchain_core/language_models/llms.py | 79 | Create a retry decorator for a given LLM and provided a list of error types. Args: error_types: List of err |
| HIGH | libs/core/langchain_core/language_models/llms.py | 161 | Get prompts that are already cached. Args: params: Dictionary of parameters. prompts: List of promp |
| HIGH | libs/core/langchain_core/language_models/llms.py | 197 | Get prompts that are already cached. Async version. Args: params: Dictionary of parameters. prompts |
| HIGH | libs/core/langchain_core/language_models/llms.py | 235 | Update the cache and get the LLM output. Args: cache: Cache object. existing_prompts: Dictionary of |
| HIGH | libs/core/langchain_core/language_models/llms.py | 268 | Update the cache and get the LLM output. Async version. Args: cache: Cache object. existing_prompts |
| HIGH | libs/core/langchain_core/language_models/llms.py | 861 | Pass a sequence of prompts to a model and return generations. This method should make use of batched calls for |
| HIGH | libs/core/langchain_core/language_models/llms.py | 1144 | Asynchronously pass a sequence of prompts to a model and return generations. This method should make use of bat |
| HIGH | libs/core/langchain_core/tools/convert.py | 89 | Convert Python functions and `Runnables` to LangChain tools. Can be used as a decorator with or without arguments t |
| HIGH | libs/core/langchain_core/tools/structured.py | 148 | Create tool from a given function. A classmethod that helps to create a tool from a function. Args: |
| HIGH | libs/core/langchain_core/tools/simple.py | 75 | Convert tool input to Pydantic model. Args: tool_input: The input to the tool. tool_cal |
| HIGH | libs/core/langchain_core/tools/simple.py | 176 | Initialize tool from a function. Args: func: The function to create the tool from. name |
| HIGH | libs/core/langchain_core/tools/base.py | 250 | Check if all Pydantic annotations in a function are from v1. Args: signature: The function signature to che |
| HIGH | libs/core/langchain_core/tools/base.py | 659 | Parse and validate tool input using the args schema. Args: tool_input: The raw input to the tool. |
| HIGH | libs/core/langchain_core/tools/base.py | 842 | Convert tool input to positional and keyword arguments. Args: tool_input: The input to the tool. |
| HIGH | libs/core/langchain_core/tools/base.py | 894 | Run the tool. Args: tool_input: The input to the tool. verbose: Whether to log the tool |
| HIGH | libs/core/langchain_core/tools/base.py | 1022 | Run the tool asynchronously. Args: tool_input: The input to the tool. verbose: Whether |
| HIGH | libs/core/langchain_core/tools/base.py | 1155 | Handle validation errors based on the configured flag. Args: e: The validation error that occurred. |
| HIGH | libs/core/langchain_core/tools/base.py | 1187 | Handle tool execution errors based on the configured flag. Args: e: The tool exception that occurred. |
| HIGH | libs/core/langchain_core/messages/content.py | 1005 | Create an `ImageContentBlock`. Args: url: URL of the image. base64: Base64-encoded image data. |
| HIGH | libs/core/langchain_core/messages/content.py | 1067 | Create a `VideoContentBlock`. Args: url: URL of the video. base64: Base64-encoded video data. |
| HIGH | libs/core/langchain_core/messages/content.py | 1133 | Create an `AudioContentBlock`. Args: url: URL of the audio. base64: Base64-encoded audio data. |
| HIGH | libs/core/langchain_core/messages/content.py | 1199 | Create a `FileContentBlock`. Args: url: URL of the file. base64: Base64-encoded file data. |
| HIGH | libs/core/langchain_core/messages/utils.py | 255 | Get the type string for XML message element. Args: m: The message to get the type string for. human |
| HIGH | libs/core/langchain_core/messages/utils.py | 298 | Convert a sequence of messages to strings and concatenate them into one string. Args: messages: Messages to |
| HIGH | libs/core/langchain_core/messages/utils.py | 593 | Create a message from a `Message` type and content string. Args: message_type: the type of the message (e.g |
| HIGH | libs/core/langchain_core/messages/utils.py | 698 | Instantiate a `Message` from a variety of message formats. The message format can be one of the following: - ` |
| HIGH | libs/core/langchain_core/messages/utils.py | 859 | Filter messages based on `name`, `type` or `id`. Args: messages: Sequence Message-like objects to filter. |
| HIGH | libs/core/langchain_core/messages/utils.py | 1139 | Trim messages to be below a token count. `trim_messages` can be used to reduce the size of a chat history to a spec |
| HIGH | libs/core/langchain_core/messages/utils.py | 1546 | Convert LangChain messages into OpenAI message dicts. Args: messages: Message-like object or iterable of ob |
| HIGH | libs/core/langchain_core/messages/base.py | 413 | Message chunks support concatenation with other message chunks. This functionality is useful to combine message |
| HIGH | …re/langchain_core/messages/block_translators/openai.py | 23 | Convert `ImageContentBlock` to format expected by OpenAI Chat Completions. Args: block: The image content b |
| HIGH | …re/langchain_core/messages/block_translators/openai.py | 61 | Format standard data content block to format expected by OpenAI. "Standard data content block" can include old-styl |
| HIGH | …angchain_core/example_selectors/semantic_similarity.py | 149 | Create k-shot example selector using example list and embeddings. Reshuffles examples dynamically based on quer |
| HIGH | …angchain_core/example_selectors/semantic_similarity.py | 193 | Async create k-shot example selector using example list and embeddings. Reshuffles examples dynamically based o |
| HIGH | …angchain_core/example_selectors/semantic_similarity.py | 280 | Create k-shot example selector using example list and embeddings. Reshuffles examples dynamically based on Max |
| HIGH | …angchain_core/example_selectors/semantic_similarity.py | 327 | Create k-shot example selector using example list and embeddings. Reshuffles examples dynamically based on Max |
| HIGH | libs/core/langchain_core/callbacks/manager.py | 2369 | Configure the callback manager. Args: callback_manager_cls: The callback manager class. inheritable |
| HIGH | libs/core/langchain_core/_security/_ssrf_protection.py | 47 | Validate a URL for SSRF protection. This function validates URLs to prevent Server-Side Request Forgery (SSRF) atta |
| HIGH | libs/core/langchain_core/_api/__init__.py | 61 | Dynamically import and return an attribute from a submodule. This function enables lazy loading of API functions fr |
| HIGH | libs/core/langchain_core/utils/env.py | 61 | Get a value from a dictionary or an environment variable. Args: key: The key to look up in the dictionary. |
| HIGH | libs/core/langchain_core/utils/formatting.py | 26 | Format a string using only keyword arguments. Overrides the base `vformat` to reject positional arguments, ensu |
| HIGH | libs/core/langchain_core/utils/_merge.py | 7 | Merge dictionaries. Merge many dicts, handling specific scenarios where a key exists in both dictionaries but h |
| HIGH | libs/core/langchain_core/utils/_merge.py | 171 | Merge two objects. It handles specific scenarios where a key exists in both dictionaries but has a value of `No |
| HIGH | libs/core/langchain_core/utils/function_calling.py | 166 | Converts a Pydantic model to a function description for the OpenAI API. Args: model: The Pydantic model to |
| HIGH | libs/core/langchain_core/utils/function_calling.py | 329 | Format tool into the OpenAI function API. Args: tool: The tool to format. Raises: ValueError: |
| HIGH | libs/core/langchain_core/utils/function_calling.py | 380 | Convert a raw function/class to an OpenAI function. Args: function: A dictionary, Pydantic `BaseModel` clas |
| HIGH | libs/core/langchain_core/utils/function_calling.py | 582 | Convert a schema representation to a JSON schema. Args: schema: The schema to convert. strict: If ` |
| 202 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …s/text-splitters/langchain_text_splitters/character.py | 519 | # --------------- |
| MEDIUM | …bs/core/tests/unit_tests/test_ssrf_policy_transport.py | 143 | # --------------------------------------------------------------------------- |
| MEDIUM | …bs/core/tests/unit_tests/test_ssrf_policy_transport.py | 145 | # --------------------------------------------------------------------------- |
| MEDIUM | …bs/core/tests/unit_tests/test_ssrf_policy_transport.py | 233 | # --------------------------------------------------------------------------- |
| MEDIUM | …bs/core/tests/unit_tests/test_ssrf_policy_transport.py | 235 | # --------------------------------------------------------------------------- |
| MEDIUM | …bs/core/tests/unit_tests/test_ssrf_policy_transport.py | 353 | # --------------------------------------------------------------------------- |
| MEDIUM | …bs/core/tests/unit_tests/test_ssrf_policy_transport.py | 355 | # --------------------------------------------------------------------------- |
| MEDIUM | …bs/core/tests/unit_tests/test_ssrf_policy_transport.py | 193 | # --------------------------------------------------------------------------- |
| MEDIUM | …bs/core/tests/unit_tests/test_ssrf_policy_transport.py | 196 | # --------------------------------------------------------------------------- |
| MEDIUM | …bs/core/tests/unit_tests/test_ssrf_policy_transport.py | 272 | # --------------------------------------------------------------------------- |
| MEDIUM | …bs/core/tests/unit_tests/test_ssrf_policy_transport.py | 274 | # --------------------------------------------------------------------------- |
| MEDIUM | …bs/core/tests/unit_tests/test_ssrf_policy_transport.py | 315 | # --------------------------------------------------------------------------- |
| MEDIUM | …bs/core/tests/unit_tests/test_ssrf_policy_transport.py | 317 | # --------------------------------------------------------------------------- |
| MEDIUM | …tests/unit_tests/language_models/test_compat_bridge.py | 42 | # --------------------------------------------------------------------------- |
| MEDIUM | …tests/unit_tests/language_models/test_compat_bridge.py | 44 | # --------------------------------------------------------------------------- |
| MEDIUM | …tests/unit_tests/language_models/test_compat_bridge.py | 123 | # --------------------------------------------------------------------------- |
| MEDIUM | …tests/unit_tests/language_models/test_compat_bridge.py | 125 | # --------------------------------------------------------------------------- |
| MEDIUM | …tests/unit_tests/language_models/test_compat_bridge.py | 821 | # --------------------------------------------------------------------------- |
| MEDIUM | …tests/unit_tests/language_models/test_compat_bridge.py | 823 | # --------------------------------------------------------------------------- |
| MEDIUM | …tests/unit_tests/language_models/test_compat_bridge.py | 1084 | # --------------------------------------------------------------------------- |
| MEDIUM | …tests/unit_tests/language_models/test_compat_bridge.py | 1086 | # --------------------------------------------------------------------------- |
| MEDIUM | …s/unit_tests/language_models/test_chat_model_stream.py | 21 | # --------------------------------------------------------------------------- |
| MEDIUM | …s/unit_tests/language_models/test_chat_model_stream.py | 23 | # --------------------------------------------------------------------------- |
| MEDIUM | …s/unit_tests/language_models/test_chat_model_stream.py | 294 | # --------------------------------------------------------------------------- |
| MEDIUM | …s/unit_tests/language_models/test_chat_model_stream.py | 296 | # --------------------------------------------------------------------------- |
| MEDIUM | …s/unit_tests/language_models/test_chat_model_stream.py | 789 | # --------------------------------------------------------------------------- |
| MEDIUM | …s/unit_tests/language_models/test_chat_model_stream.py | 791 | # --------------------------------------------------------------------------- |
| MEDIUM | libs/core/tests/unit_tests/messages/test_utils.py | 2963 | # --------------------------------------------------------------------------- |
| MEDIUM | libs/core/tests/unit_tests/messages/test_utils.py | 2965 | # --------------------------------------------------------------------------- |
| MEDIUM | …/core/langchain_core/language_models/_compat_bridge.py | 90 | # --------------------------------------------------------------------------- |
| MEDIUM | …/core/langchain_core/language_models/_compat_bridge.py | 92 | # --------------------------------------------------------------------------- |
| MEDIUM | …/core/langchain_core/language_models/_compat_bridge.py | 146 | # --------------------------------------------------------------------------- |
| MEDIUM | …/core/langchain_core/language_models/_compat_bridge.py | 148 | # --------------------------------------------------------------------------- |
| MEDIUM | …/core/langchain_core/language_models/_compat_bridge.py | 223 | # --------------------------------------------------------------------------- |
| MEDIUM | …/core/langchain_core/language_models/_compat_bridge.py | 225 | # --------------------------------------------------------------------------- |
| MEDIUM | …/core/langchain_core/language_models/_compat_bridge.py | 461 | # --------------------------------------------------------------------------- |
| MEDIUM | …/core/langchain_core/language_models/_compat_bridge.py | 463 | # --------------------------------------------------------------------------- |
| MEDIUM | …/core/langchain_core/language_models/_compat_bridge.py | 506 | # --------------------------------------------------------------------------- |
| MEDIUM | …/core/langchain_core/language_models/_compat_bridge.py | 508 | # --------------------------------------------------------------------------- |
| MEDIUM | …/core/langchain_core/language_models/_compat_bridge.py | 566 | # --------------------------------------------------------------------------- |
| MEDIUM | …/core/langchain_core/language_models/_compat_bridge.py | 568 | # --------------------------------------------------------------------------- |
| MEDIUM | …re/langchain_core/language_models/chat_model_stream.py | 48 | # --------------------------------------------------------------------------- |
| MEDIUM | …re/langchain_core/language_models/chat_model_stream.py | 50 | # --------------------------------------------------------------------------- |
| MEDIUM | …re/langchain_core/language_models/chat_model_stream.py | 160 | # --------------------------------------------------------------------------- |
| MEDIUM | …re/langchain_core/language_models/chat_model_stream.py | 162 | # --------------------------------------------------------------------------- |
| MEDIUM | …re/langchain_core/language_models/chat_model_stream.py | 213 | # --------------------------------------------------------------------------- |
| MEDIUM | …re/langchain_core/language_models/chat_model_stream.py | 215 | # --------------------------------------------------------------------------- |
| MEDIUM | …re/langchain_core/language_models/chat_model_stream.py | 308 | # --------------------------------------------------------------------------- |
| MEDIUM | …re/langchain_core/language_models/chat_model_stream.py | 310 | # --------------------------------------------------------------------------- |
| MEDIUM | …re/langchain_core/language_models/chat_model_stream.py | 468 | # --------------------------------------------------------------------------- |
| MEDIUM | …re/langchain_core/language_models/chat_model_stream.py | 470 | # --------------------------------------------------------------------------- |
| MEDIUM | …re/langchain_core/language_models/chat_model_stream.py | 1037 | # --------------------------------------------------------------------------- |
| MEDIUM | …re/langchain_core/language_models/chat_model_stream.py | 1039 | # --------------------------------------------------------------------------- |
| MEDIUM | …re/langchain_core/language_models/chat_model_stream.py | 1193 | # --------------------------------------------------------------------------- |
| MEDIUM | …re/langchain_core/language_models/chat_model_stream.py | 1195 | # --------------------------------------------------------------------------- |
| MEDIUM | libs/core/langchain_core/_security/_policy.py | 12 | # --------------------------------------------------------------------------- |
| MEDIUM | libs/core/langchain_core/_security/_policy.py | 14 | # --------------------------------------------------------------------------- |
| MEDIUM | libs/core/langchain_core/_security/_policy.py | 97 | # --------------------------------------------------------------------------- |
| MEDIUM | libs/core/langchain_core/_security/_policy.py | 99 | # --------------------------------------------------------------------------- |
| MEDIUM | libs/core/langchain_core/_security/_policy.py | 117 | # --------------------------------------------------------------------------- |
| 170 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …text-splitters/tests/unit_tests/test_text_splitters.py | 964 | else if (age >= 18 && age < 65) |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 31 | proj.push("a") |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 32 | proj.push("b") |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 38 | proj.push("x") |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 132 | proj.push("a") |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 142 | proj.push("x") |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 144 | proj.push("y") |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 162 | proj.push("partial") |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 176 | proj.push(next(deltas)) |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 199 | proj.push(value) |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 215 | proj.push("only") |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 51 | proj.push(val) |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 60 | proj.push("partial") |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 73 | proj.push("a") |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 74 | proj.push("b") |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 91 | proj.push("Hello") |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 92 | proj.push(" world") |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 103 | proj.push("Hi") |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 115 | proj.push("x") |
| HIGH | …s/unit_tests/language_models/test_chat_model_stream.py | 120 | proj.push("hello") |
| HIGH | …ests/unit_tests/output_parsers/test_pydantic_parser.py | 130 | "additional_fields": null, |
| HIGH | …re/langchain_core/language_models/chat_model_stream.py | 785 | self._reasoning_proj.push(full_r) |
| HIGH | …re/langchain_core/language_models/chat_model_stream.py | 789 | self._reasoning_proj.push(tail) |
| HIGH | …re/langchain_core/language_models/chat_model_stream.py | 631 | self._text_proj.push(delta_text) |
| HIGH | …re/langchain_core/language_models/chat_model_stream.py | 640 | self._reasoning_proj.push(delta_r) |
| HIGH | …re/langchain_core/language_models/chat_model_stream.py | 660 | self._tool_calls_proj.push(chunk_block) |
| HIGH | …re/langchain_core/language_models/chat_model_stream.py | 690 | self._tool_calls_proj.push(legacy_chunk_block) |
| HIGH | …re/langchain_core/language_models/chat_model_stream.py | 728 | self._tool_calls_proj.push(fallback_chunk_block) |
| HIGH | …re/langchain_core/language_models/chat_model_stream.py | 756 | self._text_proj.push(full_text) |
| HIGH | …re/langchain_core/language_models/chat_model_stream.py | 762 | self._text_proj.push(tail) |
| HIGH | …re/langchain_core/language_models/chat_model_stream.py | 1420 | self._events_proj.push(cast("MessagesData", event)) |
| HIGH | libs/core/langchain_core/utils/json_schema.py | 184 | # Case 4: Primitive value (string, number, boolean, null) - return unchanged |
| HIGH | …s/langchain/langchain_classic/chains/natbot/crawler.py | 101 | "(document.scrollingElement || document.body).scrollTop = " |
| HIGH | …s/langchain/langchain_classic/chains/natbot/crawler.py | 102 | "(document.scrollingElement || document.body).scrollTop - " |
| HIGH | …s/langchain/langchain_classic/chains/natbot/crawler.py | 107 | "(document.scrollingElement || document.body).scrollTop = " |
| HIGH | …s/langchain/langchain_classic/chains/natbot/crawler.py | 108 | "(document.scrollingElement || document.body).scrollTop + " |
| HIGH | libs/partners/groq/langchain_groq/chat_models.py | 1423 | # Groq sends 'null' (JSON null) for tools with no arguments, but we |
| HIGH | libs/partners/groq/langchain_groq/chat_models.py | 1502 | # Groq sends 'null' (JSON null) for tools with no arguments, but we |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 448 | DEEPSEEK_STREAM_DATA = """{"id":"d3610c24e6b42518a7883ea57c3ea2c3","choices":[{"index":0,"delta":{"content":"","role":"a |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 449 | {"choices":[{"delta":{"content":"我是","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":1721 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 450 | {"choices":[{"delta":{"content":"Deep","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":17 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 451 | {"choices":[{"delta":{"content":"Seek","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":17 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 452 | {"choices":[{"delta":{"content":" Chat","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":1 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 453 | {"choices":[{"delta":{"content":",","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":17216 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 454 | {"choices":[{"delta":{"content":"一个","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":1721 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 455 | {"choices":[{"delta":{"content":"由","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":17216 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 456 | {"choices":[{"delta":{"content":"深度","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":1721 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 457 | {"choices":[{"delta":{"content":"求","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":17216 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 458 | {"choices":[{"delta":{"content":"索","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":17216 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 459 | {"choices":[{"delta":{"content":"公司","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":1721 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 460 | {"choices":[{"delta":{"content":"开发的","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":172 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 461 | {"choices":[{"delta":{"content":"智能","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":1721 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 462 | {"choices":[{"delta":{"content":"助手","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":1721 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 463 | {"choices":[{"delta":{"content":"。","role":"assistant"},"finish_reason":null,"index":0,"logprobs":null}],"created":17216 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 464 | {"choices":[{"delta":{"content":"","role":null},"finish_reason":"stop","index":0,"logprobs":null}],"created":1721630271, |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 527 | OPENAI_STREAM_DATA = """{"id":"chatcmpl-9nhARrdUiJWEMd5plwV1Gc9NCjb9M","object":"chat.completion.chunk","created":172163 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 528 | {"id":"chatcmpl-9nhARrdUiJWEMd5plwV1Gc9NCjb9M","object":"chat.completion.chunk","created":1721631035,"model":"gpt-4o-202 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 529 | {"id":"chatcmpl-9nhARrdUiJWEMd5plwV1Gc9NCjb9M","object":"chat.completion.chunk","created":1721631035,"model":"gpt-4o-202 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 530 | {"id":"chatcmpl-9nhARrdUiJWEMd5plwV1Gc9NCjb9M","object":"chat.completion.chunk","created":1721631035,"model":"gpt-4o-202 |
| HIGH | …tners/openai/tests/unit_tests/chat_models/test_base.py | 531 | {"id":"chatcmpl-9nhARrdUiJWEMd5plwV1Gc9NCjb9M","object":"chat.completion.chunk","created":1721631035,"model":"gpt-4o-202 |
| 2 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | libs/text-splitters/tests/unit_tests/conftest.py | 23 | |
| LOW | libs/text-splitters/langchain_text_splitters/html.py | 244 | |
| LOW | libs/text-splitters/langchain_text_splitters/html.py | 420 | |
| LOW | libs/text-splitters/langchain_text_splitters/html.py | 860 | |
| LOW | libs/text-splitters/langchain_text_splitters/html.py | 905 | |
| LOW | …bs/text-splitters/langchain_text_splitters/markdown.py | 134 | |
| LOW | …bs/text-splitters/langchain_text_splitters/markdown.py | 372 | |
| LOW | libs/text-splitters/langchain_text_splitters/json.py | 85 | |
| LOW | libs/text-splitters/langchain_text_splitters/base.py | 152 | |
| LOW | libs/core/tests/unit_tests/conftest.py | 49 | |
| LOW | libs/core/tests/unit_tests/pydantic_utils.py | 9 | |
| LOW | libs/core/tests/unit_tests/pydantic_utils.py | 31 | |
| LOW | libs/core/tests/unit_tests/test_pydantic_imports.py | 7 | |
| LOW | libs/core/tests/unit_tests/messages/test_utils.py | 593 | |
| LOW | libs/core/tests/unit_tests/messages/test_utils.py | 605 | |
| LOW | libs/core/tests/unit_tests/utils/test_utils.py | 186 | |
| LOW | …re/tests/unit_tests/runnables/test_tracing_interops.py | 343 | |
| LOW | …/tests/unit_tests/runnables/test_runnable_events_v2.py | 2148 | |
| LOW | libs/core/langchain_core/sys_info.py | 11 | |
| LOW | libs/core/langchain_core/language_models/chat_models.py | 108 | |
| LOW | libs/core/langchain_core/language_models/chat_models.py | 138 | |
| LOW | libs/core/langchain_core/language_models/chat_models.py | 713 | |
| LOW | libs/core/langchain_core/language_models/chat_models.py | 842 | |
| LOW | libs/core/langchain_core/language_models/chat_models.py | 1862 | |
| LOW | libs/core/langchain_core/language_models/chat_models.py | 2023 | |
| LOW | libs/core/langchain_core/language_models/llms.py | 74 | |
| LOW | libs/core/langchain_core/language_models/llms.py | 132 | |
| LOW | libs/core/langchain_core/language_models/llms.py | 94 | |
| LOW | libs/core/langchain_core/language_models/llms.py | 511 | |
| LOW | …ore/langchain_core/language_models/fake_chat_models.py | 266 | |
| LOW | …/core/langchain_core/language_models/_compat_bridge.py | 151 | |
| LOW | …/core/langchain_core/language_models/_compat_bridge.py | 300 | |
| LOW | …re/langchain_core/language_models/chat_model_stream.py | 246 | |
| LOW | …re/langchain_core/language_models/chat_model_stream.py | 422 | |
| LOW | …re/langchain_core/language_models/chat_model_stream.py | 580 | |
| LOW | …re/langchain_core/language_models/chat_model_stream.py | 615 | |
| LOW | …re/langchain_core/language_models/chat_model_stream.py | 793 | |
| LOW | …re/langchain_core/language_models/chat_model_stream.py | 1155 | |
| LOW | libs/core/langchain_core/language_models/_utils.py | 33 | |
| LOW | libs/core/langchain_core/language_models/_utils.py | 140 | |
| LOW | libs/core/langchain_core/tools/structured.py | 133 | |
| LOW | libs/core/langchain_core/tools/base.py | 656 | |
| LOW | libs/core/langchain_core/tools/base.py | 803 | |
| LOW | libs/core/langchain_core/tools/base.py | 878 | |
| LOW | libs/core/langchain_core/tools/base.py | 1006 | |
| LOW | libs/core/langchain_core/messages/ai.py | 243 | |
| LOW | libs/core/langchain_core/messages/ai.py | 495 | |
| LOW | libs/core/langchain_core/messages/ai.py | 590 | |
| LOW | libs/core/langchain_core/messages/utils.py | 287 | |
| LOW | libs/core/langchain_core/messages/utils.py | 584 | |
| LOW | libs/core/langchain_core/messages/utils.py | 697 | |
| LOW | libs/core/langchain_core/messages/utils.py | 848 | |
| LOW | libs/core/langchain_core/messages/utils.py | 993 | |
| LOW | libs/core/langchain_core/messages/utils.py | 1539 | |
| LOW | libs/core/langchain_core/messages/utils.py | 1954 | |
| LOW | libs/core/langchain_core/messages/utils.py | 2228 | |
| LOW | libs/core/langchain_core/messages/tool.py | 92 | |
| LOW | libs/core/langchain_core/messages/base.py | 366 | |
| LOW | libs/core/langchain_core/messages/base.py | 200 | |
| LOW | …gchain_core/messages/block_translators/langchain_v0.py | 46 | |
| 258 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | libs/text-splitters/scripts/check_imports.py | 13 | except Exception: # noqa: BLE001 |
| LOW | libs/core/tests/unit_tests/conftest.py | 92 | except Exception: |
| LOW | …/tests/unit_tests/runnables/test_runnable_events_v1.py | 1546 | except Exception: |
| LOW | …/tests/unit_tests/runnables/test_runnable_events_v1.py | 1663 | except Exception: |
| LOW | …/tests/unit_tests/runnables/test_runnable_events_v2.py | 1505 | except Exception: |
| LOW | …/tests/unit_tests/runnables/test_runnable_events_v2.py | 1622 | except Exception: |
| LOW | …/tests/unit_tests/runnables/test_runnable_events_v2.py | 1967 | except Exception as e: |
| LOW | libs/core/langchain_core/sys_info.py | 96 | except Exception: |
| LOW | libs/core/langchain_core/sys_info.py | 105 | except Exception: |
| LOW | libs/core/langchain_core/sys_info.py | 129 | except Exception: |
| LOW | libs/core/langchain_core/retrievers.py | 227 | except Exception as e: |
| LOW | libs/core/langchain_core/retrievers.py | 288 | except Exception as e: |
| LOW | libs/core/langchain_core/agents.py | 229 | except Exception: |
| LOW | libs/core/langchain_core/agents.py | 249 | except Exception: |
| LOW | libs/core/langchain_core/language_models/chat_models.py | 115 | except Exception: |
| LOW | libs/core/langchain_core/language_models/chat_models.py | 118 | except Exception: |
| LOW | libs/core/langchain_core/language_models/chat_models.py | 123 | except Exception: |
| LOW | libs/core/langchain_core/language_models/llms.py | 111 | except Exception as e: |
| LOW | libs/core/langchain_core/language_models/llms.py | 443 | except Exception as e: |
| LOW | libs/core/langchain_core/language_models/llms.py | 489 | except Exception as e: |
| LOW | …/core/langchain_core/language_models/_compat_bridge.py | 186 | except Exception: |
| LOW | libs/core/langchain_core/tools/base.py | 829 | except Exception: |
| LOW | libs/core/langchain_core/tools/base.py | 1335 | except Exception: |
| LOW | libs/core/langchain_core/tools/base.py | 1352 | except Exception: |
| LOW | libs/core/langchain_core/messages/ai.py | 323 | except Exception: |
| LOW | libs/core/langchain_core/messages/ai.py | 554 | except Exception: |
| LOW | …gchain_core/messages/block_translators/google_genai.py | 413 | except Exception: |
| LOW | libs/core/langchain_core/callbacks/manager.py | 125 | except Exception as e: |
| LOW | libs/core/langchain_core/callbacks/manager.py | 208 | except Exception as e: |
| LOW | libs/core/langchain_core/callbacks/manager.py | 306 | except Exception as e: |
| LOW | libs/core/langchain_core/callbacks/manager.py | 351 | except Exception as e: |
| LOW | libs/core/langchain_core/callbacks/manager.py | 363 | except Exception as e: |
| LOW | libs/core/langchain_core/callbacks/manager.py | 408 | except Exception as e: |
| LOW | libs/core/langchain_core/callbacks/manager.py | 2509 | except Exception as e: |
| LOW | libs/core/langchain_core/utils/html.py | 107 | except Exception as e: |
| LOW | libs/core/langchain_core/utils/function_calling.py | 276 | except Exception: |
| LOW | libs/core/langchain_core/runnables/configurable.py | 186 | except Exception as e: |
| LOW | libs/core/langchain_core/runnables/configurable.py | 229 | except Exception as e: |
| LOW | libs/core/langchain_core/runnables/router.py | 159 | except Exception as e: |
| LOW | libs/core/langchain_core/runnables/router.py | 196 | except Exception as e: |
| LOW | libs/core/langchain_core/runnables/base.py | 906 | except Exception as e: |
| LOW | libs/core/langchain_core/runnables/base.py | 977 | except Exception as e: |
| LOW | libs/core/langchain_core/runnables/base.py | 1043 | except Exception as e: |
| LOW | libs/core/langchain_core/runnables/base.py | 1115 | except Exception as e: |
| LOW | libs/core/langchain_core/load/serializable.py | 78 | except Exception as _: |
| LOW | libs/core/langchain_core/load/serializable.py | 81 | except Exception as _: |
| LOW | libs/core/langchain_core/load/serializable.py | 84 | except Exception as _: |
| LOW | libs/core/langchain_core/load/serializable.py | 321 | except Exception as _: |
| LOW | libs/core/langchain_core/load/serializable.py | 377 | except Exception: |
| LOW | libs/core/langchain_core/document_loaders/langsmith.py | 142 | except Exception: |
| LOW | libs/core/langchain_core/indexing/api.py | 216 | except Exception as e: |
| LOW | libs/core/langchain_core/tracers/evaluation.py | 147 | except Exception: |
| LOW | libs/core/langchain_core/tracers/core.py | 121 | except Exception: |
| LOW | libs/core/langchain_core/tracers/stdout.py | 26 | except Exception: |
| LOW | libs/core/langchain_core/tracers/langchain.py | 336 | except Exception as e: |
| LOW | libs/core/langchain_core/tracers/langchain.py | 348 | except Exception as e: |
| MEDIUM | libs/core/scripts/check_version.py | 36 | print(f"Error: {pyproject_path} not found") |
| MEDIUM | libs/core/scripts/check_version.py | 40 | print(f"Error: {version_path} not found") |
| MEDIUM | libs/core/scripts/check_version.py | 47 | print("Error: Could not find version in pyproject.toml") |
| MEDIUM | libs/core/scripts/check_version.py | 51 | print("Error: Could not find VERSION in langchain_core/version.py") |
| 141 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …hain/langchain_classic/agents/openai_assistant/base.py | 345 | run = self.client.beta.threads.runs.submit_tool_outputs(**tool_outputs) |
| CRITICAL | …hain/langchain_classic/agents/openai_assistant/base.py | 362 | _ = self.client.beta.threads.messages.create( |
| CRITICAL | …hain/langchain_classic/agents/openai_assistant/base.py | 372 | run = self.client.beta.threads.runs.submit_tool_outputs(**input) |
| CRITICAL | …hain/langchain_classic/agents/openai_assistant/base.py | 477 | run = await self.async_client.beta.threads.runs.submit_tool_outputs( |
| CRITICAL | …hain/langchain_classic/agents/openai_assistant/base.py | 495 | _ = await self.async_client.beta.threads.messages.create( |
| CRITICAL | …hain/langchain_classic/agents/openai_assistant/base.py | 505 | run = await self.async_client.beta.threads.runs.submit_tool_outputs( |
| CRITICAL | …hain/langchain_classic/agents/openai_assistant/base.py | 562 | return self.client.beta.threads.runs.create( |
| CRITICAL | …hain/langchain_classic/agents/openai_assistant/base.py | 603 | messages = self.client.beta.threads.messages.list( |
| CRITICAL | …hain/langchain_classic/agents/openai_assistant/base.py | 673 | run = self.client.beta.threads.runs.retrieve(run_id, thread_id=thread_id) |
| CRITICAL | …hain/langchain_classic/agents/openai_assistant/base.py | 719 | return await self.async_client.beta.threads.runs.create( |
| CRITICAL | …hain/langchain_classic/agents/openai_assistant/base.py | 760 | messages = await self.async_client.beta.threads.messages.list( |
| CRITICAL | …hain/langchain_classic/agents/openai_assistant/base.py | 826 | run = await self.async_client.beta.threads.runs.retrieve( |
| CRITICAL | …plexity/tests/unit_tests/test_chat_models_responses.py | 251 | llm.client.chat.completions.create.assert_called_once() |
| CRITICAL | …plexity/tests/unit_tests/test_chat_models_responses.py | 185 | llm.client.chat.completions.create.assert_called_once() |
| CRITICAL | …plexity/tests/unit_tests/test_chat_models_responses.py | 205 | llm.client.chat.completions.create.assert_not_called() |
| CRITICAL | …s/partners/openai/langchain_openai/chat_models/base.py | 1575 | response_stream = self.root_client.beta.chat.completions.stream( |
| CRITICAL | …s/partners/openai/langchain_openai/chat_models/base.py | 1639 | self.root_client.chat.completions.with_raw_response.parse(**payload) |
| CRITICAL | …s/partners/openai/langchain_openai/chat_models/base.py | 1834 | response_stream = self.root_async_client.beta.chat.completions.stream( |
| CRITICAL | …s/partners/openai/langchain_openai/chat_models/base.py | 1902 | raw_response = await self.root_async_client.chat.completions.with_raw_response.parse( # noqa: E501 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | libs/text-splitters/tests/unit_tests/conftest.py | 58 | # Iterate through the list of required packages |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 3382 | # Check if a file exists |
| LOW | …text-splitters/tests/unit_tests/test_text_splitters.py | 3393 | '# Check if a file exists\n$filePath = "C:\\temp\\file.txt"', |
| LOW | …ers/tests/integration_tests/test_nlp_text_splitters.py | 21 | # Check if en_core_web_sm model is available |
| LOW | …bs/text-splitters/langchain_text_splitters/markdown.py | 193 | # Check if line matches either standard or custom header pattern |
| LOW | libs/core/tests/unit_tests/conftest.py | 84 | # Iterate through the list of required packages |
| LOW | …s/unit_tests/indexing/test_in_memory_record_manager.py | 153 | # Check if the keys exist in the database |
| LOW | …s/unit_tests/indexing/test_in_memory_record_manager.py | 168 | # Check if the keys exist in the database |
| LOW | …s/unit_tests/indexing/test_in_memory_record_manager.py | 262 | # Check if the deleted keys are no longer in the database |
| LOW | …s/unit_tests/indexing/test_in_memory_record_manager.py | 277 | # Check if the deleted keys are no longer in the database |
| LOW | libs/core/langchain_core/language_models/chat_models.py | 548 | # Check if streaming is implemented. |
| LOW | libs/core/langchain_core/tools/base.py | 745 | # Check if field has an explicit default defined in the schema. |
| LOW | libs/core/langchain_core/messages/utils.py | 449 | # Check if this is an AIMessage with tool calls |
| LOW | libs/core/langchain_core/messages/utils.py | 1967 | # Check if all messages already fit within token limit |
| LOW | …gchain_core/messages/block_translators/langchain_v0.py | 68 | # Check if this is actually a v0 format block |
| LOW | libs/core/langchain_core/callbacks/file.py | 77 | # Open the file in the specified mode with UTF-8 encoding. |
| LOW | libs/core/langchain_core/utils/pydantic.py | 159 | # Check if allow_population_by_field_name is enabled |
| LOW | libs/core/langchain_core/utils/function_calling.py | 806 | # Check if 'required' is a key at the current level or if the schema is empty, |
| LOW | libs/core/langchain_core/runnables/graph_mermaid.py | 437 | # Check if the background color is a hexadecimal color code using regex |
| LOW | libs/core/langchain_core/load/_validation.py | 88 | # Check if dict needs escaping BEFORE recursing into values. |
| LOW | libs/core/langchain_core/prompts/loading.py | 89 | # Check if template_path exists in config. |
| LOW | libs/langchain/tests/unit_tests/conftest.py | 72 | # Iterate through the list of required packages |
| LOW | …ngchain/tests/unit_tests/agents/test_agent_iterator.py | 284 | # Check if properties are updated |
| LOW | …ngchain/tests/unit_tests/agents/test_agent_iterator.py | 292 | # Check if properties are reset |
| LOW | …ngchain/tests/unit_tests/agents/test_agent_iterator.py | 337 | assert outputs[-1]["output"] # Check if there is an output |
| LOW | …ngchain/tests/unit_tests/agents/test_agent_iterator.py | 352 | assert len(outputs) == 2 # Check if the custom stopping condition is respected |
| LOW | …/langchain/tests/unit_tests/storage/test_filesystem.py | 93 | # Check if the deleted key is present |
| LOW | …gchain_classic/callbacks/streaming_aiter_final_only.py | 88 | # Check if the last n tokens match the answer_prefix_tokens list ... |
| LOW | …chain_classic/callbacks/streaming_stdout_final_only.py | 84 | # Check if the last n tokens match the answer_prefix_tokens list ... |
| LOW | …n/langchain_classic/output_parsers/pandas_dataframe.py | 54 | # Check if the format is [1,3,5] |
| LOW | …n/langchain_classic/output_parsers/pandas_dataframe.py | 57 | # Check if the format is [1..5] |
| LOW | …n/langchain_classic/output_parsers/pandas_dataframe.py | 67 | # Check if the format is ["column_name"] |
| LOW | …/langchain_classic/evaluation/comparison/eval_chain.py | 263 | # Check if the model is GPT-4 if not raise a warning |
| LOW | libs/langchain_v1/langchain/agents/factory.py | 1190 | # Check if any requested tools are unknown CLIENT-SIDE tools |
| LOW | …angchain_v1/langchain/agents/middleware/model_retry.py | 238 | # Check if we should retry this exception |
| LOW | …angchain_v1/langchain/agents/middleware/model_retry.py | 243 | # Check if we have more retries left |
| LOW | …angchain_v1/langchain/agents/middleware/model_retry.py | 288 | # Check if we should retry this exception |
| LOW | …angchain_v1/langchain/agents/middleware/model_retry.py | 293 | # Check if we have more retries left |
| LOW | …gchain_v1/langchain/agents/middleware/tool_emulator.py | 126 | # Check if this tool should be emulated |
| LOW | …gchain_v1/langchain/agents/middleware/tool_emulator.py | 178 | # Check if this tool should be emulated |
| LOW | …hain_v1/langchain/agents/middleware/tool_call_limit.py | 422 | # Check if there are tool calls to other tools that would continue executing |
| LOW | …langchain_v1/langchain/agents/middleware/tool_retry.py | 307 | # Check if retry should apply to this tool |
| LOW | …langchain_v1/langchain/agents/middleware/tool_retry.py | 320 | # Check if we should retry this exception |
| LOW | …langchain_v1/langchain/agents/middleware/tool_retry.py | 325 | # Check if we have more retries left |
| LOW | …langchain_v1/langchain/agents/middleware/tool_retry.py | 365 | # Check if retry should apply to this tool |
| LOW | …langchain_v1/langchain/agents/middleware/tool_retry.py | 378 | # Check if we should retry this exception |
| LOW | …langchain_v1/langchain/agents/middleware/tool_retry.py | 383 | # Check if we have more retries left |
| LOW | …ain_v1/langchain/agents/middleware/model_call_limit.py | 189 | # Check if any limits will be exceeded after the next call |
| LOW | libs/langchain_v1/tests/unit_tests/conftest.py | 124 | # Iterate through the list of required packages |
| LOW | …perplexity/tests/integration_tests/test_chat_models.py | 45 | # Check if any chunk has reasoning_steps |
| LOW | libs/partners/qdrant/langchain_qdrant/vectorstores.py | 1715 | # Check if the vector configuration has the same dimensionality. |
| LOW | libs/partners/qdrant/langchain_qdrant/vectorstores.py | 1882 | # Check if the vector configuration has the same dimensionality. |
| LOW | …/partners/anthropic/langchain_anthropic/chat_models.py | 1610 | # Assign citations to a list if present |
| LOW | …opic/langchain_anthropic/middleware/anthropic_tools.py | 418 | # Read file |
| LOW | …opic/langchain_anthropic/middleware/anthropic_tools.py | 468 | # Read file |
| LOW | …opic/langchain_anthropic/middleware/anthropic_tools.py | 543 | # Read file |
| LOW | …opic/langchain_anthropic/middleware/anthropic_tools.py | 876 | # Read file |
| LOW | …opic/langchain_anthropic/middleware/anthropic_tools.py | 913 | # Write file |
| LOW | …opic/langchain_anthropic/middleware/anthropic_tools.py | 940 | # Read file |
| LOW | …opic/langchain_anthropic/middleware/anthropic_tools.py | 977 | # Read file |
| 4 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …s/partners/mistralai/langchain_mistralai/embeddings.py | 68 | export MISTRAL_API_KEY="your-api-key" |
| HIGH | …artners/openrouter/langchain_openrouter/chat_models.py | 101 | export OPENROUTER_API_KEY="your-api-key" |
| HIGH | libs/partners/exa/langchain_exa/tools.py | 29 | export EXA_API_KEY="your-api-key" |
| HIGH | …s/partners/fireworks/langchain_fireworks/embeddings.py | 18 | export FIREWORKS_API_KEY="your-api-key" |
| HIGH | libs/partners/groq/langchain_groq/chat_models.py | 106 | export GROQ_API_KEY="your-api-key" |
| HIGH | …bs/partners/deepseek/langchain_deepseek/chat_models.py | 55 | export DEEPSEEK_API_KEY="your-api-key" |
| HIGH | libs/partners/xai/langchain_xai/chat_models.py | 54 | export XAI_API_KEY="your-api-key" |
| HIGH | …artners/perplexity/langchain_perplexity/chat_models.py | 462 | export PPLX_API_KEY=your_api_key |
| HIGH | …partners/perplexity/langchain_perplexity/embeddings.py | 32 | export PPLX_API_KEY=your_api_key |
| HIGH | …/partners/anthropic/langchain_anthropic/chat_models.py | 889 | # export ANTHROPIC_API_KEY="your-api-key" |
| HIGH | …ners/openai/tests/unit_tests/chat_models/test_azure.py | 201 | api_key=SecretStr("your_api_key"), |
| HIGH | …ners/openai/tests/unit_tests/chat_models/test_azure.py | 221 | api_key=SecretStr("your_api_key"), |
| HIGH | …s/partners/openai/langchain_openai/embeddings/azure.py | 35 | export AZURE_OPENAI_API_KEY="your-api-key" |
| HIGH | …bs/partners/openai/langchain_openai/embeddings/base.py | 94 | export OPENAI_API_KEY="your-api-key" |
| HIGH | …/partners/openai/langchain_openai/chat_models/azure.py | 50 | export AZURE_OPENAI_API_KEY="your-api-key" |
| HIGH | …s/partners/openai/langchain_openai/chat_models/base.py | 2559 | export OPENAI_API_KEY="your-api-key" |
| HIGH | libs/partners/openai/langchain_openai/llms/base.py | 64 | export OPENAI_API_KEY="your-api-key" |
| HIGH | libs/partners/openai/langchain_openai/llms/base.py | 788 | export OPENAI_API_KEY="your-api-key" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | libs/text-splitters/langchain_text_splitters/html.py | 121 | <p>Final thoughts.</p> |
| LOW | …re/langchain_core/language_models/chat_model_stream.py | 881 | # Backfill the wire index onto the finalized block when the |
| LOW | libs/core/langchain_core/tools/convert.py | 361 | return _create_tool_factory(name_or_callable.__name__)(name_or_callable) |
| LOW | libs/core/langchain_core/callbacks/manager.py | 2781 | # If the user is specifying ASYNC callback handlers to be run from a |
| LOW | libs/core/langchain_core/utils/_merge.py | 41 | f'additional_kwargs["{right_k}"] already exists in this message,' |
| LOW | libs/core/langchain_core/runnables/base.py | 1981 | await asyncio.gather(runnable.ainvoke(2), runnable.ainvoke(3)) |
| LOW | …gchain/tests/unit_tests/agents/test_structured_chat.py | 181 | """, # noqa: E501 |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 1 | # import dataclasses |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 21 | # from langchain_core.tools import BaseTool, InjectedToolCallId, ToolException |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 41 | # ) |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 61 | # ) |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 81 | # assert saved.pending_writes == [] |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 101 | # } |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 121 | # agent = create_agent(FakeToolCallingModel(), [], system_prompt=prompt) |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 141 | # async def prompt(state): |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 161 | # assert response == expected_response |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 181 | # model = FakeToolCallingModel() |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 201 | # assert response["messages"][-1].content == "foo-hi" |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 221 | # model = FakeToolCallingModel() |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 241 | # model = FakeToolCallingModel(tool_style=tool_style) |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 261 | # "allowed_tools": [ |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 281 | |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 301 | |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 321 | # expected = (ValueError,) |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 341 | # _infer_handled_types(handler) |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 361 | # """Get the weather""" |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 381 | # "ai", # "What's the weather?" |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 401 | # sync_checkpointer: BaseCheckpointSaver, |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 421 | # system_msg = f"User name is {user_name}" |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 441 | # tool_message: ToolMessage = response["messages"][-2] |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 461 | |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 481 | # ) |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 501 | # assert message_types == [ |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 521 | # def tool1( |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 541 | # store=store, |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 561 | # """A normal tool.""" |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 581 | |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 601 | # model = FakeToolCallingModel(tool_calls=[second_tool_call, []]) |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 621 | # ), |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 641 | # content="Normal result: Test both normal", |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 661 | # assert _get_state_args(foo) == {"a": None, "b": "bar"} |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 681 | # def add(state): |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 701 | |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 721 | # model, |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 741 | # content="6", |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 761 | # [{"args": {"city": "Tokyo"}, "id": "1", "name": "get_weather"}], |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 781 | # stream_mode="messages", |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 801 | # assert "assistant" in str(result["messages"][1]) |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 821 | # for event in compiled_workflow.stream( |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 841 | # def get_weather(city: str) -> str: |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 861 | # """Node that runs the React agent and collects streaming output.""" |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 881 | |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 901 | # {"messages": [("user", "What is the weather in Tokyo?")]}, |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 921 | # assert msg.content.startswith("You are a helpful travel assistant") |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 941 | # ToolCall(name="tool_interrupt", args={"some_val": 0}, id="1"), |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 961 | # "name": "tool_interrupt", |
| LOW | …ngchain_v1/tests/unit_tests/agents/test_react_agent.py | 981 | # assert task.name == "tools" |
| LOW | …tners/groq/tests/integration_tests/test_chat_models.py | 801 | response = llm.invoke([input_message, full, next_message]) |
| LOW | …/partners/anthropic/langchain_anthropic/chat_models.py | 121 | |
| LOW | …/partners/anthropic/langchain_anthropic/chat_models.py | 1861 | ) |
| 20 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …plitters/tests/integration_tests/test_text_splitter.py | 62 | text = "Lorem ipsum" |
| LOW | …plitters/tests/integration_tests/test_text_splitter.py | 78 | text = "lorem ipsum" |
| LOW | …plitters/tests/integration_tests/test_text_splitter.py | 124 | text = "lorem ipsum" |
| LOW | …e/tests/unit_tests/output_parsers/test_openai_tools.py | 1109 | "street": "123 Main St", |
| LOW | …e/tests/unit_tests/output_parsers/test_openai_tools.py | 1125 | assert result_v1[0].address.street == "123 Main St" # type: ignore[attr-defined,unused-ignore] |
| LOW | libs/core/tests/unit_tests/examples/example-utf8.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor |
| LOW | libs/core/tests/unit_tests/examples/example-utf8.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor |
| LOW | …core/tests/unit_tests/indexing/test_hashed_document.py | 9 | uid="123", page_content="Lorem ipsum dolor sit amet", metadata={"key": "value"} |
| LOW | …core/tests/unit_tests/indexing/test_hashed_document.py | 9 | uid="123", page_content="Lorem ipsum dolor sit amet", metadata={"key": "value"} |
| LOW | …core/tests/unit_tests/indexing/test_hashed_document.py | 18 | page_content="Lorem ipsum dolor sit amet", metadata={"key": "value"} |
| LOW | …core/tests/unit_tests/indexing/test_hashed_document.py | 18 | page_content="Lorem ipsum dolor sit amet", metadata={"key": "value"} |
| LOW | …core/tests/unit_tests/indexing/test_hashed_document.py | 23 | assert hashed_doc.page_content == "Lorem ipsum dolor sit amet" |
| LOW | …core/tests/unit_tests/indexing/test_hashed_document.py | 23 | assert hashed_doc.page_content == "Lorem ipsum dolor sit amet" |
| LOW | …core/tests/unit_tests/indexing/test_hashed_document.py | 30 | page_content="Lorem ipsum dolor sit amet", metadata={"key": "value"} |
| LOW | …core/tests/unit_tests/indexing/test_hashed_document.py | 30 | page_content="Lorem ipsum dolor sit amet", metadata={"key": "value"} |
| LOW | …core/tests/unit_tests/indexing/test_hashed_document.py | 61 | page_content="Lorem ipsum dolor sit amet", metadata={"key": "like a duck"} |
| LOW | …core/tests/unit_tests/indexing/test_hashed_document.py | 61 | page_content="Lorem ipsum dolor sit amet", metadata={"key": "like a duck"} |
| LOW | …s/langchain/tests/unit_tests/examples/example-utf8.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor |
| LOW | …s/langchain/tests/unit_tests/examples/example-utf8.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor |
| LOW | …hain/tests/unit_tests/evaluation/qa/test_eval_chain.py | 27 | example = {"query": "What's my name", "answer": "John Doe"} |
| LOW | …hain/tests/unit_tests/evaluation/qa/test_eval_chain.py | 28 | prediction = {"result": "John Doe"} |
| LOW | …hain/tests/unit_tests/evaluation/qa/test_eval_chain.py | 48 | prediction = {"result": "John Doe"} |
| LOW | …s/agents/middleware/implementations/test_shell_tool.py | 128 | assert "user@example.com" not in message |
| LOW | …it_tests/agents/middleware/implementations/test_pii.py | 282 | assert "user@example.com" not in content |
| LOW | …ers/perplexity/tests/unit_tests/test_output_parsers.py | 199 | text = '{"name": "John Doe", "age": 30, "email": "john@example.com"}' |
| LOW | …ers/perplexity/tests/unit_tests/test_output_parsers.py | 203 | assert result.name == "John Doe" |
| LOW | …ers/perplexity/tests/unit_tests/test_output_parsers.py | 213 | object</think>{"name": "John Doe", "age": 30}' |
| LOW | …ers/perplexity/tests/unit_tests/test_output_parsers.py | 217 | assert result.name == "John Doe" |
| LOW | …tegration_tests/qdrant_vector_store/test_from_texts.py | 26 | ["Lorem ipsum dolor sit amet", "Ipsum dolor sit amet"], |
| LOW | …tegration_tests/qdrant_vector_store/test_from_texts.py | 26 | ["Lorem ipsum dolor sit amet", "Ipsum dolor sit amet"], |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …s/core/tests/unit_tests/utils/test_function_calling.py | 419 | def my_function(arg1: NestedV2) -> None: |
| LOW | …s/core/tests/unit_tests/utils/test_function_calling.py | 432 | def my_function(arg1: Nested) -> None: |
| LOW | …s/core/tests/unit_tests/utils/test_function_calling.py | 390 | def my_function(_: str) -> str: |
| LOW | …s/core/tests/unit_tests/utils/test_function_calling.py | 469 | def my_function(arg1: Nested) -> None: |
| LOW | …s/core/tests/unit_tests/utils/test_function_calling.py | 512 | def my_function(my_arg: NestedA | NestedB | NestedC) -> None: |
| LOW | …s/core/tests/unit_tests/utils/test_function_calling.py | 1126 | def my_function(arg1: dict, arg2: dict | None) -> None: |
| LOW | libs/core/tests/unit_tests/runnables/test_runnable.py | 3508 | def my_function(_: Any, **kwargs: Any) -> int: |
| LOW | libs/core/tests/unit_tests/runnables/test_runnable.py | 3518 | def my_function(_: Any, **kwargs: Any) -> int: |
| LOW | …re/tests/unit_tests/runnables/test_tracing_interops.py | 73 | def my_function(a: int) -> int: |
| LOW | …re/tests/unit_tests/runnables/test_tracing_interops.py | 145 | def my_function(a: int) -> int: |
| LOW | …re/tests/unit_tests/runnables/test_tracing_interops.py | 222 | async def my_function(a: int) -> int: |
| LOW | libs/core/langchain_core/_security/_transport.py | 144 | def handle_request( |
| LOW | …hropic/tests/unit_tests/middleware/test_file_search.py | 40 | "content": ["def helper(): pass"], |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | libs/core/langchain_core/runnables/fallbacks.py | 64 | # And you can also use fallbacks at the level of a chain. |
| MEDIUM | libs/core/langchain_core/runnables/base.py | 3031 | Here is a simple example that uses simple functions to illustrate the use of |
| MEDIUM | libs/core/langchain_core/runnables/base.py | 3755 | Here is a simple example that uses functions to illustrate the use of |
| MEDIUM | …sts/unit_tests/examples/test_specs/zapier/apispec.json | 6 | "description": "<img src=\"https://cdn.zappy.app/945f9bf9e44126873952ec5113949c3f.png\" width=\"100\" />\n\n## Hel |
| MEDIUM | libs/langchain/langchain_classic/memory/prompt.py | 5 | You are designed to be able to assist with a wide range of tasks, from answering simple questions to providing in-depth |
| MEDIUM | …langchain_classic/agents/conversational_chat/prompt.py | 3 | Assistant is designed to be able to assist with a wide range of tasks, from answering simple questions to providing in-d |
| MEDIUM | …s/langchain/langchain_classic/agents/json_chat/base.py | 96 | topics. As a language model, Assistant is able to generate human-like text based on |
| MEDIUM | …hain/langchain_classic/agents/conversational/prompt.py | 3 | Assistant is designed to be able to assist with a wide range of tasks, from answering simple questions to providing in-d |
| LOW | libs/partners/ollama/langchain_ollama/chat_models.py | 426 | content="It's been a blast chatting with you! Say goodbye to the world for me, and don't forget to come |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …sts/unit_tests/output_parsers/test_openai_functions.py | 17 | """Test the JSON output function parser is configured with robust defaults.""" |
| LOW | libs/core/langchain_core/tools/base.py | 830 | # If we can't get annotations, just use FILTERED_ARGS |
| LOW | libs/core/langchain_core/utils/mustache.py | 376 | # Then just return the current scope |
| LOW | libs/core/langchain_core/tracers/event_stream.py | 229 | # otherwise just pass through |
| LOW | libs/core/langchain_core/tracers/event_stream.py | 279 | # otherwise just pass through |
| MEDIUM | …sts/unit_tests/examples/test_specs/zapier/apispec.json | 6 | "description": "<img src=\"https://cdn.zappy.app/945f9bf9e44126873952ec5113949c3f.png\" width=\"100\" />\n\n## Hel |
| LOW | …hain/langchain_classic/callbacks/streamlit/__init__.py | 59 | # This is the official handler, so we can just return it. |
| LOW | libs/langchain/langchain_classic/agents/agent.py | 967 | # we just return the full output |
| LOW | …in/langchain_classic/chains/history_aware_retriever.py | 62 | # If no chat history, then we just pass input to retriever |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | libs/core/langchain_core/runnables/base.py | 5596 | |
| MEDIUM | …artners/fireworks/tests/unit_tests/test_chat_models.py | 1414 | |
| MEDIUM | …artners/fireworks/tests/unit_tests/test_chat_models.py | 713 | |
| MEDIUM | …artners/fireworks/tests/unit_tests/test_chat_models.py | 865 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …gchain/tests/unit_tests/chains/test_qa_with_sources.py | 54 | # The following text was generated by gpt-3.5-turbo |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | libs/core/langchain_core/utils/pydantic.py | 107 | # Before we can use issubclass on the cls we need to check if it is a class |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …gchain_classic/chains/conversational_retrieval/base.py | 327 | # Usage: |