chore: add Type to test#35942
Merged
Merged
Conversation
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-05-08 15:40:27.937879443 +0000
+++ /tmp/pyrefly_pr.txt 2026-05-08 15:40:15.346781393 +0000
@@ -609,9 +609,9 @@
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -644,6 +644,10 @@
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
+ERROR Could not find name `pytest` [unknown-name]
+ --> tests/integration_tests/workflow/nodes/test_tool.py:74:44
+ERROR Could not find name `pytest` [unknown-name]
+ --> tests/integration_tests/workflow/nodes/test_tool.py:109:41
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -851,31 +855,19 @@
ERROR Argument `dict[str, AppMode | str]` is not assignable to parameter `args` with type `AdvancedPromptTemplateArgs` in function `services.advanced_prompt_template_service.AdvancedPromptTemplateService.get_prompt` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_advanced_prompt_template_service.py:894:63
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:134:38
+ --> tests/test_containers_integration_tests/services/test_agent_service.py:135:38
ERROR `str` is not assignable to attribute `agent_mode` with type `Never` [bad-assignment]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:138:47
+ --> tests/test_containers_integration_tests/services/test_agent_service.py:139:47
ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:249:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:275:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:564:29
+ --> tests/test_containers_integration_tests/services/test_agent_service.py:276:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:565:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:799:29
+ --> tests/test_containers_integration_tests/services/test_agent_service.py:566:24
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:800:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:894:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:963:29
+ --> tests/test_containers_integration_tests/services/test_agent_service.py:801:24
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:964:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:1004:29
+ --> tests/test_containers_integration_tests/services/test_agent_service.py:965:24
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:1005:24
+ --> tests/test_containers_integration_tests/services/test_agent_service.py:1006:24
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_annotation_service.py:102:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -1042,8 +1034,8 @@
--> tests/test_containers_integration_tests/services/test_app_service.py:1282:41
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_app_service.py:1296:41
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_conversation_service.py:44:18
+ERROR __future__ imports must be at the top of the file [invalid-syntax]
+ --> tests/test_containers_integration_tests/services/test_conversation_service.py:2:1
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_conversation_service_variables.py:47:18
ERROR Object of class `NoneType` has no attribute `quota_used` [missing-attribute]
@@ -1086,8 +1078,8 @@
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:156:29
ERROR Argument `Literal['knowledge']` is not assignable to parameter `type` with type `SQLCoreOperations[TagType] | TagType` in function `models.model.Tag.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:179:18
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_end_user_service.py:38:18
+ERROR __future__ imports must be at the top of the file [invalid-syntax]
+ --> tests/test_containers_integration_tests/services/test_end_user_service.py:2:1
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_file_service.py:69:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
@@ -1658,10 +1650,6 @@
--> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:76:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:85:20
-ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:124:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:129:53
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
--> tests/test_containers_integration_tests/tasks/test_deal_dataset_vector_index_task.py:229:16
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
@@ -2019,13 +2007,13 @@
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:657:29
+ --> tests/unit_tests/controllers/console/test_admin.py:658:29
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:658:34
+ --> tests/unit_tests/controllers/console/test_admin.py:659:34
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:659:39
+ --> tests/unit_tests/controllers/console/test_admin.py:660:39
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:660:42
+ --> tests/unit_tests/controllers/console/test_admin.py:661:42
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
--> tests/unit_tests/controllers/console/test_extension.py:14:5
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
@@ -2319,293 +2307,293 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `end_user` with type `EndUser` in function `controllers.web.workflow_events.WorkflowEventsApi.get` [bad-argument-type]
--> tests/unit_tests/controllers/web/test_workflow_events.py:125:65
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:67:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:23
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:69:23
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:72:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:73:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:77:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:78:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:83:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:84:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:89:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:90:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:99:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:100:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:105:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:106:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:111:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:112:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:118:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:119:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:127:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:128:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:132:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:133:71
ERROR `in` is not supported between `Literal['{"foo": "bar"']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:134:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:135:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:145:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:146:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:156:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:157:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:166:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:167:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:171:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:172:71
ERROR `in` is not supported between `Literal['```json {"a":1}']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:173:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:174:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:190:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:191:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:199:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:200:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:209:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:210:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:220:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:221:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:225:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:38
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:227:38
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:246:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:247:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:248:25
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:249:25
ERROR Cannot instantiate `BaseAgentStrategy` because the following members are abstract: `_invoke` [bad-instantiation]
--> tests/unit_tests/core/agent/strategy/test_base.py:46:30
ERROR Argument `None` is not assignable to parameter `user_id` with type `str` in function `core.agent.strategy.base.BaseAgentStrategy.invoke` [bad-argument-type]
--> tests/unit_tests/core/agent/strategy/test_base.py:154:58
ERROR `None` is not assignable to attribute `agent_callback` with type `DifyAgentCallbackHandler` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:79:29
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:80:29
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:284:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:287:31
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:292:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:295:31
ERROR `list[DummyTool]` is not assignable to attribute `_prompt_messages_tools` with type `Sequence[PromptMessageTool]` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:48:37
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:49:37
ERROR `DummyGenerateEntity` is not assignable to attribute `application_generate_entity` with type `AgentChatAppGenerateEntity` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:52:42
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:53:42
ERROR `in` is not supported between `Literal['History']` and `None` [not-iterable]
- --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:166:16
-ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:167:16
-ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:168:16
-ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:169:16
-ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:170:16
-ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:171:16
+ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:172:16
ERROR `Literal[0]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:29:26
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:26
ERROR `Literal[0]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:30
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:30
ERROR `Literal[0]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:25
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:32:25
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:310:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:311:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:330:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:331:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:346:46
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:347:46
ERROR Missing argument `description` in function `core.agent.plugin_entities.AgentStrategyEntity.__init__` [missing-argument]
- --> tests/unit_tests/core/agent/test_plugin_entities.py:280:32
+ --> tests/unit_tests/core/agent/test_plugin_entities.py:281:32
ERROR Invalid key for TypedDict `AppParametersDict`, got `Unknown` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:69:23
ERROR Invalid key for TypedDict `AppParametersDict`, got `str` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:132:27
ERROR Argument `dict[str, dict[str, str]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.agent.manager.AgentConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:27:45
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:28:45
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:72:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:73:16
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:85:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:86:16
ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:160:16
-ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:161:16
-ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:171:16
ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:162:16
+ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:172:16
+ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:173:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:204:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:205:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:212:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:213:16
ERROR Argument `dict[str, dict[str, dict[str, list[Unknown]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:52:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:53:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:67:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:68:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, str] | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:108:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:110:16
-ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:122:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:111:16
+ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:124:16
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:125:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:126:16
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:134:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:135:47
ERROR Argument `dict[str, Unknown | None]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:140:42
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:141:42
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:149:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:151:16
-ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:168:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:152:16
+ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:170:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:171:16
ERROR Argument `dict[str, dict[str, str | dict[str, list[Unknown] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:188:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:189:47
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:198:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:200:16
ERROR Missing required key `opening_statement` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions_after_answer` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `speech_to_text` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `text_to_speech` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `retriever_resource` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `annotation_reply` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `more_like_this` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `sensitive_word_avoidance` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `external_data_tools` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `model` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `user_input_form` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `dataset_query_variable` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `pre_prompt` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `agent_mode` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `prompt_type` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `chat_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `completion_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `dataset_configs` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `file_upload` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Argument `dict[str, dict[str, str | dict[str, float]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.model_config.manager.ModelConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:75:45
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:76:45
ERROR Missing required key `opening_statement` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `suggested_questions` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `suggested_questions_after_answer` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `speech_to_text` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `text_to_speech` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `retriever_resource` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `annotation_reply` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `more_like_this` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `sensitive_word_avoidance` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `external_data_tools` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `model` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `user_input_form` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `dataset_query_variable` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `pre_prompt` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `agent_mode` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `prompt_type` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `chat_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `completion_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `dataset_configs` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `file_upload` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Argument `dict[str, str]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:54:54
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:55:54
ERROR Argument `dict[str, str | dict[str, list[dict[str, str]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:89:54
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:90:54
ERROR Argument `dict[str, str | dict[str, list[Unknown]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:115:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:116:49
ERROR Argument `dict[str, str | dict[str, dict[str, str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:143:54
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:144:54
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:171:78
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:172:78
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:192:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:193:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:204:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:205:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:216:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:217:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:229:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:230:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:241:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:242:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:253:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:254:67
ERROR Argument `Literal['chat']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:270:76
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:271:76
ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:13:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:14:67
ERROR Argument `dict[str, list[dict[str, bool | str | dict[str, str]] | dict[str, bool]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:31:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:32:67
ERROR Argument `dict[str, list[dict[VariableEntityType, dict[str, bool | int | str]] | dict[VariableEntityType, dict[str, list[str] | str]] | dict[VariableEntityType, dict[str, str | dict[str, int]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:67:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:68:67
ERROR Argument `dict[str, list[dict[VariableEntityType, dict[str, str]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:84:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:85:67
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:124:70
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:125:70
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:144:67
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:145:67
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:155:69
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:156:69
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:175:71
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:176:71
ERROR Cannot index into `RagPipelineVariableEntity` [bad-index]
- --> tests/unit_tests/core/app/app_config/workflow_ui_based_app/test_workflow_ui_based_app_manager.py:140:16
+ --> tests/unit_tests/core/app/app_config/workflow_ui_based_app/test_workflow_ui_based_app_manager.py:141:16
ERROR Cannot index into `RagPipelineVariableEntity` [bad-index]
- --> tests/unit_tests/core/app/app_config/workflow_ui_based_app/test_workflow_ui_based_app_manager.py:165:16
+ --> tests/unit_tests/core/app/app_config/workflow_ui_based_app/test_workflow_ui_based_app_manager.py:166:16
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_config_manager.AdvancedChatAppConfigManager.get_app_config` [bad-argument-type]
--> tests/unit_tests/core/app/apps/advanced_chat/test_app_config_manager.py:23:70
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced_chat.app_config_manager.AdvancedChatAppConfigManager.get_app_config` [bad-argument-type]
@@ -2881,7 +2869,7 @@
ERROR `(**kwargs: Unknown) -> Literal['failed']` is not assignable to attribute `workflow_node_finish_to_stream_response` with type `(self: WorkflowResponseConverter, *, event: QueueNodeExceptionEvent | QueueNodeFailedEvent | QueueNodeSucceededEvent, task_id: str) -> NodeFinishStreamResponse | None` [bad-assignment]
--> tests/unit_tests/core/app/apps/advanced_chat/test_generate_task_pipeline_core.py:647:89
ERROR Argument `dict[str, dict[str, str]]` is not assignable to parameter `override_config_dict` with type `AppModelConfigDict | None` in function `core.app.apps.agent_chat.app_config_manager.AgentChatAppConfigManager.get_app_config` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/agent_chat/test_agent_chat_app_config_manager.py:40:34
+ --> tests/unit_tests/core/app/apps/agent_chat/test_agent_chat_app_config_manager.py:41:34
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/agent_chat/test_agent_chat_generate_response_converter.py:158:16
ERROR Cannot index into `str` [bad-index]
@@ -2973,13 +2961,13 @@
ERROR Object of class `NoneType` has no attribute `data` [missing-attribute]
--> tests/unit_tests/core/app/apps/common/test_workflow_response_converter_truncation.py:588:16
ERROR Argument `dict[str, dict[str, str]]` is not assignable to parameter `override_config_dict` with type `AppModelConfigDict | None` in function `core.app.apps.completion.app_config_manager.CompletionAppConfigManager.get_app_config` [bad-argument-type]
- --> tests/unit_tests/core/app/apps/completion/test_completion_app_config_manager.py:29:34
+ --> tests/unit_tests/core/app/apps/completion/test_completion_app_config_manager.py:30:34
ERROR Object of class `FunctionType` has no attribute `assert_not_called` [missing-attribute]
- --> tests/unit_tests/core/app/apps/completion/test_completion_completion_app_generator.py:100:9
+ --> tests/unit_tests/core/app/apps/completion/test_completion_completion_app_generator.py:101:9
ERROR Object of class `FunctionType` has no attribute `assert_called_once` [missing-attribute]
- --> tests/unit_tests/core/app/apps/completion/test_completion_completion_app_generator.py:132:9
+ --> tests/unit_tests/core/app/apps/completion/test_completion_completion_app_generator.py:133:9
ERROR Key `msg` is not defined in TypedDict `InitErrorDetails` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/apps/completion/test_completion_completion_app_generator.py:292:57
+ --> tests/unit_tests/core/app/apps/completion/test_completion_completion_app_generator.py:293:57
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/completion/test_completion_generate_response_converter.py:124:16
ERROR Cannot index into `str` [bad-index]
@@ -3009,17 +2997,17 @@
ERROR Cannot index into `str` [bad-index]
--> tests/unit_tests/core/app/apps/pipeline/test_pipeline_generate_response_converter.py:111:12
ERROR Class `PipelineRunner` has no class attribute `call_args` [missing-attribute]
- --> tests/uni\n\n... (truncated) ... |
Contributor
Pyrefly Type Coverage
|
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-05-08 15:42:31.357980623 +0000
+++ /tmp/pyrefly_pr.txt 2026-05-08 15:42:21.093935806 +0000
@@ -609,9 +609,9 @@
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -644,6 +644,10 @@
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
+ERROR Could not find name `pytest` [unknown-name]
+ --> tests/integration_tests/workflow/nodes/test_tool.py:74:44
+ERROR Could not find name `pytest` [unknown-name]
+ --> tests/integration_tests/workflow/nodes/test_tool.py:109:41
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -855,25 +859,13 @@
ERROR `str` is not assignable to attribute `agent_mode` with type `Never` [bad-assignment]
--> tests/test_containers_integration_tests/services/test_agent_service.py:138:47
ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:249:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:275:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:564:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:565:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:799:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:800:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:894:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:963:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:964:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:1004:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:1005:24
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -911,15 +903,15 @@
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_app_dsl_service.py:161:42
ERROR Argument `Literal['simple']` is not assignable to parameter `prompt_type` with type `PromptType | SQLCoreOperations[PromptType]` in function `models.model.AppModelConfig.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:902:25
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:920:25
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:925:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:943:20
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:960:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:978:20
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1001:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1019:20
ERROR Argument `list[SimpleNamespace]` is not assignable to parameter `dsl_dependencies` with type `list[PluginDependency]` in function `services.app_dsl_service.AppDslService.get_leaked_dependencies` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1287:73
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1305:73
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_app_generate_service.py:184:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -1043,8 +1035,6 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_app_service.py:1296:41
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_conversation_service.py:44:18
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_conversation_service_variables.py:47:18
ERROR Object of class `NoneType` has no attribute `quota_used` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_credit_pool_service.py:91:16
@@ -1086,8 +1076,6 @@
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:156:29
ERROR Argument `Literal['knowledge']` is not assignable to parameter `type` with type `SQLCoreOperations[TagType] | TagType` in function `models.model.Tag.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:179:18
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_end_user_service.py:38:18
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_file_service.py:69:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
@@ -1658,10 +1646,6 @@
--> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:76:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:85:20
-ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:124:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:129:53
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
--> tests/test_containers_integration_tests/tasks/test_deal_dataset_vector_index_task.py:229:16
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
@@ -2019,13 +2003,13 @@
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:657:29
+ --> tests/unit_tests/controllers/console/test_admin.py:660:29
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:658:34
+ --> tests/unit_tests/controllers/console/test_admin.py:661:34
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:659:39
+ --> tests/unit_tests/controllers/console/test_admin.py:662:39
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:660:42
+ --> tests/unit_tests/controllers/console/test_admin.py:663:42
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
--> tests/unit_tests/controllers/console/test_extension.py:14:5
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
@@ -2111,25 +2095,25 @@
ERROR Missing argument `user_model` in function `protected_view` [missing-argument]
--> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:244:35
ERROR Missing argument `tenant_model` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:266:44
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:268:44
ERROR Missing argument `user_model` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:266:44
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:268:44
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:294:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:296:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:300:36
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:302:36
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:309:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:311:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:316:31
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:318:31
ERROR Argument `type[TestPluginData.test_should_raise_error_on_invalid_payload.InvalidPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:327:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:329:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:334:31
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:336:31
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:342:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:348:36
ERROR Cannot index into `Iterable[bytes]` [bad-index]
--> tests/unit_tests/controllers/service_api/app/test_audio.py:190:16
ERROR Cannot index into `Response` [bad-index]
@@ -2319,293 +2303,293 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `end_user` with type `EndUser` in function `controllers.web.workflow_events.WorkflowEventsApi.get` [bad-argument-type]
--> tests/unit_tests/controllers/web/test_workflow_events.py:125:65
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:67:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:23
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:69:23
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:72:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:73:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:77:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:78:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:83:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:84:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:89:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:90:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:99:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:100:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:105:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:106:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:111:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:112:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:118:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:119:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:127:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:128:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:132:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:133:71
ERROR `in` is not supported between `Literal['{"foo": "bar"']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:134:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:135:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:145:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:146:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:156:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:157:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:166:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:167:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:171:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:172:71
ERROR `in` is not supported between `Literal['```json {"a":1}']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:173:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:174:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:190:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:191:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:199:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:200:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:209:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:210:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:220:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:221:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:225:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:38
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:227:38
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:246:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:247:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:248:25
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:249:25
ERROR Cannot instantiate `BaseAgentStrategy` because the following members are abstract: `_invoke` [bad-instantiation]
--> tests/unit_tests/core/agent/strategy/test_base.py:46:30
ERROR Argument `None` is not assignable to parameter `user_id` with type `str` in function `core.agent.strategy.base.BaseAgentStrategy.invoke` [bad-argument-type]
--> tests/unit_tests/core/agent/strategy/test_base.py:154:58
ERROR `None` is not assignable to attribute `agent_callback` with type `DifyAgentCallbackHandler` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:79:29
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:80:29
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:284:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:287:31
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:292:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:295:31
ERROR `list[DummyTool]` is not assignable to attribute `_prompt_messages_tools` with type `Sequence[PromptMessageTool]` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:48:37
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:49:37
ERROR `DummyGenerateEntity` is not assignable to attribute `application_generate_entity` with type `AgentChatAppGenerateEntity` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:52:42
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:53:42
ERROR `in` is not supported between `Literal['History']` and `None` [not-iterable]
- --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:166:16
-ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:167:16
-ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:168:16
-ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:169:16
-ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:170:16
-ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:171:16
+ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:172:16
ERROR `Literal[0]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:29:26
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:26
ERROR `Literal[0]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:30
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:30
ERROR `Literal[0]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:25
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:32:25
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:310:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:311:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:330:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:331:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:346:46
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:347:46
ERROR Missing argument `description` in function `core.agent.plugin_entities.AgentStrategyEntity.__init__` [missing-argument]
- --> tests/unit_tests/core/agent/test_plugin_entities.py:280:32
+ --> tests/unit_tests/core/agent/test_plugin_entities.py:281:32
ERROR Invalid key for TypedDict `AppParametersDict`, got `Unknown` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:69:23
ERROR Invalid key for TypedDict `AppParametersDict`, got `str` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:132:27
ERROR Argument `dict[str, dict[str, str]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.agent.manager.AgentConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:27:45
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:28:45
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:72:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:73:16
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:85:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:86:16
ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:160:16
-ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:161:16
-ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:171:16
ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:162:16
+ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:172:16
+ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:173:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:204:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:205:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:212:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:213:16
ERROR Argument `dict[str, dict[str, dict[str, list[Unknown]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:52:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:53:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:67:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:68:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, str] | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:108:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:110:16
-ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:122:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:111:16
+ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:124:16
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:125:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:126:16
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:134:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:135:47
ERROR Argument `dict[str, Unknown | None]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:140:42
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:141:42
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:149:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:151:16
-ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:168:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:152:16
+ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:170:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:171:16
ERROR Argument `dict[str, dict[str, str | dict[str, list[Unknown] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:188:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:189:47
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:198:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:200:16
ERROR Missing required key `opening_statement` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions_after_answer` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `speech_to_text` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `text_to_speech` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `retriever_resource` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `annotation_reply` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `more_like_this` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `sensitive_word_avoidance` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `external_data_tools` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `model` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `user_input_form` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `dataset_query_variable` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `pre_prompt` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `agent_mode` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `prompt_type` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `chat_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `completion_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `dataset_configs` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `file_upload` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Argument `dict[str, dict[str, str | dict[str, float]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.model_config.manager.ModelConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:75:45
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:76:45
ERROR Missing required key `opening_statement` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `suggested_questions` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `suggested_questions_after_answer` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `speech_to_text` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `text_to_speech` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `retriever_resource` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `annotation_reply` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `more_like_this` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `sensitive_word_avoidance` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `external_data_tools` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `model` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `user_input_form` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `dataset_query_variable` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `pre_prompt` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `agent_mode` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `prompt_type` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `chat_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `completion_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `dataset_configs` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `file_upload` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Argument `dict[str, str]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:54:54
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:55:54
ERROR Argument `dict[str, str | dict[str, list[dict[str, str]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:89:54
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:90:54
ERROR Argument `dict[str, str | dict[str, list[Unknown]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:115:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:116:49
ERROR Argument `dict[str, str | dict[str, dict[str, str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:143:54
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:144:54
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:171:78
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:172:78
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:192:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:193:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:204:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:205:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:216:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:217:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:229:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:230:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:241:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:242:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:253:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:254:67
ERROR Argument `Literal['chat']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:270:76
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:271:76
ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:13:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:14:67
ERROR Argument `dict[str, list[dict[str, bool | str | dict[str, str]] | dict[str, bool]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:31:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:32:67
ERROR Argument `dict[str, list[dict[VariableEntityType, dict[str, bool | int | str]] | dict[VariableEntityType, dict[str, list[str] | str]] | dict[VariableEntityType, dict[str, str | dict[str, int]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:67:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:68:67
ERROR Argument `dict[str, list[dict[VariableEntityType, dict[str, str]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:84:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:85:67
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:124:70
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:125:70
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:144:67
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:145:67
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:155:69
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:156:69
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:175:71
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:178:71
ERROR Cannot index into `RagPipelineVariableEntity` [bad-i\n\n... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-05-08 15:43:51.283770852 +0000
+++ /tmp/pyrefly_pr.txt 2026-05-08 15:43:38.981651111 +0000
@@ -609,9 +609,9 @@
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -644,6 +644,10 @@
--> tests/integration_tests/workflow/nodes/test_http.py:732:35
ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
--> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
+ERROR Could not find name `pytest` [unknown-name]
+ --> tests/integration_tests/workflow/nodes/test_tool.py:74:44
+ERROR Could not find name `pytest` [unknown-name]
+ --> tests/integration_tests/workflow/nodes/test_tool.py:109:41
ERROR `dict[str, str | None]` is not assignable to attribute `env` with type `dict[str, str]` [bad-assignment]
--> tests/test_containers_integration_tests/conftest.py:204:39
ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
@@ -855,25 +859,13 @@
ERROR `str` is not assignable to attribute `agent_mode` with type `Never` [bad-assignment]
--> tests/test_containers_integration_tests/services/test_agent_service.py:138:47
ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:249:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:275:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:564:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:565:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:799:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:800:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:894:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:963:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:964:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:1004:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:1005:24
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -911,15 +903,15 @@
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_app_dsl_service.py:161:42
ERROR Argument `Literal['simple']` is not assignable to parameter `prompt_type` with type `PromptType | SQLCoreOperations[PromptType]` in function `models.model.AppModelConfig.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:902:25
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:920:25
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:925:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:943:20
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:960:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:978:20
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1001:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1019:20
ERROR Argument `list[SimpleNamespace]` is not assignable to parameter `dsl_dependencies` with type `list[PluginDependency]` in function `services.app_dsl_service.AppDslService.get_leaked_dependencies` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1287:73
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1305:73
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_app_generate_service.py:184:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -1043,8 +1035,6 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_app_service.py:1296:41
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_conversation_service.py:44:18
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_conversation_service_variables.py:47:18
ERROR Object of class `NoneType` has no attribute `quota_used` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_credit_pool_service.py:91:16
@@ -1086,8 +1076,6 @@
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:156:29
ERROR Argument `Literal['knowledge']` is not assignable to parameter `type` with type `SQLCoreOperations[TagType] | TagType` in function `models.model.Tag.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:179:18
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_end_user_service.py:38:18
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_file_service.py:69:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
@@ -1658,10 +1646,6 @@
--> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:76:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:85:20
-ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:124:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:129:53
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
--> tests/test_containers_integration_tests/tasks/test_deal_dataset_vector_index_task.py:229:16
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
@@ -2019,13 +2003,13 @@
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:657:29
+ --> tests/unit_tests/controllers/console/test_admin.py:660:29
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:658:34
+ --> tests/unit_tests/controllers/console/test_admin.py:661:34
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:659:39
+ --> tests/unit_tests/controllers/console/test_admin.py:662:39
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:660:42
+ --> tests/unit_tests/controllers/console/test_admin.py:663:42
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
--> tests/unit_tests/controllers/console/test_extension.py:14:5
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
@@ -2111,25 +2095,25 @@
ERROR Missing argument `user_model` in function `protected_view` [missing-argument]
--> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:244:35
ERROR Missing argument `tenant_model` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:266:44
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:268:44
ERROR Missing argument `user_model` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:266:44
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:268:44
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:294:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:296:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:300:36
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:302:36
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:309:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:311:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:316:31
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:318:31
ERROR Argument `type[TestPluginData.test_should_raise_error_on_invalid_payload.InvalidPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:327:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:329:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:334:31
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:336:31
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:342:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:348:36
ERROR Cannot index into `Iterable[bytes]` [bad-index]
--> tests/unit_tests/controllers/service_api/app/test_audio.py:190:16
ERROR Cannot index into `Response` [bad-index]
@@ -2319,293 +2303,293 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `end_user` with type `EndUser` in function `controllers.web.workflow_events.WorkflowEventsApi.get` [bad-argument-type]
--> tests/unit_tests/controllers/web/test_workflow_events.py:125:65
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:67:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:23
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:69:23
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:72:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:73:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:77:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:78:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:83:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:84:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:89:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:90:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:99:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:100:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:105:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:106:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:111:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:112:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:118:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:119:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:127:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:128:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:132:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:133:71
ERROR `in` is not supported between `Literal['{"foo": "bar"']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:134:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:135:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:145:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:146:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:156:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:157:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:166:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:167:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:171:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:172:71
ERROR `in` is not supported between `Literal['```json {"a":1}']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:173:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:174:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:190:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:191:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:199:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:200:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:209:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:210:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:220:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:221:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:225:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:38
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:227:38
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:246:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:247:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:248:25
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:249:25
ERROR Cannot instantiate `BaseAgentStrategy` because the following members are abstract: `_invoke` [bad-instantiation]
--> tests/unit_tests/core/agent/strategy/test_base.py:46:30
ERROR Argument `None` is not assignable to parameter `user_id` with type `str` in function `core.agent.strategy.base.BaseAgentStrategy.invoke` [bad-argument-type]
--> tests/unit_tests/core/agent/strategy/test_base.py:154:58
ERROR `None` is not assignable to attribute `agent_callback` with type `DifyAgentCallbackHandler` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:79:29
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:80:29
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:284:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:287:31
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:292:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:295:31
ERROR `list[DummyTool]` is not assignable to attribute `_prompt_messages_tools` with type `Sequence[PromptMessageTool]` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:48:37
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:49:37
ERROR `DummyGenerateEntity` is not assignable to attribute `application_generate_entity` with type `AgentChatAppGenerateEntity` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:52:42
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:53:42
ERROR `in` is not supported between `Literal['History']` and `None` [not-iterable]
- --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:166:16
-ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:167:16
-ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:168:16
-ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:169:16
-ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:170:16
-ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:171:16
+ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:172:16
ERROR `Literal[0]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:29:26
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:26
ERROR `Literal[0]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:30
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:30
ERROR `Literal[0]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:25
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:32:25
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:310:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:311:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:330:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:331:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:346:46
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:347:46
ERROR Missing argument `description` in function `core.agent.plugin_entities.AgentStrategyEntity.__init__` [missing-argument]
- --> tests/unit_tests/core/agent/test_plugin_entities.py:280:32
+ --> tests/unit_tests/core/agent/test_plugin_entities.py:281:32
ERROR Invalid key for TypedDict `AppParametersDict`, got `Unknown` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:69:23
ERROR Invalid key for TypedDict `AppParametersDict`, got `str` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:132:27
ERROR Argument `dict[str, dict[str, str]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.agent.manager.AgentConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:27:45
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:28:45
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:72:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:73:16
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:85:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:86:16
ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:160:16
-ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:161:16
-ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:171:16
ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:162:16
+ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:172:16
+ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:173:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:204:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:205:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:212:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:213:16
ERROR Argument `dict[str, dict[str, dict[str, list[Unknown]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:52:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:53:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:67:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:68:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, str] | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:108:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:110:16
-ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:122:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:111:16
+ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:124:16
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:125:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:126:16
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:134:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:135:47
ERROR Argument `dict[str, Unknown | None]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:140:42
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:141:42
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:149:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:151:16
-ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:168:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:152:16
+ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:170:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:171:16
ERROR Argument `dict[str, dict[str, str | dict[str, list[Unknown] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:188:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:189:47
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:198:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:200:16
ERROR Missing required key `opening_statement` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions_after_answer` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `speech_to_text` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `text_to_speech` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `retriever_resource` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `annotation_reply` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `more_like_this` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `sensitive_word_avoidance` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `external_data_tools` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `model` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `user_input_form` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `dataset_query_variable` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `pre_prompt` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `agent_mode` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `prompt_type` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `chat_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `completion_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `dataset_configs` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `file_upload` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Argument `dict[str, dict[str, str | dict[str, float]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.model_config.manager.ModelConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:75:45
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:76:45
ERROR Missing required key `opening_statement` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `suggested_questions` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `suggested_questions_after_answer` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `speech_to_text` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `text_to_speech` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `retriever_resource` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `annotation_reply` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `more_like_this` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `sensitive_word_avoidance` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `external_data_tools` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `model` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `user_input_form` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `dataset_query_variable` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `pre_prompt` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `agent_mode` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `prompt_type` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `chat_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `completion_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `dataset_configs` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `file_upload` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Argument `dict[str, str]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:54:54
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:55:54
ERROR Argument `dict[str, str | dict[str, list[dict[str, str]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:89:54
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:90:54
ERROR Argument `dict[str, str | dict[str, list[Unknown]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:115:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:116:49
ERROR Argument `dict[str, str | dict[str, dict[str, str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:143:54
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:144:54
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:171:78
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:172:78
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:192:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:193:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:204:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:205:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:216:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:217:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:229:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:230:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:241:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:242:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:253:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:254:67
ERROR Argument `Literal['chat']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:270:76
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:271:76
ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:13:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:14:67
ERROR Argument `dict[str, list[dict[str, bool | str | dict[str, str]] | dict[str, bool]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:31:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:32:67
ERROR Argument `dict[str, list[dict[VariableEntityType, dict[str, bool | int | str]] | dict[VariableEntityType, dict[str, list[str] | str]] | dict[VariableEntityType, dict[str, str | dict[str, int]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:67:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:68:67
ERROR Argument `dict[str, list[dict[VariableEntityType, dict[str, str]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:84:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:85:67
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:124:70
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:125:70
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:144:67
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:145:67
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:155:69
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:156:69
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:175:71
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:178:71
ERROR Cannot index into `RagPipelineVariableEntity` [bad-i\n\n... (truncated) ... |
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
This PR updates the test suite to improve static type-checking by adding explicit parameter/fixture types (e.g., pytest.MonkeyPatch, pytest_mock.MockerFixture, sqlalchemy.orm.Session) and, in several places, switches from enum .value usage to passing enum members directly.
Changes:
- Add/expand type annotations for pytest fixtures and
mockeracross unit/integration tests. - Update tests to use enum members directly instead of
.valuein multiple assertions and test fixtures. - Add missing imports (
pytest,MockerFixture,Session) required by the new annotations.
Reviewed changes
Copilot reviewed 193 out of 193 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| api/tests/unit_tests/tasks/test_workflow_execute_task.py | Switches created_by_role test fixture from enum .value to enum member. |
| api/tests/unit_tests/services/workflow/test_workflow_event_snapshot_service_additional.py | Uses enum members in event payloads/assertions and terminal-event checks. |
| api/tests/unit_tests/services/workflow/test_workflow_event_snapshot_service.py | Uses enum members in event payloads/assertions and terminal-event checks. |
| api/tests/unit_tests/services/test_webhook_service.py | Adds pytest.MonkeyPatch type annotations to monkeypatch parameters. |
| api/tests/unit_tests/services/test_message_service.py | Switches AppMode inputs from .value to enum member. |
| api/tests/unit_tests/services/test_human_input_service.py | Adds MockerFixture annotations for mocker usage. |
| api/tests/unit_tests/services/test_dataset_service_lock_not_owned.py | Adds pytest.MonkeyPatch annotations to fixtures/tests using monkeypatch. |
| api/tests/unit_tests/services/test_app_generate_service_streaming_integration.py | Adds pytest.MonkeyPatch annotations to fixtures/tests using monkeypatch. |
| api/tests/unit_tests/services/rag_pipeline/test_rag_pipeline_task_proxy.py | Adds MockerFixture annotation for mocker fixture. |
| api/tests/unit_tests/services/plugin/conftest.py | Adds pytest.MonkeyPatch annotation for fixture monkeypatch. |
| api/tests/unit_tests/libs/test_token.py | Imports pytest and annotates monkeypatch parameters. |
| api/tests/unit_tests/libs/test_rate_limiter.py | Imports pytest and annotates monkeypatch parameters. |
| api/tests/unit_tests/libs/test_pandas.py | Imports pytest and annotates monkeypatch parameters. |
| api/tests/unit_tests/libs/broadcast_channel/redis/test_channel_unit_tests.py | Adds pytest.MonkeyPatch annotations in fixtures/tests. |
| api/tests/unit_tests/extensions/test_pubsub_channel.py | Imports pytest and annotates monkeypatch parameters. |
| api/tests/unit_tests/extensions/test_ext_request_logging.py | Adds pytest.MonkeyPatch annotations in tests. |
| api/tests/unit_tests/core/workflow/test_workflow_entry_helpers.py | Adds pytest.MonkeyPatch annotations in tests. |
| api/tests/unit_tests/core/workflow/test_workflow_entry.py | Adds pytest.MonkeyPatch annotation to autouse fixture. |
| api/tests/unit_tests/core/workflow/nodes/llm/test_node.py | Adds pytest.MonkeyPatch annotations in fixtures/tests. |
| api/tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py | Adds MockerFixture annotation for mocker fixture. |
| api/tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py | Adds MockerFixture annotations for mocker fixtures. |
| api/tests/unit_tests/core/workflow/nodes/datasource/test_datasource_node.py | Adds MockerFixture annotation for mocker fixture. |
| api/tests/unit_tests/core/variables/test_segment_type.py | Adds pytest.MonkeyPatch annotation in test. |
| api/tests/unit_tests/core/tools/utils/test_system_oauth_encryption.py | Adds pytest.MonkeyPatch annotation in test. |
| api/tests/unit_tests/core/tools/utils/test_message_transformer.py | Adds pytest.MonkeyPatch annotation to autouse fixture. |
| api/tests/unit_tests/core/tools/utils/test_configuration.py | Imports pytest and annotates monkeypatch parameters. |
| api/tests/unit_tests/core/tools/test_tool_manager.py | Adds pytest.MonkeyPatch annotation in test. |
| api/tests/unit_tests/core/tools/test_custom_tool.py | Adds pytest.MonkeyPatch annotations in tests. |
| api/tests/unit_tests/core/tools/test_builtin_tools_extra.py | Adds pytest.MonkeyPatch annotations in tests. |
| api/tests/unit_tests/core/tools/test_builtin_tool_provider.py | Adds pytest.MonkeyPatch annotation in test. |
| api/tests/unit_tests/core/telemetry/test_facade.py | Adds pytest.MonkeyPatch annotation in fixture. |
| api/tests/unit_tests/core/rag/extractor/test_word_extractor.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/tests/unit_tests/core/rag/extractor/test_text_extractor.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/tests/unit_tests/core/rag/extractor/test_pdf_extractor.py | Adds pytest.MonkeyPatch annotations in fixtures/tests. |
| api/tests/unit_tests/core/rag/extractor/test_notion_extractor.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/tests/unit_tests/core/rag/extractor/test_markdown_extractor.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/tests/unit_tests/core/rag/extractor/test_helpers.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/tests/unit_tests/core/rag/extractor/test_extract_processor.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/tests/unit_tests/core/rag/extractor/test_excel_extractor.py | Adds pytest.MonkeyPatch annotations in tests. |
| api/tests/unit_tests/core/rag/extractor/test_csv_extractor.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/tests/unit_tests/core/rag/datasource/vdb/test_vector_factory.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/tests/unit_tests/core/rag/datasource/test_datasource_retrieval.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/tests/unit_tests/core/rag/datasource/keyword/test_keyword_factory.py | Adds pytest.MonkeyPatch annotations in tests. |
| api/tests/unit_tests/core/rag/datasource/keyword/jieba/test_jieba_keyword_table_handler.py | Imports pytest and annotates monkeypatch parameters. |
| api/tests/unit_tests/core/rag/datasource/keyword/jieba/test_jieba.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/tests/unit_tests/core/prompt/test_prompt_transform.py | Adds pytest.MonkeyPatch annotation in test. |
| api/tests/unit_tests/core/prompt/test_extract_thread_messages.py | Adds MockerFixture annotations for mocker fixture. |
| api/tests/unit_tests/core/plugin/test_plugin_entities.py | Adds MockerFixture annotation for mocker fixture. |
| api/tests/unit_tests/core/plugin/impl/test_trigger_client.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/plugin/impl/test_tool_manager.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/plugin/impl/test_oauth_handler.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/plugin/impl/test_exc_impl.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/plugin/impl/test_endpoint_client_impl.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/plugin/impl/test_debugging_client.py | Adds MockerFixture annotation for mocker fixture. |
| api/tests/unit_tests/core/plugin/impl/test_datasource_manager.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/plugin/impl/test_base_client_impl.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/plugin/impl/test_asset_manager.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/plugin/impl/test_agent_client.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/ops/test_trace_queue_manager.py | Adds pytest.MonkeyPatch annotation in fixture. |
| api/tests/unit_tests/core/ops/test_base_trace_instance.py | Adds pytest.MonkeyPatch annotation in fixture. |
| api/tests/unit_tests/core/helper/test_creators.py | Adds pytest.MonkeyPatch annotation in fixture. |
| api/tests/unit_tests/core/extension/test_api_based_extension_requestor.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/callback_handler/test_workflow_tool_callback_handler.py | Adds MockerFixture and handler type annotations in tests/fixtures. |
| api/tests/unit_tests/core/callback_handler/test_index_tool_callback_handler.py | Adds MockerFixture and handler type annotations in tests/fixtures. |
| api/tests/unit_tests/core/base/test_app_generator_tts_publisher.py | Adds MockerFixture annotations across tests/fixtures. |
| api/tests/unit_tests/core/app/workflow/test_persistence_layer.py | Adds pytest.MonkeyPatch annotation in test. |
| api/tests/unit_tests/core/app/workflow/test_observability_layer_extra.py | Imports pytest and annotates monkeypatch parameters. |
| api/tests/unit_tests/core/app/workflow/test_node_factory.py | Adds pytest.MonkeyPatch annotations across tests/helpers. |
| api/tests/unit_tests/core/app/apps/workflow/test_generate_task_pipeline_core.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/tests/unit_tests/core/app/apps/workflow/test_app_generator_extra.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/tests/unit_tests/core/app/apps/test_workflow_app_runner_core.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/tests/unit_tests/core/app/apps/test_workflow_app_generator.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/app/apps/test_streaming_utils.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/tests/unit_tests/core/app/apps/test_pause_resume.py | Adds MockerFixture annotations across tests/helpers. |
| api/tests/unit_tests/core/app/apps/test_message_based_app_generator.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/tests/unit_tests/core/app/apps/test_base_app_generator.py | Adds pytest.MonkeyPatch annotation in test. |
| api/tests/unit_tests/core/app/apps/test_advanced_chat_app_generator.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/tests/unit_tests/core/app/apps/pipeline/test_pipeline_runner.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/app/apps/pipeline/test_pipeline_queue_manager.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/app/apps/pipeline/test_pipeline_config_manager.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/app/apps/completion/test_completion_completion_app_generator.py | Adds MockerFixture annotations across tests/fixtures. |
| api/tests/unit_tests/core/app/apps/completion/test_completion_app_config_manager.py | Adds MockerFixture annotations and switches AppMode fixture usage. |
| api/tests/unit_tests/core/app/apps/completion/test_app_runner.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/app/apps/agent_chat/test_agent_chat_app_config_manager.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/app/apps/advanced_chat/test_generate_task_pipeline_core.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/tests/unit_tests/core/app/app_config/workflow_ui_based_app/test_workflow_ui_based_app_manager.py | Adds MockerFixture annotations to fixtures. |
| api/tests/unit_tests/core/app/app_config/test_base_app_config_manager.py | Adds MockerFixture annotations across fixtures/tests. |
| api/tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_converter.py | Adds MockerFixture annotations across tests/fixtures. |
| api/tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/app/app_config/common/test_sensitive_word_avoidance_manager.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py | Adds pytest.MonkeyPatch annotations to fixtures. |
| api/tests/unit_tests/core/agent/test_plugin_entities.py | Adds MockerFixture annotations across tests/fixtures. |
| api/tests/unit_tests/core/agent/test_fc_agent_runner.py | Adds MockerFixture annotations across tests/fixtures. |
| api/tests/unit_tests/core/agent/test_cot_completion_agent_runner.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/agent/test_cot_chat_agent_runner.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/core/agent/strategy/test_plugin.py | Adds MockerFixture annotations in parametrized test. |
| api/tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py | Adds MockerFixture annotation for fixture mocker. |
| api/tests/unit_tests/controllers/service_api/end_user/test_end_user.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py | Adds pytest.MonkeyPatch annotations in tests. |
| api/tests/unit_tests/controllers/console/test_feature.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/controllers/console/datasets/test_wraps.py | Adds MockerFixture annotations across tests. |
| api/tests/unit_tests/controllers/console/datasets/test_website.py | Adds MockerFixture annotations across tests/fixtures. |
| api/tests/unit_tests/controllers/console/datasets/test_metadata.py | Adds MockerFixture annotations in fixture. |
| api/tests/unit_tests/controllers/console/datasets/test_hit_testing.py | Adds MockerFixture and Flask annotations across tests/fixtures. |
| api/tests/unit_tests/controllers/console/datasets/test_datasets_segments.py | Adds pytest.MonkeyPatch annotation in test. |
| api/tests/unit_tests/controllers/common/test_schema.py | Adds pytest.MonkeyPatch annotation in test. |
| api/tests/unit_tests/controllers/common/test_helpers.py | Adds pytest.MonkeyPatch annotation in test. |
| api/tests/test_containers_integration_tests/tasks/test_remove_app_and_related_data_task.py | Adds Session annotations for DB cleanup/helpers. |
| api/tests/test_containers_integration_tests/tasks/test_mail_human_input_delivery_task.py | Adds Session annotations for DB cleanup/helpers. |
| api/tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py | Adds Session annotation and switches string statuses/roles to enums. |
| api/tests/test_containers_integration_tests/services/test_message_service_execution_extra_content.py | Imports Session and annotates DB session parameter. |
| api/tests/test_containers_integration_tests/services/test_human_input_delivery_test_service.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/tests/test_containers_integration_tests/services/test_feedback_service.py | Adds pytest.MonkeyPatch annotation in fixture. |
| api/tests/test_containers_integration_tests/services/test_feature_service.py | Changes license status assertion from .value to direct comparison. |
| api/tests/test_containers_integration_tests/services/test_end_user_service.py | Adds Session and switches tenant role from string to enum. |
| api/tests/test_containers_integration_tests/services/test_document_service_display_status.py | Imports Session and annotates DB session parameters. |
| api/tests/test_containers_integration_tests/services/test_conversation_service_variables.py | Adds Session annotation for factory helper. |
| api/tests/test_containers_integration_tests/services/test_conversation_service.py | Switches tenant role and InvokeFrom from .value to enum member. |
| api/tests/test_containers_integration_tests/libs/test_rate_limiter_integration.py | Adds pytest.MonkeyPatch annotation in test. |
| api/tests/integration_tests/workflow/nodes/test_tool.py | Adds pytest.MonkeyPatch annotations to tests. |
| api/tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py | Adds MockerFixture annotation for mocker. |
| api/tests/integration_tests/core/datasource/test_datasource_manager_integration.py | Adds MockerFixture annotation for mocker. |
| api/providers/vdb/vdb-vikingdb/tests/unit_tests/test_vikingdb_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-vastbase/tests/unit_tests/test_vastbase_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-upstash/tests/unit_tests/test_upstash_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-tidb-vector/tests/unit_tests/test_tidb_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-tencent/tests/unit_tests/test_tencent_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-tablestore/tests/unit_tests/test_tablestore_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-relyt/tests/unit_tests/test_relyt_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-qdrant/tests/unit_tests/test_qdrant_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-pgvector/tests/unit_tests/test_pgvector.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/providers/vdb/vdb-pgvecto-rs/tests/unit_tests/test_pgvecto_rs.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-oracle/tests/unit_tests/test_oraclevector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-opensearch/tests/unit_tests/test_opensearch_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-opensearch/tests/unit_tests/test_opensearch.py | Adds pytest.MonkeyPatch annotations in test. |
| api/providers/vdb/vdb-opengauss/tests/unit_tests/test_opengauss.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-oceanbase/tests/unit_tests/test_oceanbase_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-myscale/tests/unit_tests/test_myscale_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-milvus/tests/unit_tests/test_milvus.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-matrixone/tests/unit_tests/test_matrixone_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-lindorm/tests/unit_tests/test_lindorm_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-iris/tests/unit_tests/test_iris_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-huawei-cloud/tests/unit_tests/test_huawei_cloud_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-hologres/tests/unit_tests/test_hologres_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-elasticsearch/tests/unit_tests/test_elasticsearch_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-elasticsearch/tests/unit_tests/test_elasticsearch_ja_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-couchbase/tests/unit_tests/test_couchbase_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-chroma/tests/unit_tests/test_chroma_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-baidu/tests/unit_tests/test_baidu_vector.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/vdb/vdb-analyticdb/tests/unit_tests/test_analyticdb_vector_sql.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/providers/vdb/vdb-analyticdb/tests/unit_tests/test_analyticdb_vector.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/providers/vdb/vdb-alibabacloud-mysql/tests/unit_tests/test_alibabacloud_mysql_factory.py | Adds pytest.MonkeyPatch annotations across tests. |
| api/providers/trace/trace-opik/tests/unit_tests/opik_trace/test_opik_trace.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/trace/trace-mlflow/tests/unit_tests/mlflow_trace/test_mlflow_trace.py | Adds pytest.MonkeyPatch annotation in test. |
| api/providers/trace/trace-langsmith/tests/unit_tests/langsmith_trace/test_langsmith_trace.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/trace/trace-langfuse/tests/unit_tests/langfuse_trace/test_langfuse_trace.py | Adds pytest.MonkeyPatch annotations across tests/fixtures. |
| api/providers/trace/trace-aliyun/tests/unit_tests/aliyun_trace/test_aliyun_trace_utils.py | Imports pytest and annotates monkeypatch parameters. |
Comments suppressed due to low confidence (4)
api/tests/test_containers_integration_tests/services/test_feature_service.py:1
- This assertion used to compare
result.license.status.valueto a string, implyingstatusis (or was) an enum-like object. Comparing the enum object directly to a string will fail unlessstatusis astr/StrEnum. Prefer asserting against the enum member (e.g.,LicenseStatus.NONE) or keep the.valuecomparison to match the actual runtime type.
api/tests/unit_tests/tasks/test_workflow_execute_task.py:1 - These fixtures previously passed
CreatorUserRole.ACCOUNT.value(likely the persisted/serialized representation). Switching to the enum member changes the runtime type ofcreated_by_rolein theSimpleNamespaceand can break code paths that expect a string (e.g., DB-like fields, JSON serialization, or equality checks). If the production code expects the serialized value, keep using.valuehere (type annotations can still be added without changing the fixture data types).
api/tests/unit_tests/tasks/test_workflow_execute_task.py:1 - These fixtures previously passed
CreatorUserRole.ACCOUNT.value(likely the persisted/serialized representation). Switching to the enum member changes the runtime type ofcreated_by_rolein theSimpleNamespaceand can break code paths that expect a string (e.g., DB-like fields, JSON serialization, or equality checks). If the production code expects the serialized value, keep using.valuehere (type annotations can still be added without changing the fixture data types).
api/tests/test_containers_integration_tests/services/test_conversation_service.py:1 - This test data previously used
InvokeFrom.WEB_APP.value, which is typically what gets stored in DB/string fields and emitted in APIs. Assigning the enum member directly changes the type ofinvoke_fromand may no longer reflect the persisted representation. IfMessage.invoke_fromis a string column/field, keep.value(or cast tostr(...)) to avoid mismatching production behavior.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-05-08 15:44:34.721282177 +0000
+++ /tmp/pyrefly_pr.txt 2026-05-08 15:44:22.674337902 +0000
@@ -609,9 +609,9 @@
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -855,25 +855,13 @@
ERROR `str` is not assignable to attribute `agent_mode` with type `Never` [bad-assignment]
--> tests/test_containers_integration_tests/services/test_agent_service.py:138:47
ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:249:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:275:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:564:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:565:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:799:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:800:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:894:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:963:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:964:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:1004:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:1005:24
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -911,15 +899,15 @@
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_app_dsl_service.py:161:42
ERROR Argument `Literal['simple']` is not assignable to parameter `prompt_type` with type `PromptType | SQLCoreOperations[PromptType]` in function `models.model.AppModelConfig.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:902:25
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:920:25
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:925:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:943:20
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:960:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:978:20
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1001:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1019:20
ERROR Argument `list[SimpleNamespace]` is not assignable to parameter `dsl_dependencies` with type `list[PluginDependency]` in function `services.app_dsl_service.AppDslService.get_leaked_dependencies` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1287:73
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1305:73
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_app_generate_service.py:184:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -1043,8 +1031,6 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_app_service.py:1296:41
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_conversation_service.py:44:18
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_conversation_service_variables.py:47:18
ERROR Object of class `NoneType` has no attribute `quota_used` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_credit_pool_service.py:91:16
@@ -1086,8 +1072,6 @@
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:156:29
ERROR Argument `Literal['knowledge']` is not assignable to parameter `type` with type `SQLCoreOperations[TagType] | TagType` in function `models.model.Tag.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:179:18
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_end_user_service.py:38:18
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_file_service.py:69:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
@@ -1658,10 +1642,6 @@
--> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:76:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:85:20
-ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:124:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:129:53
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
--> tests/test_containers_integration_tests/tasks/test_deal_dataset_vector_index_task.py:229:16
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
@@ -2019,13 +1999,13 @@
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:657:29
+ --> tests/unit_tests/controllers/console/test_admin.py:660:29
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:658:34
+ --> tests/unit_tests/controllers/console/test_admin.py:661:34
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:659:39
+ --> tests/unit_tests/controllers/console/test_admin.py:662:39
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:660:42
+ --> tests/unit_tests/controllers/console/test_admin.py:663:42
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
--> tests/unit_tests/controllers/console/test_extension.py:14:5
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
@@ -2111,25 +2091,25 @@
ERROR Missing argument `user_model` in function `protected_view` [missing-argument]
--> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:244:35
ERROR Missing argument `tenant_model` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:266:44
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:268:44
ERROR Missing argument `user_model` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:266:44
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:268:44
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:294:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:296:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:300:36
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:302:36
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:309:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:311:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:316:31
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:318:31
ERROR Argument `type[TestPluginData.test_should_raise_error_on_invalid_payload.InvalidPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:327:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:329:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:334:31
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:336:31
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:342:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:348:36
ERROR Cannot index into `Iterable[bytes]` [bad-index]
--> tests/unit_tests/controllers/service_api/app/test_audio.py:190:16
ERROR Cannot index into `Response` [bad-index]
@@ -2319,293 +2299,293 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `end_user` with type `EndUser` in function `controllers.web.workflow_events.WorkflowEventsApi.get` [bad-argument-type]
--> tests/unit_tests/controllers/web/test_workflow_events.py:125:65
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:67:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:23
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:69:23
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:72:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:73:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:77:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:78:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:83:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:84:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:89:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:90:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:99:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:100:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:105:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:106:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:111:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:112:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:118:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:119:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:127:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:128:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:132:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:133:71
ERROR `in` is not supported between `Literal['{"foo": "bar"']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:134:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:135:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:145:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:146:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:156:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:157:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:166:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:167:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:171:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:172:71
ERROR `in` is not supported between `Literal['```json {"a":1}']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:173:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:174:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:190:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:191:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:199:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:200:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:209:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:210:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:220:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:221:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:225:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:38
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:227:38
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:246:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:247:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:248:25
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:249:25
ERROR Cannot instantiate `BaseAgentStrategy` because the following members are abstract: `_invoke` [bad-instantiation]
--> tests/unit_tests/core/agent/strategy/test_base.py:46:30
ERROR Argument `None` is not assignable to parameter `user_id` with type `str` in function `core.agent.strategy.base.BaseAgentStrategy.invoke` [bad-argument-type]
--> tests/unit_tests/core/agent/strategy/test_base.py:154:58
ERROR `None` is not assignable to attribute `agent_callback` with type `DifyAgentCallbackHandler` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:79:29
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:80:29
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:284:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:287:31
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:292:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:295:31
ERROR `list[DummyTool]` is not assignable to attribute `_prompt_messages_tools` with type `Sequence[PromptMessageTool]` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:48:37
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:49:37
ERROR `DummyGenerateEntity` is not assignable to attribute `application_generate_entity` with type `AgentChatAppGenerateEntity` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:52:42
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:53:42
ERROR `in` is not supported between `Literal['History']` and `None` [not-iterable]
- --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:166:16
-ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:167:16
-ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:168:16
-ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:169:16
-ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:170:16
-ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:171:16
+ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:172:16
ERROR `Literal[0]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:29:26
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:26
ERROR `Literal[0]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:30
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:30
ERROR `Literal[0]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:25
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:32:25
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:310:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:311:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:330:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:331:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:346:46
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:347:46
ERROR Missing argument `description` in function `core.agent.plugin_entities.AgentStrategyEntity.__init__` [missing-argument]
- --> tests/unit_tests/core/agent/test_plugin_entities.py:280:32
+ --> tests/unit_tests/core/agent/test_plugin_entities.py:281:32
ERROR Invalid key for TypedDict `AppParametersDict`, got `Unknown` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:69:23
ERROR Invalid key for TypedDict `AppParametersDict`, got `str` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:132:27
ERROR Argument `dict[str, dict[str, str]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.agent.manager.AgentConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:27:45
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:28:45
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:72:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:73:16
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:85:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:86:16
ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:160:16
-ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:161:16
-ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:171:16
ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:162:16
+ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:172:16
+ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:173:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:204:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:205:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:212:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:213:16
ERROR Argument `dict[str, dict[str, dict[str, list[Unknown]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:52:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:53:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:67:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:68:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, str] | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:108:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:110:16
-ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:122:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:111:16
+ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:124:16
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:125:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:126:16
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:134:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:135:47
ERROR Argument `dict[str, Unknown | None]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:140:42
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:141:42
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:149:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:151:16
-ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:168:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:152:16
+ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:170:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:171:16
ERROR Argument `dict[str, dict[str, str | dict[str, list[Unknown] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:188:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:189:47
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:198:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:200:16
ERROR Missing required key `opening_statement` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions_after_answer` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `speech_to_text` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `text_to_speech` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `retriever_resource` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `annotation_reply` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `more_like_this` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `sensitive_word_avoidance` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `external_data_tools` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `model` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `user_input_form` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `dataset_query_variable` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `pre_prompt` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `agent_mode` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `prompt_type` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `chat_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `completion_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `dataset_configs` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `file_upload` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Argument `dict[str, dict[str, str | dict[str, float]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.model_config.manager.ModelConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:75:45
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:76:45
ERROR Missing required key `opening_statement` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `suggested_questions` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `suggested_questions_after_answer` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `speech_to_text` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `text_to_speech` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `retriever_resource` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `annotation_reply` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `more_like_this` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `sensitive_word_avoidance` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `external_data_tools` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `model` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `user_input_form` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `dataset_query_variable` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `pre_prompt` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `agent_mode` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `prompt_type` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `chat_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `completion_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `dataset_configs` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `file_upload` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Argument `dict[str, str]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:54:54
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:55:54
ERROR Argument `dict[str, str | dict[str, list[dict[str, str]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:89:54
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:90:54
ERROR Argument `dict[str, str | dict[str, list[Unknown]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:115:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:116:49
ERROR Argument `dict[str, str | dict[str, dict[str, str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:143:54
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:144:54
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:171:78
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:172:78
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:192:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:193:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:204:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:205:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:216:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:217:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:229:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:230:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:241:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:242:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:253:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:254:67
ERROR Argument `Literal['chat']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:270:76
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:271:76
ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:13:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:14:67
ERROR Argument `dict[str, list[dict[str, bool | str | dict[str, str]] | dict[str, bool]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:31:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:32:67
ERROR Argument `dict[str, list[dict[VariableEntityType, dict[str, bool | int | str]] | dict[VariableEntityType, dict[str, list[str] | str]] | dict[VariableEntityType, dict[str, str | dict[str, int]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:67:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:68:67
ERROR Argument `dict[str, list[dict[VariableEntityType, dict[str, str]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:84:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:85:67
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:124:70
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:125:70
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:144:67
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:145:67
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:155:69
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:156:69
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:175:71
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:178:71
ERROR Cannot index into `RagPipelineVariableEntity` [bad-index]
- --> tests/unit_tests/core/app/app_config/workflow_ui_based_app/test_workflow_ui_based_app_manager.py:140:16
+ --> tests/unit_tests/core/app/app_config/workflow_ui_based_app/test_workflow_ui_based_app_manager.py:141:16
ERROR Cannot index into `RagPipelineVariableEntity` [bad-index]
- --> tests/unit_tests/core/app/app_config/workflow_ui_based_app/test_workflow_ui_based_app_manager.py:165:16
+ --> tests/unit_tests/core/app/app_config/workflow_ui_based_app/test_workflow_ui_based_app_manager.py:166:16
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_config_manager.AdvancedChatAppConfigManager.get_app_config` [bad-argument-type]
--> tests/unit_tests/core/app/apps/advanced_chat/test_app_config_manager.py:23:70
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced\n\n... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-05-08 15:47:39.535502201 +0000
+++ /tmp/pyrefly_pr.txt 2026-05-08 15:47:28.192389655 +0000
@@ -609,9 +609,9 @@
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -855,25 +855,13 @@
ERROR `str` is not assignable to attribute `agent_mode` with type `Never` [bad-assignment]
--> tests/test_containers_integration_tests/services/test_agent_service.py:138:47
ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:249:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:275:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:564:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:565:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:799:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:800:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:894:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:963:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:964:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:1004:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:1005:24
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -911,15 +899,15 @@
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_app_dsl_service.py:161:42
ERROR Argument `Literal['simple']` is not assignable to parameter `prompt_type` with type `PromptType | SQLCoreOperations[PromptType]` in function `models.model.AppModelConfig.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:902:25
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:920:25
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:925:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:943:20
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:960:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:978:20
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1001:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1019:20
ERROR Argument `list[SimpleNamespace]` is not assignable to parameter `dsl_dependencies` with type `list[PluginDependency]` in function `services.app_dsl_service.AppDslService.get_leaked_dependencies` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1287:73
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1305:73
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_app_generate_service.py:184:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -1043,8 +1031,6 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_app_service.py:1296:41
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_conversation_service.py:44:18
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_conversation_service_variables.py:47:18
ERROR Object of class `NoneType` has no attribute `quota_used` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_credit_pool_service.py:91:16
@@ -1086,8 +1072,6 @@
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:156:29
ERROR Argument `Literal['knowledge']` is not assignable to parameter `type` with type `SQLCoreOperations[TagType] | TagType` in function `models.model.Tag.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:179:18
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_end_user_service.py:38:18
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_file_service.py:69:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
@@ -1658,10 +1642,6 @@
--> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:76:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:85:20
-ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:124:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:129:53
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
--> tests/test_containers_integration_tests/tasks/test_deal_dataset_vector_index_task.py:229:16
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
@@ -2019,13 +1999,13 @@
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:657:29
+ --> tests/unit_tests/controllers/console/test_admin.py:660:29
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:658:34
+ --> tests/unit_tests/controllers/console/test_admin.py:661:34
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:659:39
+ --> tests/unit_tests/controllers/console/test_admin.py:662:39
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:660:42
+ --> tests/unit_tests/controllers/console/test_admin.py:663:42
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
--> tests/unit_tests/controllers/console/test_extension.py:14:5
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
@@ -2111,25 +2091,25 @@
ERROR Missing argument `user_model` in function `protected_view` [missing-argument]
--> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:244:35
ERROR Missing argument `tenant_model` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:266:44
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:268:44
ERROR Missing argument `user_model` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:266:44
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:268:44
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:294:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:296:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:300:36
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:302:36
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:309:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:311:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:316:31
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:318:31
ERROR Argument `type[TestPluginData.test_should_raise_error_on_invalid_payload.InvalidPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:327:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:329:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:334:31
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:336:31
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:342:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:348:36
ERROR Cannot index into `Iterable[bytes]` [bad-index]
--> tests/unit_tests/controllers/service_api/app/test_audio.py:190:16
ERROR Cannot index into `Response` [bad-index]
@@ -2319,293 +2299,293 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `end_user` with type `EndUser` in function `controllers.web.workflow_events.WorkflowEventsApi.get` [bad-argument-type]
--> tests/unit_tests/controllers/web/test_workflow_events.py:125:65
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:67:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:23
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:69:23
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:72:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:73:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:77:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:78:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:83:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:84:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:89:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:90:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:99:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:100:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:105:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:106:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:111:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:112:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:118:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:119:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:127:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:128:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:132:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:133:71
ERROR `in` is not supported between `Literal['{"foo": "bar"']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:134:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:135:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:145:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:146:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:156:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:157:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:166:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:167:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:171:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:172:71
ERROR `in` is not supported between `Literal['```json {"a":1}']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:173:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:174:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:190:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:191:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:199:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:200:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:209:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:210:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:220:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:221:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:225:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:38
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:227:38
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:246:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:247:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:248:25
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:249:25
ERROR Cannot instantiate `BaseAgentStrategy` because the following members are abstract: `_invoke` [bad-instantiation]
--> tests/unit_tests/core/agent/strategy/test_base.py:46:30
ERROR Argument `None` is not assignable to parameter `user_id` with type `str` in function `core.agent.strategy.base.BaseAgentStrategy.invoke` [bad-argument-type]
--> tests/unit_tests/core/agent/strategy/test_base.py:154:58
ERROR `None` is not assignable to attribute `agent_callback` with type `DifyAgentCallbackHandler` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:79:29
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:80:29
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:284:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:287:31
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:292:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:295:31
ERROR `list[DummyTool]` is not assignable to attribute `_prompt_messages_tools` with type `Sequence[PromptMessageTool]` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:48:37
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:49:37
ERROR `DummyGenerateEntity` is not assignable to attribute `application_generate_entity` with type `AgentChatAppGenerateEntity` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:52:42
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:53:42
ERROR `in` is not supported between `Literal['History']` and `None` [not-iterable]
- --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:166:16
-ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:167:16
-ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:168:16
-ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:169:16
-ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:170:16
-ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:171:16
+ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:172:16
ERROR `Literal[0]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:29:26
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:26
ERROR `Literal[0]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:30
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:30
ERROR `Literal[0]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:25
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:32:25
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:310:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:311:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:330:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:331:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:346:46
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:347:46
ERROR Missing argument `description` in function `core.agent.plugin_entities.AgentStrategyEntity.__init__` [missing-argument]
- --> tests/unit_tests/core/agent/test_plugin_entities.py:280:32
+ --> tests/unit_tests/core/agent/test_plugin_entities.py:281:32
ERROR Invalid key for TypedDict `AppParametersDict`, got `Unknown` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:69:23
ERROR Invalid key for TypedDict `AppParametersDict`, got `str` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:132:27
ERROR Argument `dict[str, dict[str, str]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.agent.manager.AgentConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:27:45
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:28:45
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:72:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:73:16
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:85:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:86:16
ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:160:16
-ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:161:16
-ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:171:16
ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:162:16
+ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:172:16
+ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:173:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:204:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:205:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:212:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:213:16
ERROR Argument `dict[str, dict[str, dict[str, list[Unknown]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:52:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:53:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:67:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:68:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, str] | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:108:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:110:16
-ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:122:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:111:16
+ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:124:16
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:125:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:126:16
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:134:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:135:47
ERROR Argument `dict[str, Unknown | None]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:140:42
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:141:42
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:149:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:151:16
-ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:168:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:152:16
+ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:170:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:171:16
ERROR Argument `dict[str, dict[str, str | dict[str, list[Unknown] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:188:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:189:47
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:198:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:200:16
ERROR Missing required key `opening_statement` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions_after_answer` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `speech_to_text` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `text_to_speech` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `retriever_resource` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `annotation_reply` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `more_like_this` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `sensitive_word_avoidance` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `external_data_tools` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `model` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `user_input_form` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `dataset_query_variable` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `pre_prompt` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `agent_mode` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `prompt_type` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `chat_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `completion_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `dataset_configs` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `file_upload` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Argument `dict[str, dict[str, str | dict[str, float]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.model_config.manager.ModelConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:75:45
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:76:45
ERROR Missing required key `opening_statement` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `suggested_questions` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `suggested_questions_after_answer` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `speech_to_text` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `text_to_speech` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `retriever_resource` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `annotation_reply` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `more_like_this` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `sensitive_word_avoidance` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `external_data_tools` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `model` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `user_input_form` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `dataset_query_variable` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `pre_prompt` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `agent_mode` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `prompt_type` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `chat_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `completion_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `dataset_configs` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Missing required key `file_upload` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:39:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
ERROR Argument `dict[str, str]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:54:54
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:55:54
ERROR Argument `dict[str, str | dict[str, list[dict[str, str]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:89:54
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:90:54
ERROR Argument `dict[str, str | dict[str, list[Unknown]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:115:49
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:116:49
ERROR Argument `dict[str, str | dict[str, dict[str, str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:143:54
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:144:54
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:171:78
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:172:78
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:192:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:193:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:204:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:205:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:216:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:217:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:229:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:230:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:241:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:242:67
ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:253:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:254:67
ERROR Argument `Literal['chat']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:270:76
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:271:76
ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:13:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:14:67
ERROR Argument `dict[str, list[dict[str, bool | str | dict[str, str]] | dict[str, bool]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:31:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:32:67
ERROR Argument `dict[str, list[dict[VariableEntityType, dict[str, bool | int | str]] | dict[VariableEntityType, dict[str, list[str] | str]] | dict[VariableEntityType, dict[str, str | dict[str, int]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:67:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:68:67
ERROR Argument `dict[str, list[dict[VariableEntityType, dict[str, str]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:84:67
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:85:67
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:124:70
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:125:70
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:144:67
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:145:67
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:155:69
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:156:69
ERROR Argument `Literal['CHAT']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.base_app_config_manager.BaseAppConfigManager.convert_features` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:175:71
+ --> tests/unit_tests/core/app/app_config/test_base_app_config_manager.py:178:71
ERROR Cannot index into `RagPipelineVariableEntity` [bad-index]
- --> tests/unit_tests/core/app/app_config/workflow_ui_based_app/test_workflow_ui_based_app_manager.py:140:16
+ --> tests/unit_tests/core/app/app_config/workflow_ui_based_app/test_workflow_ui_based_app_manager.py:141:16
ERROR Cannot index into `RagPipelineVariableEntity` [bad-index]
- --> tests/unit_tests/core/app/app_config/workflow_ui_based_app/test_workflow_ui_based_app_manager.py:165:16
+ --> tests/unit_tests/core/app/app_config/workflow_ui_based_app/test_workflow_ui_based_app_manager.py:166:16
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.advanced_chat.app_config_manager.AdvancedChatAppConfigManager.get_app_config` [bad-argument-type]
--> tests/unit_tests/core/app/apps/advanced_chat/test_app_config_manager.py:23:70
ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.app.apps.advanced\n\n... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-05-08 15:50:29.910913030 +0000
+++ /tmp/pyrefly_pr.txt 2026-05-08 15:50:17.058828689 +0000
@@ -603,15 +603,11 @@
ERROR Class member `AsyncWorkflowCFSPlanScheduler.plan` overrides parent class `CFSPlanScheduler` in an inconsistent manner [bad-override-mutable-attribute]
--> tasks/workflow_cfs_scheduler/cfs_scheduler.py:19:5
ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/integration_tests/controllers/console/app/test_chat_message_permissions.py:31:22
-ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
-ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -855,25 +851,13 @@
ERROR `str` is not assignable to attribute `agent_mode` with type `Never` [bad-assignment]
--> tests/test_containers_integration_tests/services/test_agent_service.py:138:47
ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:249:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:275:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:564:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:565:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:799:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:800:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:894:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:963:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:964:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:1004:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:1005:24
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -911,15 +895,15 @@
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_app_dsl_service.py:161:42
ERROR Argument `Literal['simple']` is not assignable to parameter `prompt_type` with type `PromptType | SQLCoreOperations[PromptType]` in function `models.model.AppModelConfig.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:902:25
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:920:25
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:925:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:943:20
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:960:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:978:20
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1001:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1019:20
ERROR Argument `list[SimpleNamespace]` is not assignable to parameter `dsl_dependencies` with type `list[PluginDependency]` in function `services.app_dsl_service.AppDslService.get_leaked_dependencies` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1287:73
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1305:73
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_app_generate_service.py:184:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -937,113 +921,107 @@
ERROR Argument `Literal['agent-chat']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_app_generate_service.py:954:20
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:82:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:84:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:91:33
+ --> tests/test_containers_integration_tests/services/test_app_service.py:93:33
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:140:42
+ --> tests/test_containers_integration_tests/services/test_app_service.py:142:42
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:145:37
+ --> tests/test_containers_integration_tests/services/test_app_service.py:147:37
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:178:46
+ --> tests/test_containers_integration_tests/services/test_app_service.py:180:46
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:228:36
+ --> tests/test_containers_integration_tests/services/test_app_service.py:230:36
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:237:68
+ --> tests/test_containers_integration_tests/services/test_app_service.py:239:68
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:247:37
+ --> tests/test_containers_integration_tests/services/test_app_service.py:249:37
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:291:43
+ --> tests/test_containers_integration_tests/services/test_app_service.py:293:43
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:292:49
+ --> tests/test_containers_integration_tests/services/test_app_service.py:294:49
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:300:63
+ --> tests/test_containers_integration_tests/services/test_app_service.py:302:63
ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:301:20
+ --> tests/test_containers_integration_tests/services/test_app_service.py:303:20
ERROR Cannot index into `object` [bad-index]
- --> tests/test_containers_integration_tests/services/test_app_service.py:302:16
+ --> tests/test_containers_integration_tests/services/test_app_service.py:304:16
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:311:67
+ --> tests/test_containers_integration_tests/services/test_app_service.py:313:67
ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:312:20
+ --> tests/test_containers_integration_tests/services/test_app_service.py:314:20
ERROR Cannot index into `object` [bad-index]
- --> tests/test_containers_integration_tests/services/test_app_service.py:313:26
+ --> tests/test_containers_integration_tests/services/test_app_service.py:315:26
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:322:61
+ --> tests/test_containers_integration_tests/services/test_app_service.py:324:61
ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:323:20
+ --> tests/test_containers_integration_tests/services/test_app_service.py:325:20
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:357:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:359:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:371:72
+ --> tests/test_containers_integration_tests/services/test_app_service.py:373:72
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:374:61
+ --> tests/test_containers_integration_tests/services/test_app_service.py:376:61
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:392:72
+ --> tests/test_containers_integration_tests/services/test_app_service.py:394:72
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:427:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:429:38
ERROR Argument `dict[str, bool | str]` is not assignable to parameter `args` with type `AppService.ArgsDict` in function `services.app_service.AppService.update_app` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_service.py:451:55
+ --> tests/test_containers_integration_tests/services/test_app_service.py:453:55
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:487:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:489:13
ERROR Missing required key `max_active_requests` for TypedDict `ArgsDict` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/services/test_app_service.py:506:17
+ --> tests/test_containers_integration_tests/services/test_app_service.py:508:17
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:539:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:541:13
ERROR Missing required key `max_active_requests` for TypedDict `ArgsDict` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/services/test_app_service.py:559:21
+ --> tests/test_containers_integration_tests/services/test_app_service.py:561:21
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:599:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:601:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:652:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:654:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:713:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:715:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:773:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:775:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:833:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:835:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:884:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:886:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:897:70
+ --> tests/test_containers_integration_tests/services/test_app_service.py:899:70
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:936:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:938:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:959:70
+ --> tests/test_containers_integration_tests/services/test_app_service.py:961:70
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:996:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:998:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1035:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1037:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1075:38
-ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1082:23
-ERROR Argument `Literal['uuid']` is not assignable to parameter `value` with type `CustomizeTokenStrategy | SQLCoreOperations[CustomizeTokenStrategy]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1084:41
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1077:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1128:36
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1130:36
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1160:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1162:13
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1175:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1177:13
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1190:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1192:13
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1206:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1208:13
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1222:68
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1224:68
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1230:68
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1232:68
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1238:68
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1240:68
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1246:68
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1248:68
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1282:41
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1284:41
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1296:41
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_conversation_service.py:44:18
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1298:41
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_conversation_service_variables.py:47:18
ERROR Object of class `NoneType` has no attribute `quota_used` [missing-attribute]
@@ -1086,8 +1064,6 @@
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:156:29
ERROR Argument `Literal['knowledge']` is not assignable to parameter `type` with type `SQLCoreOperations[TagType] | TagType` in function `models.model.Tag.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:179:18
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_end_user_service.py:38:18
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_file_service.py:69:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
@@ -1654,14 +1630,6 @@
--> tests/test_containers_integration_tests/tasks/test_clean_notion_document_task.py:1063:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/tasks/test_clean_notion_document_task.py:1100:27
-ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:76:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:85:20
-ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:124:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:129:53
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
--> tests/test_containers_integration_tests/tasks/test_deal_dataset_vector_index_task.py:229:16
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
@@ -1811,21 +1779,15 @@
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/tasks/test_enable_segments_to_index_task.py:62:20
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_account_deletion_task.py:50:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_account_deletion_task.py:58:20
+ --> tests/test_containers_integration_tests/tasks/test_mail_account_deletion_task.py:51:20
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/tasks/test_mail_change_mail_task.py:50:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/tasks/test_mail_change_mail_task.py:58:20
-ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:94:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:123:20
ERROR Argument `str | Unknown | None` is not assignable to parameter `to` with type `str` in function `celery.app.task.Task.__call__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:382:20
+ --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:384:20
ERROR Argument `str | Unknown | None` is not assignable to parameter `code` with type `str` in function `celery.app.task.Task.__call__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:383:22
+ --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:385:22
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
--> tests/test_containers_integration_tests/tasks/test_mail_human_input_delivery_task.py:107:26
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
@@ -2019,13 +1981,13 @@
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:657:29
+ --> tests/unit_tests/controllers/console/test_admin.py:660:29
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:658:34
+ --> tests/unit_tests/controllers/console/test_admin.py:661:34
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:659:39
+ --> tests/unit_tests/controllers/console/test_admin.py:662:39
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:660:42
+ --> tests/unit_tests/controllers/console/test_admin.py:663:42
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
--> tests/unit_tests/controllers/console/test_extension.py:14:5
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
@@ -2111,25 +2073,25 @@
ERROR Missing argument `user_model` in function `protected_view` [missing-argument]
--> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:244:35
ERROR Missing argument `tenant_model` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:266:44
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:268:44
ERROR Missing argument `user_model` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:266:44
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:268:44
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:294:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:296:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:300:36
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:302:36
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:309:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:311:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:316:31
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:318:31
ERROR Argument `type[TestPluginData.test_should_raise_error_on_invalid_payload.InvalidPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:327:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:329:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:334:31
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:336:31
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:342:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:348:36
ERROR Cannot index into `Iterable[bytes]` [bad-index]
--> tests/unit_tests/controllers/service_api/app/test_audio.py:190:16
ERROR Cannot index into `Response` [bad-index]
@@ -2319,293 +2281,293 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `end_user` with type `EndUser` in function `controllers.web.workflow_events.WorkflowEventsApi.get` [bad-argument-type]
--> tests/unit_tests/controllers/web/test_workflow_events.py:125:65
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:67:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:23
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:69:23
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:72:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:73:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:77:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:78:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:83:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:84:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:89:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:90:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:99:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:100:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:105:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:106:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:111:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:112:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:118:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:119:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:127:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:128:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:132:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:133:71
ERROR `in` is not supported between `Literal['{"foo": "bar"']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:134:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:135:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:145:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:146:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:156:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:157:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:166:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:167:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:171:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:172:71
ERROR `in` is not supported between `Literal['```json {"a":1}']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:173:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:174:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:190:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:191:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:199:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:200:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:209:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:210:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:220:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:221:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:225:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:38
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:227:38
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:246:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:247:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:248:25
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:249:25
ERROR Cannot instantiate `BaseAgentStrategy` because the following members are abstract: `_invoke` [bad-instantiation]
--> tests/unit_tests/core/agent/strategy/test_base.py:46:30
ERROR Argument `None` is not assignable to parameter `user_id` with type `str` in function `core.agent.strategy.base.BaseAgentStrategy.invoke` [bad-argument-type]
--> tests/unit_tests/core/agent/strategy/test_base.py:154:58
ERROR `None` is not assignable to attribute `agent_callback` with type `DifyAgentCallbackHandler` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:79:29
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:80:29
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:284:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:287:31
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:292:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:295:31
ERROR `list[DummyTool]` is not assignable to attribute `_prompt_messages_tools` with type `Sequence[PromptMessageTool]` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:48:37
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:49:37
ERROR `DummyGenerateEntity` is not assignable to attribute `application_generate_entity` with type `AgentChatAppGenerateEntity` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:52:42
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:53:42
ERROR `in` is not supported between `Literal['History']` and `None` [not-iterable]
- --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:166:16
-ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:167:16
-ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:168:16
-ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:169:16
-ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:170:16
-ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:171:16
+ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:172:16
ERROR `Literal[0]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:29:26
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:26
ERROR `Literal[0]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:30
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:30
ERROR `Literal[0]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:25
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:32:25
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:310:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:311:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:330:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:331:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:346:46
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:347:46
ERROR Missing argument `description` in function `core.agent.plugin_entities.AgentStrategyEntity.__init__` [missing-argument]
- --> tests/unit_tests/core/agent/test_plugin_entities.py:280:32
+ --> tests/unit_tests/core/agent/test_plugin_entities.py:281:32
ERROR Invalid key for TypedDict `AppParametersDict`, got `Unknown` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:69:23
ERROR Invalid key for TypedDict `AppParametersDict`, got `str` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:132:27
ERROR Argument `dict[str, dict[str, str]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.agent.manager.AgentConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:27:45
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:28:45
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:72:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:73:16
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:85:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:86:16
ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:160:16
-ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:161:16
-ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:171:16
ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:162:16
+ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:172:16
+ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:173:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:204:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:205:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:212:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:213:16
ERROR Argument `dict[str, dict[str, dict[str, list[Unknown]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:52:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:53:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:67:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:68:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, str] | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:108:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:110:16
-ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:122:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:111:16
+ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:124:16
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:125:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:126:16
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:134:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:135:47
ERROR Argument `dict[str, Unknown | None]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:140:42
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:141:42
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:149:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:151:16
-ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:168:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:152:16
+ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:170:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:171:16
ERROR Argument `dict[str, dict[str, str | dict[str, list[Unknown] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:188:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:189:47
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:198:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:200:16
ERROR Missing required key `opening_statement` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions_after_answer` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `speech_to_text` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `text_to_speech` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `retriever_resource` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `annotation_reply` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `more_like_this` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `sensitive_word_avoidance` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `external_data_tools` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `model` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `user_input_form` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `dataset_query_variable` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `pre_prompt` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `agent_mode` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `prompt_type` for TypedDict `AppModelConfigDict` [bad-typed-dict\n\n... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-05-08 15:53:26.634288238 +0000
+++ /tmp/pyrefly_pr.txt 2026-05-08 15:53:12.573263648 +0000
@@ -602,16 +602,10 @@
--> tasks/regenerate_summary_index_task.py:277:60
ERROR Class member `AsyncWorkflowCFSPlanScheduler.plan` overrides parent class `CFSPlanScheduler` in an inconsistent manner [bad-override-mutable-attribute]
--> tasks/workflow_cfs_scheduler/cfs_scheduler.py:19:5
-ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/integration_tests/controllers/console/app/test_chat_message_permissions.py:31:22
-ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
-ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -855,25 +849,13 @@
ERROR `str` is not assignable to attribute `agent_mode` with type `Never` [bad-assignment]
--> tests/test_containers_integration_tests/services/test_agent_service.py:138:47
ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:249:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:275:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:564:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:565:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:799:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:800:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:894:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:963:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:964:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:1004:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:1005:24
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -911,15 +893,15 @@
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_app_dsl_service.py:161:42
ERROR Argument `Literal['simple']` is not assignable to parameter `prompt_type` with type `PromptType | SQLCoreOperations[PromptType]` in function `models.model.AppModelConfig.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:902:25
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:920:25
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:925:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:943:20
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:960:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:978:20
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1001:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1019:20
ERROR Argument `list[SimpleNamespace]` is not assignable to parameter `dsl_dependencies` with type `list[PluginDependency]` in function `services.app_dsl_service.AppDslService.get_leaked_dependencies` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1287:73
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1305:73
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_app_generate_service.py:184:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -937,113 +919,107 @@
ERROR Argument `Literal['agent-chat']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_app_generate_service.py:954:20
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:82:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:84:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:91:33
+ --> tests/test_containers_integration_tests/services/test_app_service.py:93:33
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:140:42
+ --> tests/test_containers_integration_tests/services/test_app_service.py:142:42
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:145:37
+ --> tests/test_containers_integration_tests/services/test_app_service.py:147:37
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:178:46
+ --> tests/test_containers_integration_tests/services/test_app_service.py:180:46
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:228:36
+ --> tests/test_containers_integration_tests/services/test_app_service.py:230:36
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:237:68
+ --> tests/test_containers_integration_tests/services/test_app_service.py:239:68
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:247:37
+ --> tests/test_containers_integration_tests/services/test_app_service.py:249:37
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:291:43
+ --> tests/test_containers_integration_tests/services/test_app_service.py:293:43
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:292:49
+ --> tests/test_containers_integration_tests/services/test_app_service.py:294:49
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:300:63
+ --> tests/test_containers_integration_tests/services/test_app_service.py:302:63
ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:301:20
+ --> tests/test_containers_integration_tests/services/test_app_service.py:303:20
ERROR Cannot index into `object` [bad-index]
- --> tests/test_containers_integration_tests/services/test_app_service.py:302:16
+ --> tests/test_containers_integration_tests/services/test_app_service.py:304:16
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:311:67
+ --> tests/test_containers_integration_tests/services/test_app_service.py:313:67
ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:312:20
+ --> tests/test_containers_integration_tests/services/test_app_service.py:314:20
ERROR Cannot index into `object` [bad-index]
- --> tests/test_containers_integration_tests/services/test_app_service.py:313:26
+ --> tests/test_containers_integration_tests/services/test_app_service.py:315:26
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:322:61
+ --> tests/test_containers_integration_tests/services/test_app_service.py:324:61
ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:323:20
+ --> tests/test_containers_integration_tests/services/test_app_service.py:325:20
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:357:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:359:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:371:72
+ --> tests/test_containers_integration_tests/services/test_app_service.py:373:72
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:374:61
+ --> tests/test_containers_integration_tests/services/test_app_service.py:376:61
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:392:72
+ --> tests/test_containers_integration_tests/services/test_app_service.py:394:72
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:427:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:429:38
ERROR Argument `dict[str, bool | str]` is not assignable to parameter `args` with type `AppService.ArgsDict` in function `services.app_service.AppService.update_app` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_service.py:451:55
+ --> tests/test_containers_integration_tests/services/test_app_service.py:453:55
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:487:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:489:13
ERROR Missing required key `max_active_requests` for TypedDict `ArgsDict` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/services/test_app_service.py:506:17
+ --> tests/test_containers_integration_tests/services/test_app_service.py:508:17
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:539:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:541:13
ERROR Missing required key `max_active_requests` for TypedDict `ArgsDict` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/services/test_app_service.py:559:21
+ --> tests/test_containers_integration_tests/services/test_app_service.py:561:21
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:599:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:601:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:652:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:654:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:713:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:715:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:773:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:775:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:833:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:835:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:884:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:886:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:897:70
+ --> tests/test_containers_integration_tests/services/test_app_service.py:899:70
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:936:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:938:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:959:70
+ --> tests/test_containers_integration_tests/services/test_app_service.py:961:70
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:996:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:998:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1035:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1037:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1075:38
-ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1082:23
-ERROR Argument `Literal['uuid']` is not assignable to parameter `value` with type `CustomizeTokenStrategy | SQLCoreOperations[CustomizeTokenStrategy]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1084:41
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1077:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1128:36
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1130:36
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1160:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1162:13
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1175:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1177:13
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1190:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1192:13
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1206:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1208:13
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1222:68
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1224:68
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1230:68
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1232:68
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1238:68
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1240:68
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1246:68
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1248:68
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1282:41
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1284:41
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1296:41
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_conversation_service.py:44:18
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1298:41
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_conversation_service_variables.py:47:18
ERROR Object of class `NoneType` has no attribute `quota_used` [missing-attribute]
@@ -1086,8 +1062,6 @@
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:156:29
ERROR Argument `Literal['knowledge']` is not assignable to parameter `type` with type `SQLCoreOperations[TagType] | TagType` in function `models.model.Tag.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:179:18
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_end_user_service.py:38:18
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_file_service.py:69:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
@@ -1654,14 +1628,6 @@
--> tests/test_containers_integration_tests/tasks/test_clean_notion_document_task.py:1063:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/tasks/test_clean_notion_document_task.py:1100:27
-ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:76:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:85:20
-ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:124:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:129:53
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
--> tests/test_containers_integration_tests/tasks/test_deal_dataset_vector_index_task.py:229:16
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
@@ -1811,21 +1777,15 @@
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/tasks/test_enable_segments_to_index_task.py:62:20
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_account_deletion_task.py:50:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_account_deletion_task.py:58:20
+ --> tests/test_containers_integration_tests/tasks/test_mail_account_deletion_task.py:51:20
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/tasks/test_mail_change_mail_task.py:50:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/tasks/test_mail_change_mail_task.py:58:20
-ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:94:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:123:20
ERROR Argument `str | Unknown | None` is not assignable to parameter `to` with type `str` in function `celery.app.task.Task.__call__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:382:20
+ --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:384:20
ERROR Argument `str | Unknown | None` is not assignable to parameter `code` with type `str` in function `celery.app.task.Task.__call__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:383:22
+ --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:385:22
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
--> tests/test_containers_integration_tests/tasks/test_mail_human_input_delivery_task.py:107:26
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
@@ -2019,13 +1979,13 @@
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:657:29
+ --> tests/unit_tests/controllers/console/test_admin.py:660:29
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:658:34
+ --> tests/unit_tests/controllers/console/test_admin.py:661:34
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:659:39
+ --> tests/unit_tests/controllers/console/test_admin.py:662:39
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:660:42
+ --> tests/unit_tests/controllers/console/test_admin.py:663:42
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
--> tests/unit_tests/controllers/console/test_extension.py:14:5
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
@@ -2111,25 +2071,25 @@
ERROR Missing argument `user_model` in function `protected_view` [missing-argument]
--> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:244:35
ERROR Missing argument `tenant_model` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:266:44
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:268:44
ERROR Missing argument `user_model` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:266:44
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:268:44
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:294:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:296:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:300:36
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:302:36
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:309:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:311:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:316:31
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:318:31
ERROR Argument `type[TestPluginData.test_should_raise_error_on_invalid_payload.InvalidPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:327:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:329:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:334:31
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:336:31
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:342:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:348:36
ERROR Cannot index into `Iterable[bytes]` [bad-index]
--> tests/unit_tests/controllers/service_api/app/test_audio.py:190:16
ERROR Cannot index into `Response` [bad-index]
@@ -2319,293 +2279,293 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `end_user` with type `EndUser` in function `controllers.web.workflow_events.WorkflowEventsApi.get` [bad-argument-type]
--> tests/unit_tests/controllers/web/test_workflow_events.py:125:65
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:67:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:23
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:69:23
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:72:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:73:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:77:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:78:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:83:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:84:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:89:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:90:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:99:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:100:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:105:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:106:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:111:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:112:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:118:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:119:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:127:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:128:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:132:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:133:71
ERROR `in` is not supported between `Literal['{"foo": "bar"']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:134:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:135:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:145:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:146:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:156:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:157:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:166:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:167:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:171:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:172:71
ERROR `in` is not supported between `Literal['```json {"a":1}']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:173:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:174:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:190:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:191:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:199:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:200:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:209:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:210:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:220:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:221:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:225:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:38
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:227:38
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:246:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:247:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:248:25
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:249:25
ERROR Cannot instantiate `BaseAgentStrategy` because the following members are abstract: `_invoke` [bad-instantiation]
--> tests/unit_tests/core/agent/strategy/test_base.py:46:30
ERROR Argument `None` is not assignable to parameter `user_id` with type `str` in function `core.agent.strategy.base.BaseAgentStrategy.invoke` [bad-argument-type]
--> tests/unit_tests/core/agent/strategy/test_base.py:154:58
ERROR `None` is not assignable to attribute `agent_callback` with type `DifyAgentCallbackHandler` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:79:29
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:80:29
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:284:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:287:31
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:292:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:295:31
ERROR `list[DummyTool]` is not assignable to attribute `_prompt_messages_tools` with type `Sequence[PromptMessageTool]` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:48:37
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:49:37
ERROR `DummyGenerateEntity` is not assignable to attribute `application_generate_entity` with type `AgentChatAppGenerateEntity` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:52:42
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:53:42
ERROR `in` is not supported between `Literal['History']` and `None` [not-iterable]
- --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:166:16
-ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:167:16
-ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:168:16
-ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:169:16
-ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:170:16
-ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:171:16
+ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:172:16
ERROR `Literal[0]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:29:26
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:26
ERROR `Literal[0]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:30
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:30
ERROR `Literal[0]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:25
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:32:25
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:310:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:311:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:330:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:331:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:346:46
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:347:46
ERROR Missing argument `description` in function `core.agent.plugin_entities.AgentStrategyEntity.__init__` [missing-argument]
- --> tests/unit_tests/core/agent/test_plugin_entities.py:280:32
+ --> tests/unit_tests/core/agent/test_plugin_entities.py:281:32
ERROR Invalid key for TypedDict `AppParametersDict`, got `Unknown` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:69:23
ERROR Invalid key for TypedDict `AppParametersDict`, got `str` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:132:27
ERROR Argument `dict[str, dict[str, str]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.agent.manager.AgentConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:27:45
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:28:45
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:72:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:73:16
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:85:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:86:16
ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:160:16
-ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:161:16
-ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:171:16
ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:162:16
+ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:172:16
+ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:173:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:204:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:205:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:212:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:213:16
ERROR Argument `dict[str, dict[str, dict[str, list[Unknown]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:52:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:53:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:67:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:68:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, str] | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:108:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:110:16
-ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:122:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:111:16
+ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:124:16
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:125:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:126:16
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:134:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:135:47
ERROR Argument `dict[str, Unknown | None]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:140:42
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:141:42
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:149:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:151:16
-ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:168:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:152:16
+ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:170:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:171:16
ERROR Argument `dict[str, dict[str, str | dict[str, list[Unknown] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:188:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:189:47
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:198:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:200:16
ERROR Missing required key `opening_statement` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions_after_answer` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `speech_to_text` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `text_to_speech` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `retriever_resource` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `annotation_reply` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `more_like_this` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `sensitive_word_avoidance` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `external_data_tools` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `model` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `user_input_form` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `dataset_query_variable` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `pre_prompt` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `agent_mode` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `prompt_ty\n\n... (truncated) ... |
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-05-08 15:55:46.830928271 +0000
+++ /tmp/pyrefly_pr.txt 2026-05-08 15:55:38.535895529 +0000
@@ -602,16 +602,10 @@
--> tasks/regenerate_summary_index_task.py:277:60
ERROR Class member `AsyncWorkflowCFSPlanScheduler.plan` overrides parent class `CFSPlanScheduler` in an inconsistent manner [bad-override-mutable-attribute]
--> tasks/workflow_cfs_scheduler/cfs_scheduler.py:19:5
-ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/integration_tests/controllers/console/app/test_chat_message_permissions.py:31:22
-ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/integration_tests/controllers/console/app/test_feedback_export_api.py:32:22
-ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/integration_tests/controllers/console/app/test_model_config_permissions.py:28:22
ERROR Argument `_GP` is not assignable to parameter `graph_init_params` with type `GraphInitParams` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:83:27
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:85:27
ERROR Argument `_GS` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.nodes.datasource.datasource_node.DatasourceNode.__init__` [bad-argument-type]
- --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:84:29
+ --> tests/integration_tests/core/workflow/nodes/datasource/test_datasource_node_integration.py:86:29
ERROR Could not import `Overflow` from `libs.broadcast_channel.channel` [missing-module-attribute]
--> tests/integration_tests/libs/broadcast_channel/redis/utils/test_data.py:11:44
ERROR `unpatch` may be uninitialized [unbound-name]
@@ -855,25 +849,13 @@
ERROR `str` is not assignable to attribute `agent_mode` with type `Never` [bad-assignment]
--> tests/test_containers_integration_tests/services/test_agent_service.py:138:47
ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:249:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:275:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:564:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:565:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:799:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:800:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:894:29
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:963:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:964:24
-ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_agent_service.py:1004:29
ERROR Argument `str | None` is not assignable to parameter `created_by` with type `SQLCoreOperations[str] | str` in function `models.model.MessageAgentThought.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_agent_service.py:1005:24
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -911,15 +893,15 @@
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_app_dsl_service.py:161:42
ERROR Argument `Literal['simple']` is not assignable to parameter `prompt_type` with type `PromptType | SQLCoreOperations[PromptType]` in function `models.model.AppModelConfig.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:902:25
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:920:25
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:925:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:943:20
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:960:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:978:20
ERROR Argument `Literal['workflow']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1001:20
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1019:20
ERROR Argument `list[SimpleNamespace]` is not assignable to parameter `dsl_dependencies` with type `list[PluginDependency]` in function `services.app_dsl_service.AppDslService.get_leaked_dependencies` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1287:73
+ --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1305:73
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/services/test_app_generate_service.py:184:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -937,113 +919,107 @@
ERROR Argument `Literal['agent-chat']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_app_generate_service.py:954:20
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:82:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:83:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:91:33
+ --> tests/test_containers_integration_tests/services/test_app_service.py:92:33
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:140:42
+ --> tests/test_containers_integration_tests/services/test_app_service.py:141:42
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:145:37
+ --> tests/test_containers_integration_tests/services/test_app_service.py:146:37
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:178:46
+ --> tests/test_containers_integration_tests/services/test_app_service.py:179:46
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:228:36
+ --> tests/test_containers_integration_tests/services/test_app_service.py:229:36
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:237:68
+ --> tests/test_containers_integration_tests/services/test_app_service.py:238:68
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:247:37
+ --> tests/test_containers_integration_tests/services/test_app_service.py:248:37
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:291:43
+ --> tests/test_containers_integration_tests/services/test_app_service.py:292:43
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:292:49
+ --> tests/test_containers_integration_tests/services/test_app_service.py:293:49
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:300:63
+ --> tests/test_containers_integration_tests/services/test_app_service.py:301:63
ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:301:20
+ --> tests/test_containers_integration_tests/services/test_app_service.py:302:20
ERROR Cannot index into `object` [bad-index]
- --> tests/test_containers_integration_tests/services/test_app_service.py:302:16
+ --> tests/test_containers_integration_tests/services/test_app_service.py:303:16
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:311:67
+ --> tests/test_containers_integration_tests/services/test_app_service.py:312:67
ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:312:20
+ --> tests/test_containers_integration_tests/services/test_app_service.py:313:20
ERROR Cannot index into `object` [bad-index]
- --> tests/test_containers_integration_tests/services/test_app_service.py:313:26
+ --> tests/test_containers_integration_tests/services/test_app_service.py:314:26
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:322:61
+ --> tests/test_containers_integration_tests/services/test_app_service.py:323:61
ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:323:20
+ --> tests/test_containers_integration_tests/services/test_app_service.py:324:20
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:357:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:358:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:371:72
+ --> tests/test_containers_integration_tests/services/test_app_service.py:372:72
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:374:61
+ --> tests/test_containers_integration_tests/services/test_app_service.py:375:61
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:392:72
+ --> tests/test_containers_integration_tests/services/test_app_service.py:393:72
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:427:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:428:38
ERROR Argument `dict[str, bool | str]` is not assignable to parameter `args` with type `AppService.ArgsDict` in function `services.app_service.AppService.update_app` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_service.py:451:55
+ --> tests/test_containers_integration_tests/services/test_app_service.py:452:55
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:487:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:488:13
ERROR Missing required key `max_active_requests` for TypedDict `ArgsDict` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/services/test_app_service.py:506:17
+ --> tests/test_containers_integration_tests/services/test_app_service.py:507:17
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:539:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:540:13
ERROR Missing required key `max_active_requests` for TypedDict `ArgsDict` [bad-typed-dict-key]
- --> tests/test_containers_integration_tests/services/test_app_service.py:559:21
+ --> tests/test_containers_integration_tests/services/test_app_service.py:560:21
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:599:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:600:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:652:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:653:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:713:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:714:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:773:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:774:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:833:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:834:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:884:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:885:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:897:70
+ --> tests/test_containers_integration_tests/services/test_app_service.py:898:70
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:936:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:937:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:959:70
+ --> tests/test_containers_integration_tests/services/test_app_service.py:960:70
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:996:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:997:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1035:38
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1036:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1075:38
-ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1082:23
-ERROR Argument `Literal['uuid']` is not assignable to parameter `value` with type `CustomizeTokenStrategy | SQLCoreOperations[CustomizeTokenStrategy]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1084:41
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1076:38
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1128:36
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1129:36
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1160:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1161:13
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1175:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1176:13
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1190:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1191:13
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1206:13
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1207:13
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1222:68
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1223:68
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1230:68
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1231:68
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1238:68
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1239:68
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1246:68
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1247:68
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1282:41
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1283:41
ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_app_service.py:1296:41
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_conversation_service.py:44:18
+ --> tests/test_containers_integration_tests/services/test_app_service.py:1297:41
ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_conversation_service_variables.py:47:18
ERROR Object of class `NoneType` has no attribute `quota_used` [missing-attribute]
@@ -1086,8 +1062,6 @@
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:156:29
ERROR Argument `Literal['knowledge']` is not assignable to parameter `type` with type `SQLCoreOperations[TagType] | TagType` in function `models.model.Tag.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:179:18
-ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/services/test_end_user_service.py:38:18
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/services/test_file_service.py:69:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
@@ -1654,14 +1628,6 @@
--> tests/test_containers_integration_tests/tasks/test_clean_notion_document_task.py:1063:23
ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
--> tests/test_containers_integration_tests/tasks/test_clean_notion_document_task.py:1100:27
-ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:76:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_create_segment_to_index_task.py:85:20
-ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:124:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_dataset_indexing_task.py:129:53
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
--> tests/test_containers_integration_tests/tasks/test_deal_dataset_vector_index_task.py:229:16
ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
@@ -1811,21 +1777,15 @@
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/tasks/test_enable_segments_to_index_task.py:62:20
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_account_deletion_task.py:50:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_account_deletion_task.py:58:20
+ --> tests/test_containers_integration_tests/tasks/test_mail_account_deletion_task.py:51:20
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/tasks/test_mail_change_mail_task.py:50:20
ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
--> tests/test_containers_integration_tests/tasks/test_mail_change_mail_task.py:58:20
-ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:94:20
-ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:123:20
ERROR Argument `str | Unknown | None` is not assignable to parameter `to` with type `str` in function `celery.app.task.Task.__call__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:382:20
+ --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:383:20
ERROR Argument `str | Unknown | None` is not assignable to parameter `code` with type `str` in function `celery.app.task.Task.__call__` [bad-argument-type]
- --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:383:22
+ --> tests/test_containers_integration_tests/tasks/test_mail_email_code_login_task.py:384:22
ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
--> tests/test_containers_integration_tests/tasks/test_mail_human_input_delivery_task.py:107:26
ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
@@ -2019,13 +1979,13 @@
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `NoneType` has no attribute `get`
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:657:29
+ --> tests/unit_tests/controllers/console/test_admin.py:660:29
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:658:34
+ --> tests/unit_tests/controllers/console/test_admin.py:661:34
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:659:39
+ --> tests/unit_tests/controllers/console/test_admin.py:662:39
ERROR Object of class `str` has no attribute `get` [missing-attribute]
- --> tests/unit_tests/controllers/console/test_admin.py:660:42
+ --> tests/unit_tests/controllers/console/test_admin.py:663:42
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
--> tests/unit_tests/controllers/console/test_extension.py:14:5
ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
@@ -2111,25 +2071,25 @@
ERROR Missing argument `user_model` in function `protected_view` [missing-argument]
--> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:244:35
ERROR Missing argument `tenant_model` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:266:44
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:268:44
ERROR Missing argument `user_model` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:266:44
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:268:44
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:294:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:296:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:300:36
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:302:36
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:309:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:311:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:316:31
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:318:31
ERROR Argument `type[TestPluginData.test_should_raise_error_on_invalid_payload.InvalidPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:327:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:329:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:334:31
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:336:31
ERROR Argument `type[PluginTestPayload]` is not assignable to parameter `payload_type` with type `type[BaseModel]` in function `controllers.inner_api.plugin.wraps.plugin_data` [bad-argument-type]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:342:35
ERROR Missing argument `payload` in function `protected_view` [missing-argument]
- --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:348:36
ERROR Cannot index into `Iterable[bytes]` [bad-index]
--> tests/unit_tests/controllers/service_api/app/test_audio.py:190:16
ERROR Cannot index into `Response` [bad-index]
@@ -2319,293 +2279,293 @@
ERROR Argument `SimpleNamespace` is not assignable to parameter `end_user` with type `EndUser` in function `controllers.web.workflow_events.WorkflowEventsApi.get` [bad-argument-type]
--> tests/unit_tests/controllers/web/test_workflow_events.py:125:65
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:67:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:68:23
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:69:23
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:72:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:73:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:77:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:78:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:83:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:84:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:89:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:90:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:99:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:100:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:105:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:106:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:111:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:112:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:118:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:119:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:127:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:128:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:132:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:133:71
ERROR `in` is not supported between `Literal['{"foo": "bar"']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:134:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:135:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:145:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:146:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:156:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:157:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:166:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:167:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:171:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:172:71
ERROR `in` is not supported between `Literal['```json {"a":1}']` and `AgentScratchpadUnit.Action` [unsupported-operation]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:173:20
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:174:20
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:190:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:191:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:199:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:200:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:209:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:210:71
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:220:62
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:221:62
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:225:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:226:38
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:227:38
ERROR Argument `list[Unknown]` is not assignable to parameter `llm_response` with type `Generator[LLMResultChunk]` in function `core.agent.output_parser.cot_output_parser.CotAgentOutputParser.handle_react_stream_output` [bad-argument-type]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:246:71
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:247:71
ERROR No matching overload found for function `str.join` called with arguments: (list[AgentScratchpadUnit.Action | str]) [no-matching-overload]
- --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:248:25
+ --> tests/unit_tests/core/agent/output_parser/test_cot_output_parser.py:249:25
ERROR Cannot instantiate `BaseAgentStrategy` because the following members are abstract: `_invoke` [bad-instantiation]
--> tests/unit_tests/core/agent/strategy/test_base.py:46:30
ERROR Argument `None` is not assignable to parameter `user_id` with type `str` in function `core.agent.strategy.base.BaseAgentStrategy.invoke` [bad-argument-type]
--> tests/unit_tests/core/agent/strategy/test_base.py:154:58
ERROR `None` is not assignable to attribute `agent_callback` with type `DifyAgentCallbackHandler` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:79:29
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:80:29
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:284:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:285:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:286:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:287:31
ERROR `Literal[1]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:292:32
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:32
ERROR `Literal[1]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:293:36
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:36
ERROR `Literal[2]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_agent_runner.py:294:31
+ --> tests/unit_tests/core/agent/test_cot_agent_runner.py:295:31
ERROR `list[DummyTool]` is not assignable to attribute `_prompt_messages_tools` with type `Sequence[PromptMessageTool]` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:48:37
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:49:37
ERROR `DummyGenerateEntity` is not assignable to attribute `application_generate_entity` with type `AgentChatAppGenerateEntity` [bad-assignment]
- --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:52:42
+ --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:53:42
ERROR `in` is not supported between `Literal['History']` and `None` [not-iterable]
- --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:166:16
-ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:167:16
-ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:168:16
-ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Action: Act']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:169:16
-ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Observation: Obs']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:170:16
-ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ERROR `in` is not supported between `Literal['Final Answer: Done']` and `None` [not-iterable]
--> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:171:16
+ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
+ --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:172:16
ERROR `Literal[0]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:29:26
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:26
ERROR `Literal[0]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:30:30
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:30
ERROR `Literal[0]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:31:25
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:32:25
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:310:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:311:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:330:57
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:331:57
ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
- --> tests/unit_tests/core/agent/test_fc_agent_runner.py:346:46
+ --> tests/unit_tests/core/agent/test_fc_agent_runner.py:347:46
ERROR Missing argument `description` in function `core.agent.plugin_entities.AgentStrategyEntity.__init__` [missing-argument]
- --> tests/unit_tests/core/agent/test_plugin_entities.py:280:32
+ --> tests/unit_tests/core/agent/test_plugin_entities.py:281:32
ERROR Invalid key for TypedDict `AppParametersDict`, got `Unknown` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:69:23
ERROR Invalid key for TypedDict `AppParametersDict`, got `str` [bad-typed-dict-key]
--> tests/unit_tests/core/app/app_config/common/test_parameters_mapping.py:132:27
ERROR Argument `dict[str, dict[str, str]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.agent.manager.AgentConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:27:45
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:28:45
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:72:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:73:16
ERROR Object of class `NoneType` has no attribute `strategy` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:85:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:86:16
ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:160:16
-ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:161:16
-ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:171:16
ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:162:16
+ERROR Object of class `NoneType` has no attribute `first_prompt` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:172:16
+ERROR Object of class `NoneType` has no attribute `next_iteration` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:173:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:204:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:205:16
ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:212:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_agent_manager.py:213:16
ERROR Argument `dict[str, dict[str, dict[str, list[Unknown]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:52:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:53:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:67:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:68:47
ERROR Argument `dict[str, str | dict[str, str | dict[str, str] | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:108:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:109:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:110:16
-ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:122:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:111:16
+ERROR Argument `dict[str, dict[str, str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:123:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:124:16
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:125:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:126:16
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:134:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:135:47
ERROR Argument `dict[str, Unknown | None]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:140:42
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:141:42
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:149:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:150:16
-ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:151:16
-ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:168:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:152:16
+ERROR Argument `dict[str, str | dict[str, bool | float | int | str | dict[str, list[dict[str, dict[str, bool | Unknown]]] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:169:47
ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
--> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:170:16
+ERROR Object of class `NoneType` has no attribute `retrieve_config` [missing-attribute]
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:171:16
ERROR Argument `dict[str, dict[str, str | dict[str, list[Unknown] | str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:188:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:189:47
ERROR Argument `dict[str, dict[str, bool | list[dict[str, dict[str, bool | Unknown]]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.dataset.manager.DatasetConfigManager.convert` [bad-argument-type]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:198:47
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:47
ERROR Object of class `NoneType` has no attribute `dataset_ids` [missing-attribute]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:199:16
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_dataset_manager.py:200:16
ERROR Missing required key `opening_statement` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `suggested_questions_after_answer` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `speech_to_text` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `text_to_speech` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `retriever_resource` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `annotation_reply` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `more_like_this` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `sensitive_word_avoidance` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `external_data_tools` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `model` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `user_input_form` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `dataset_query_variable` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `pre_prompt` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `agent_mode` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
- --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:71:40
+ --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:72:40
ERROR Missing required key `prompt_ty\n\n... (truncated) ... |
WH-2099
approved these changes
May 9, 2026
5 tasks
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
Screenshots
Checklist
make lint && make type-check(backend) andcd web && pnpm exec vp staged(frontend) to appease the lint gods