perf: use global httpx client instead of per request create new one#34311
Merged
fatelei merged 2 commits intolanggenius:mainfrom Apr 1, 2026
Merged
perf: use global httpx client instead of per request create new one#34311fatelei merged 2 commits intolanggenius:mainfrom
fatelei merged 2 commits intolanggenius:mainfrom
Conversation
Contributor
Pyrefly DiffNo changes detected. |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-03-31 02:35:13.613285762 +0000
+++ /tmp/pyrefly_pr.txt 2026-03-31 02:35:01.968255893 +0000
@@ -4446,15 +4446,15 @@
ERROR Object of class `NoneType` has no attribute `node` [missing-attribute]
--> tests/unit_tests/core/plugin/test_plugin_manager.py:1030:16
ERROR `in` is not supported between `Literal['Rate limit exceeded']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:360:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:374:20
ERROR `in` is not supported between `Literal['Invalid credentials']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:379:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:393:20
ERROR `in` is not supported between `Literal['Invalid parameters']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:398:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:412:20
ERROR `in` is not supported between `Literal['Connection to external service failed']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:417:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:431:20
ERROR `in` is not supported between `Literal['Service temporarily unavailable']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:436:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:450:20
ERROR Argument `list[SystemPromptMessage | UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
--> tests/unit_tests/core/prompt/test_agent_history_prompt_transform.py:59:25
ERROR Argument `list[AssistantPromptMessage | SystemPromptMessage | ToolPromptMessage | UserPromptMessage]` is not assignable to parameter `history_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
|
0005405 to
13ef5ca
Compare
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-03-31 03:10:33.896635565 +0000
+++ /tmp/pyrefly_pr.txt 2026-03-31 03:10:22.916483574 +0000
@@ -4446,15 +4446,15 @@
ERROR Object of class `NoneType` has no attribute `node` [missing-attribute]
--> tests/unit_tests/core/plugin/test_plugin_manager.py:1030:16
ERROR `in` is not supported between `Literal['Rate limit exceeded']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:360:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:374:20
ERROR `in` is not supported between `Literal['Invalid credentials']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:379:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:393:20
ERROR `in` is not supported between `Literal['Invalid parameters']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:398:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:412:20
ERROR `in` is not supported between `Literal['Connection to external service failed']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:417:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:431:20
ERROR `in` is not supported between `Literal['Service temporarily unavailable']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:436:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:450:20
ERROR Argument `list[SystemPromptMessage | UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
--> tests/unit_tests/core/prompt/test_agent_history_prompt_transform.py:59:25
ERROR Argument `list[AssistantPromptMessage | SystemPromptMessage | ToolPromptMessage | UserPromptMessage]` is not assignable to parameter `history_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
|
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-03-31 03:11:40.711321051 +0000
+++ /tmp/pyrefly_pr.txt 2026-03-31 03:11:29.118312481 +0000
@@ -4446,15 +4446,15 @@
ERROR Object of class `NoneType` has no attribute `node` [missing-attribute]
--> tests/unit_tests/core/plugin/test_plugin_manager.py:1030:16
ERROR `in` is not supported between `Literal['Rate limit exceeded']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:360:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:374:20
ERROR `in` is not supported between `Literal['Invalid credentials']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:379:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:393:20
ERROR `in` is not supported between `Literal['Invalid parameters']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:398:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:412:20
ERROR `in` is not supported between `Literal['Connection to external service failed']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:417:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:431:20
ERROR `in` is not supported between `Literal['Service temporarily unavailable']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:436:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:450:20
ERROR Argument `list[SystemPromptMessage | UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
--> tests/unit_tests/core/prompt/test_agent_history_prompt_transform.py:59:25
ERROR Argument `list[AssistantPromptMessage | SystemPromptMessage | ToolPromptMessage | UserPromptMessage]` is not assignable to parameter `history_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
|
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-03-31 03:13:47.534782712 +0000
+++ /tmp/pyrefly_pr.txt 2026-03-31 03:13:36.889830462 +0000
@@ -4446,15 +4446,15 @@
ERROR Object of class `NoneType` has no attribute `node` [missing-attribute]
--> tests/unit_tests/core/plugin/test_plugin_manager.py:1030:16
ERROR `in` is not supported between `Literal['Rate limit exceeded']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:360:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:374:20
ERROR `in` is not supported between `Literal['Invalid credentials']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:379:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:393:20
ERROR `in` is not supported between `Literal['Invalid parameters']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:398:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:412:20
ERROR `in` is not supported between `Literal['Connection to external service failed']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:417:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:431:20
ERROR `in` is not supported between `Literal['Service temporarily unavailable']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:436:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:450:20
ERROR Argument `list[SystemPromptMessage | UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
--> tests/unit_tests/core/prompt/test_agent_history_prompt_transform.py:59:25
ERROR Argument `list[AssistantPromptMessage | SystemPromptMessage | ToolPromptMessage | UserPromptMessage]` is not assignable to parameter `history_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
|
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-03-31 03:54:22.150911655 +0000
+++ /tmp/pyrefly_pr.txt 2026-03-31 03:54:11.769933965 +0000
@@ -4446,15 +4446,15 @@
ERROR Object of class `NoneType` has no attribute `node` [missing-attribute]
--> tests/unit_tests/core/plugin/test_plugin_manager.py:1030:16
ERROR `in` is not supported between `Literal['Rate limit exceeded']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:360:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:374:20
ERROR `in` is not supported between `Literal['Invalid credentials']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:379:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:393:20
ERROR `in` is not supported between `Literal['Invalid parameters']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:398:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:412:20
ERROR `in` is not supported between `Literal['Connection to external service failed']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:417:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:431:20
ERROR `in` is not supported between `Literal['Service temporarily unavailable']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:436:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:450:20
ERROR Argument `list[SystemPromptMessage | UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
--> tests/unit_tests/core/prompt/test_agent_history_prompt_transform.py:59:25
ERROR Argument `list[AssistantPromptMessage | SystemPromptMessage | ToolPromptMessage | UserPromptMessage]` is not assignable to parameter `history_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
|
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-03-31 03:56:20.807209710 +0000
+++ /tmp/pyrefly_pr.txt 2026-03-31 03:56:10.206105713 +0000
@@ -4446,15 +4446,15 @@
ERROR Object of class `NoneType` has no attribute `node` [missing-attribute]
--> tests/unit_tests/core/plugin/test_plugin_manager.py:1030:16
ERROR `in` is not supported between `Literal['Rate limit exceeded']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:360:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:374:20
ERROR `in` is not supported between `Literal['Invalid credentials']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:379:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:393:20
ERROR `in` is not supported between `Literal['Invalid parameters']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:398:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:412:20
ERROR `in` is not supported between `Literal['Connection to external service failed']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:417:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:431:20
ERROR `in` is not supported between `Literal['Service temporarily unavailable']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:436:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:450:20
ERROR Argument `list[SystemPromptMessage | UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
--> tests/unit_tests/core/prompt/test_agent_history_prompt_transform.py:59:25
ERROR Argument `list[AssistantPromptMessage | SystemPromptMessage | ToolPromptMessage | UserPromptMessage]` is not assignable to parameter `history_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
|
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-03-31 04:24:37.869009296 +0000
+++ /tmp/pyrefly_pr.txt 2026-03-31 04:24:27.432093708 +0000
@@ -4446,15 +4446,15 @@
ERROR Object of class `NoneType` has no attribute `node` [missing-attribute]
--> tests/unit_tests/core/plugin/test_plugin_manager.py:1030:16
ERROR `in` is not supported between `Literal['Rate limit exceeded']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:360:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:374:20
ERROR `in` is not supported between `Literal['Invalid credentials']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:379:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:393:20
ERROR `in` is not supported between `Literal['Invalid parameters']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:398:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:412:20
ERROR `in` is not supported between `Literal['Connection to external service failed']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:417:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:431:20
ERROR `in` is not supported between `Literal['Service temporarily unavailable']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:436:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:450:20
ERROR Argument `list[SystemPromptMessage | UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
--> tests/unit_tests/core/prompt/test_agent_history_prompt_transform.py:59:25
ERROR Argument `list[AssistantPromptMessage | SystemPromptMessage | ToolPromptMessage | UserPromptMessage]` is not assignable to parameter `history_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
|
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-03-31 04:26:33.611369398 +0000
+++ /tmp/pyrefly_pr.txt 2026-03-31 04:26:23.412411475 +0000
@@ -4446,15 +4446,15 @@
ERROR Object of class `NoneType` has no attribute `node` [missing-attribute]
--> tests/unit_tests/core/plugin/test_plugin_manager.py:1030:16
ERROR `in` is not supported between `Literal['Rate limit exceeded']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:360:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:374:20
ERROR `in` is not supported between `Literal['Invalid credentials']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:379:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:393:20
ERROR `in` is not supported between `Literal['Invalid parameters']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:398:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:412:20
ERROR `in` is not supported between `Literal['Connection to external service failed']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:417:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:431:20
ERROR `in` is not supported between `Literal['Service temporarily unavailable']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:436:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:450:20
ERROR Argument `list[SystemPromptMessage | UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
--> tests/unit_tests/core/prompt/test_agent_history_prompt_transform.py:59:25
ERROR Argument `list[AssistantPromptMessage | SystemPromptMessage | ToolPromptMessage | UserPromptMessage]` is not assignable to parameter `history_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
|
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-03-31 05:58:13.982104721 +0000
+++ /tmp/pyrefly_pr.txt 2026-03-31 05:58:03.164975809 +0000
@@ -270,9 +270,9 @@
ERROR `None` is not subscriptable [unsupported-operation]
--> core/rag/datasource/vdb/tidb_on_qdrant/tidb_on_qdrant_vector.py:452:38
ERROR `None` is not subscriptable [unsupported-operation]
- --> core/rag/datasource/vdb/tidb_on_qdrant/tidb_service.py:62:20
+ --> core/rag/datasource/vdb/tidb_on_qdrant/tidb_service.py:71:20
ERROR `None` is not subscriptable [unsupported-operation]
- --> core/rag/datasource/vdb/tidb_on_qdrant/tidb_service.py:63:35
+ --> core/rag/datasource/vdb/tidb_on_qdrant/tidb_service.py:72:35
ERROR Class member `UpstashVector.add_texts` overrides parent class `BaseVector` in an inconsistent manner [bad-override]
--> core/rag/datasource/vdb/upstash/upstash_vector.py:47:9
ERROR Class member `VikingDBVector.add_texts` overrides parent class `BaseVector` in an inconsistent manner [bad-override]
@@ -3902,7 +3902,7 @@
ERROR Object of class `NoneType` has no attribute `storage_key` [missing-attribute]
--> tests/unit_tests/core/datasource/test_datasource_manager.py:663:12
ERROR `in` is not supported between `Literal['Single Page']` and `None` [not-iterable]
- --> tests/unit_tests/core/datasource/test_website_crawl.py:989:16
+ --> tests/unit_tests/core/datasource/test_website_crawl.py:992:16
ERROR Argument `Iterator[DatasourceMessage]` is not assignable to parameter `messages` with type `Generator[DatasourceMessage]` in function `core.datasource.utils.message_transformer.DatasourceFileMessageTransformer.transform_datasource_invoke_messages` [bad-argument-type]
--> tests/unit_tests/core/datasource/utils/test_message_transformer.py:27:26
ERROR Object of class `BlobChunkMessage` has no attribute `text`
@@ -4446,15 +4446,15 @@
ERROR Object of class `NoneType` has no attribute `node` [missing-attribute]
--> tests/unit_tests/core/plugin/test_plugin_manager.py:1030:16
ERROR `in` is not supported between `Literal['Rate limit exceeded']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:360:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:374:20
ERROR `in` is not supported between `Literal['Invalid credentials']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:379:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:393:20
ERROR `in` is not supported between `Literal['Invalid parameters']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:398:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:412:20
ERROR `in` is not supported between `Literal['Connection to external service failed']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:417:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:431:20
ERROR `in` is not supported between `Literal['Service temporarily unavailable']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:436:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:450:20
ERROR Argument `list[SystemPromptMessage | UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
--> tests/unit_tests/core/prompt/test_agent_history_prompt_transform.py:59:25
ERROR Argument `list[AssistantPromptMessage | SystemPromptMessage | ToolPromptMessage | UserPromptMessage]` is not assignable to parameter `history_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
|
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-03-31 06:00:21.794475239 +0000
+++ /tmp/pyrefly_pr.txt 2026-03-31 06:00:09.928435695 +0000
@@ -270,9 +270,9 @@
ERROR `None` is not subscriptable [unsupported-operation]
--> core/rag/datasource/vdb/tidb_on_qdrant/tidb_on_qdrant_vector.py:452:38
ERROR `None` is not subscriptable [unsupported-operation]
- --> core/rag/datasource/vdb/tidb_on_qdrant/tidb_service.py:62:20
+ --> core/rag/datasource/vdb/tidb_on_qdrant/tidb_service.py:71:20
ERROR `None` is not subscriptable [unsupported-operation]
- --> core/rag/datasource/vdb/tidb_on_qdrant/tidb_service.py:63:35
+ --> core/rag/datasource/vdb/tidb_on_qdrant/tidb_service.py:72:35
ERROR Class member `UpstashVector.add_texts` overrides parent class `BaseVector` in an inconsistent manner [bad-override]
--> core/rag/datasource/vdb/upstash/upstash_vector.py:47:9
ERROR Class member `VikingDBVector.add_texts` overrides parent class `BaseVector` in an inconsistent manner [bad-override]
@@ -3902,7 +3902,7 @@
ERROR Object of class `NoneType` has no attribute `storage_key` [missing-attribute]
--> tests/unit_tests/core/datasource/test_datasource_manager.py:663:12
ERROR `in` is not supported between `Literal['Single Page']` and `None` [not-iterable]
- --> tests/unit_tests/core/datasource/test_website_crawl.py:989:16
+ --> tests/unit_tests/core/datasource/test_website_crawl.py:992:16
ERROR Argument `Iterator[DatasourceMessage]` is not assignable to parameter `messages` with type `Generator[DatasourceMessage]` in function `core.datasource.utils.message_transformer.DatasourceFileMessageTransformer.transform_datasource_invoke_messages` [bad-argument-type]
--> tests/unit_tests/core/datasource/utils/test_message_transformer.py:27:26
ERROR Object of class `BlobChunkMessage` has no attribute `text`
@@ -4446,15 +4446,15 @@
ERROR Object of class `NoneType` has no attribute `node` [missing-attribute]
--> tests/unit_tests/core/plugin/test_plugin_manager.py:1030:16
ERROR `in` is not supported between `Literal['Rate limit exceeded']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:360:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:374:20
ERROR `in` is not supported between `Literal['Invalid credentials']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:379:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:393:20
ERROR `in` is not supported between `Literal['Invalid parameters']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:398:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:412:20
ERROR `in` is not supported between `Literal['Connection to external service failed']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:417:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:431:20
ERROR `in` is not supported between `Literal['Service temporarily unavailable']` and `None` [not-iterable]
- --> tests/unit_tests/core/plugin/test_plugin_runtime.py:436:20
+ --> tests/unit_tests/core/plugin/test_plugin_runtime.py:450:20
ERROR Argument `list[SystemPromptMessage | UserPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
--> tests/unit_tests/core/prompt/test_agent_history_prompt_transform.py:59:25
ERROR Argument `list[AssistantPromptMessage | SystemPromptMessage | ToolPromptMessage | UserPromptMessage]` is not assignable to parameter `history_messages` with type `list[PromptMessage]` in function `core.prompt.agent_history_prompt_transform.AgentHistoryPromptTransform.__init__` [bad-argument-type]
|
QuantumGhost
approved these changes
Apr 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Fixes #<issue number>.Summary
fix #34309
Screenshots
Checklist
make lintandmake type-check(backend) andcd web && npx lint-staged(frontend) to appease the lint gods