Files
biz-bud/complex_errors.txt
Travis Vasceannie 32fcab7a79 Tests (#56)
* fix: resolve linting issues for clean test runs

- Fix flake8 PT011 errors by adding match parameters to pytest.raises
- Fix flake8 PT012 error by restructuring pytest.raises block
- Fix pyrefly type checking errors in cache_manager.py
- Address trailing whitespace issues

These fixes ensure pre-commit hooks pass cleanly, enabling successful
test commits and maintaining code quality standards.

* fix: correct config validation test expectations

* fix: adjust config reload test expectations for environment override behavior

* fix: correct LLM client test expectations and error handling

- Fix test_call_model_node_list_content to expect 'a b' instead of "['a', 'b']"
- Fix builtins import issue in provider exception tests
- Fix LLMExceptionHandler patch path from call module to core.errors.llm_exceptions
- Adjust provider exception tests to validate user-friendly error messages
- These fixes align tests with actual LLM content processing and error handling behavior

* fix: additional LLM test error categorization improvements

- Fix test_call_model_node_llm_error_categorization to match actual error message format
- Simplify error categorization assertions to focus on core functionality
- Remove overly specific assertions about logging call structure
- These changes improve test stability while maintaining error handling validation

* fix: resolve concurrency and race condition issues across codebase

- Remove threading.Lock from lazy_loader.py in favor of pure async patterns
- Simplify weak reference handling by removing complex callbacks
- Remove LazyProxy and ThreadSafeLazyLoader classes (no longer needed)
- Fix race condition in Redis backend by adding initialization lock
- Make cleanup_registry concurrency configurable via ServiceConfig
- Remove sync cache methods and fix CancelledError handling in decorators
- Add ServiceConfig with timeout and concurrency settings to AppConfig
- Remove complex cleanup tracking from ServiceFactory
- Fix cache decorator to use lazy initialization pattern
- Update all tests to use new async-only implementations

This refactoring improves code quality by:
- Eliminating mixed threading/async patterns that could cause deadlocks
- Simplifying cleanup logic to avoid nested timeouts
- Making system behavior configurable instead of hardcoded
- Removing backwards compatibility code for cleaner implementation

* docs: update documentation and audit script for async-only patterns

- Update audit_core_dependencies.py to check for deprecated patterns
  - Add threading.Lock to disallowed imports
  - Add ThreadSafeLazyLoader, LazyProxy, ThreadSafeFactoryManager to disallowed instantiations
  - Add ImportFrom check for threading.Lock
- Update core README.md with AsyncSafeLazyLoader and AsyncFactoryManager documentation
  - Add new section on async-safe lazy loading utilities
  - Add best practices for async patterns
- Fix references to old patterns in documentation files
  - Update CACHING_GUIDELINES.md to use cleanup_cache_singletons
  - Update AGENTS.md to reference AsyncSafeLazyLoader
  - Fix comment in graph.py referencing LazyProxy
- Note: Found remaining threading.Lock uses in logging and error modules for future cleanup

* fix: add missing ErrorNamespace constants and fix error type validation

- Add CFG_INVALID_CONFIG and UNK_GENERAL_ERROR to ErrorNamespace enum
- Add these constants to the error registry mappings
- Fix error type validation in create_error_dict_from_incomplete to ensure strings
- Remaining pyrefly errors are false positives about missing returns
- Fixed trailing whitespace

* refactor: improve control flow clarity for static analysis

- Add explicit None checks before awaiting tasks to help pyrefly understand control flow
- Initialize task variables with None to make assignment tracking clearer
- Add StateError raises when tasks are unexpectedly None
- Remaining pyrefly 'missing return' errors are false positives where all paths do return
- Fixed trailing whitespace

* docs: update services README to highlight async-only architecture

- Add key features section highlighting pure async patterns
- Note race-condition-free initialization in ServiceFactory description
- Document weak reference usage in global factory management
- Add async patterns section to best practices
- Emphasize no threading is needed with proper asyncio usage

* refactor: improve cache key generation and lock management in decorators.py

* refactor: optimize test performance with list comprehensions and parallel execution

* fix: add type hints and fix type errors in test files

* refactor: consolidate validation tests using pytest parametrize and helper functions

* refactor: replace SimpleNamespace with proper callable wrapper classes in test fixtures
2025-08-05 13:03:53 -04:00

1627 lines
185 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/app/src/biz_bud/core/utils/lazy_loader.py
/app/src/biz_bud/core/utils/lazy_loader.py:158:28 - error: Type "Any | object*" is not assignable to return type "T@AsyncFactoryManager"
  Type "Any | object*" is not assignable to type "T@AsyncFactoryManager" (reportReturnType)
/app/src/biz_bud/graphs/research/graph.py
/app/src/biz_bud/graphs/research/graph.py:219:16 - error: Type "_AsyncGeneratorContextManager[AsyncPostgresSaver, None]" is not assignable to return type "AsyncPostgresSaver | None"
  Type "_AsyncGeneratorContextManager[AsyncPostgresSaver, None]" is not assignable to type "AsyncPostgresSaver | None"
    "_AsyncGeneratorContextManager[AsyncPostgresSaver, None]" is not assignable to "AsyncPostgresSaver"
    "_AsyncGeneratorContextManager[AsyncPostgresSaver, None]" is not assignable to "None" (reportReturnType)
/app/tests/unit_tests/core/config/test_loader_comprehensive.py
/app/tests/unit_tests/core/config/test_loader_comprehensive.py:221:34 - error: "openai_api_key" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_loader_comprehensive.py:222:39 - error: "postgres_host" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_loader_comprehensive.py:232:34 - error: "openai_api_key" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_loader_comprehensive.py:566:34 - error: "openai_api_key" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_loader_comprehensive.py:638:42 - error: "openai_api_key" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_loader_comprehensive.py:641:42 - error: "max_retries" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:40:13 - error: Arguments missing for parameters "name", "zip_code" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:43:13 - error: Argument missing for parameter "zip_code" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:46:13 - error: Argument missing for parameter "name" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:80:23 - error: Argument missing for parameter "table" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:178:16 - error: Operator ">" not supported for "None" (reportOptionalOperand)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:179:16 - error: Operator "<" not supported for "None" (reportOptionalOperand)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:205:34 - error: Cannot access attribute "connection_string" for class "DatabaseConfigModel"
  Attribute "connection_string" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:229:24 - error: Argument missing for parameter "redis_url" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:239:13 - error: Argument missing for parameter "redis_url" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:242:24 - error: Argument missing for parameter "redis_url" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:265:24 - error: Arguments missing for parameters "proxy_username", "proxy_password" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:274:24 - error: Arguments missing for parameters "proxy_username", "proxy_password" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:289:22 - error: Argument missing for parameter "default_profile" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:307:22 - error: Argument missing for parameter "default_profile" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:322:13 - error: Argument missing for parameter "default_profile" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:325:13 - error: Argument missing for parameter "default_profile" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:329:13 - error: Argument missing for parameter "default_profile" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:332:13 - error: Argument missing for parameter "default_profile" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:337:22 - error: Argument missing for parameter "default_profile" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:347:13 - error: Argument missing for parameter "default_profile" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:350:13 - error: Argument missing for parameter "default_profile" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:358:24 - error: Arguments missing for parameters "default_llm_profile", "default_initial_user_query", "system_prompt" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:372:24 - error: Arguments missing for parameters "default_llm_profile", "default_initial_user_query", "system_prompt", "max_iterations", "timeout" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:384:13 - error: Arguments missing for parameters "default_llm_profile", "default_initial_user_query", "system_prompt", "timeout" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:387:13 - error: Arguments missing for parameters "default_llm_profile", "default_initial_user_query", "system_prompt", "timeout" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:391:13 - error: Arguments missing for parameters "default_llm_profile", "default_initial_user_query", "system_prompt", "max_iterations" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:413:26 - error: Argument missing for parameter "log_level" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:437:24 - error: Arguments missing for parameters "search", "extract" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:451:24 - error: Arguments missing for parameters "search", "extract" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:461:13 - error: Arguments missing for parameters "search", "extract" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:464:13 - error: Arguments missing for parameters "search", "extract" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:510:23 - error: Arguments missing for parameters "web_time_window", "llm_time_window", "max_concurrent_connections", "max_connections_per_host" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:522:23 - error: Arguments missing for parameters "web_time_window", "llm_time_window", "max_concurrent_connections", "max_connections_per_host" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:533:13 - error: Arguments missing for parameters "web_time_window", "llm_time_window", "max_concurrent_connections", "max_connections_per_host" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:536:13 - error: Arguments missing for parameters "web_time_window", "llm_time_window", "max_concurrent_connections", "max_connections_per_host" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:544:17 - error: Arguments missing for parameters "enable_advanced_reasoning", "enable_streaming_response", "enable_tool_caching", "enable_parallel_tools", "enable_memory_optimization" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:556:17 - error: Arguments missing for parameters "enable_advanced_reasoning", "enable_streaming_response", "enable_tool_caching", "enable_parallel_tools", "enable_memory_optimization" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:570:22 - error: Arguments missing for parameters "proxy_config", "rate_limits", "feature_flags", "telemetry_config", "redis_config" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:573:24 - error: Argument missing for parameter "default_profile" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:574:26 - error: Arguments missing for parameters "default_llm_profile", "default_initial_user_query", "system_prompt", "max_iterations", "timeout" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:592:22 - error: Arguments missing for parameters "api_config", "database_config", "proxy_config", "rate_limits", "feature_flags", "telemetry_config", "redis_config" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:608:22 - error: Arguments missing for parameters "database_config", "proxy_config", "rate_limits", "feature_flags", "telemetry_config", "redis_config" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:610:24 - error: Argument missing for parameter "default_profile" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:614:38 - error: "openai_api_key" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:623:27 - error: Arguments missing for parameters "database_config", "proxy_config", "rate_limits", "feature_flags", "telemetry_config", "redis_config" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:625:24 - error: Argument missing for parameter "default_profile" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:636:43 - error: "openai_api_key" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:644:13 - error: Arguments missing for parameters "api_config", "database_config", "proxy_config", "rate_limits", "feature_flags", "telemetry_config", "redis_config" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:645:28 - error: Argument missing for parameter "default_profile" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:649:13 - error: Arguments missing for parameters "api_config", "proxy_config", "rate_limits", "feature_flags", "telemetry_config", "redis_config" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:655:19 - error: Arguments missing for parameters "database_config", "proxy_config", "rate_limits", "feature_flags", "telemetry_config", "redis_config" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:659:19 - error: Arguments missing for parameters "database_config", "proxy_config", "rate_limits", "feature_flags", "telemetry_config", "redis_config" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:664:35 - error: "openai_api_key" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:664:72 - error: "openai_api_key" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:680:23 - error: Arguments missing for parameters "proxy_config", "telemetry_config", "redis_config" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:691:24 - error: Argument missing for parameter "default_profile" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:696:26 - error: Arguments missing for parameters "default_llm_profile", "default_initial_user_query", "system_prompt" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:705:19 - error: Arguments missing for parameters "search", "extract" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:710:25 - error: Arguments missing for parameters "web_time_window", "llm_time_window", "max_concurrent_connections", "max_connections_per_host" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:714:27 - error: Arguments missing for parameters "enable_advanced_reasoning", "enable_streaming_response", "enable_tool_caching", "enable_parallel_tools", "enable_memory_optimization" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:721:39 - error: "openai_api_key" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:722:44 - error: "postgres_host" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:726:34 - error: "enable_search" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:727:40 - error: "requests_per_minute" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:728:42 - error: "enable_debug_mode" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:736:43 - error: "openai_api_key" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:742:18 - error: Arguments missing for parameters "database_config", "proxy_config", "rate_limits", "feature_flags", "telemetry_config", "redis_config" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:743:26 - error: Arguments missing for parameters "default_llm_profile", "default_initial_user_query", "system_prompt", "max_iterations" (reportCallIssue)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:749:34 - error: "timeout" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:771:34 - error: "openai_api_key" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:772:34 - error: "max_retries" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/config/test_schemas_comprehensive.py:775:39 - error: "postgres_port" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:142:34 - error: Argument of type "ObjectState" cannot be assigned to parameter "state" of type "dict[str, Any] | StateProtocol" in function "should_continue"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:302:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:316:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:416:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:430:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:506:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:534:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:597:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:619:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:633:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:653:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:674:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:696:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:761:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:793:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:893:41 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:898:37 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:903:43 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:1063:34 - error: Argument of type "ObjectState" cannot be assigned to parameter "state" of type "dict[str, Any] | StateProtocol" in function "should_continue"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:1068:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:1073:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:1078:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:1083:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:1088:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_flow_control.py:1095:9 - error: Argument of type "list[dict[str, str]]" cannot be assigned to parameter "value" of type "str" in function "__setitem__"
  "list[dict[str, str]]" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:194:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:281:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:310:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:424:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:541:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:550:50 - error: Argument of type "dict[str, dict[str, int]]" cannot be assigned to parameter "rate_limits" of type "dict[str, dict[str, float]] | None" in function "check_rate_limiting"
  Type "dict[str, dict[str, int]]" is not assignable to type "dict[str, dict[str, float]] | None"
    "dict[str, dict[str, int]]" is not assignable to "dict[str, dict[str, float]]"
      Type parameter "_VT@dict" is invariant, but "dict[str, int]" is not the same as "dict[str, float]"
      Consider switching from "dict" to "Mapping" which is covariant in the value type
    "dict[str, dict[str, int]]" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:566:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:721:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:750:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:791:15 - error: Cannot assign to attribute "node_status" for class "ObjectState"
  Attribute "node_status" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:795:15 - error: Cannot assign to attribute "current_node_index" for class "ObjectState"
  Attribute "current_node_index" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:797:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:877:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:1077:33 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:1082:43 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:1088:39 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:1093:41 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:1098:39 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:1178:27 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:1181:32 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:1184:30 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:1187:28 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:1190:31 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_monitoring.py:1193:30 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:232:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:337:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:497:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:512:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:654:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:742:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:947:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1050:15 - error: Cannot assign to attribute "human_interrupt" for class "ObjectState"
  Attribute "human_interrupt" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1051:15 - error: Cannot assign to attribute "status" for class "ObjectState"
  Attribute "status" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1052:15 - error: Cannot assign to attribute "notify_user" for class "ObjectState"
  Attribute "notify_user" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1053:15 - error: Cannot assign to attribute "security_issue" for class "ObjectState"
  Attribute "security_issue" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1054:15 - error: Cannot assign to attribute "critical_error" for class "ObjectState"
  Attribute "critical_error" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1055:15 - error: Cannot assign to attribute "user" for class "ObjectState"
  Attribute "user" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1056:15 - error: Cannot assign to attribute "pending_user_input" for class "ObjectState"
  Attribute "pending_user_input" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1057:15 - error: Cannot assign to attribute "input_type" for class "ObjectState"
  Attribute "input_type" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1061:45 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1066:43 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1071:35 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1076:37 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1153:33 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1156:30 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1159:32 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1162:32 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1165:28 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1168:29 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1261:9 - error: Argument of type "Literal[True]" cannot be assigned to parameter "value" of type "str | dict[str, str | list[str]]" in function "__setitem__"
  Type "Literal[True]" is not assignable to type "str | dict[str, str | list[str]]"
    "Literal[True]" is not assignable to "str"
    "Literal[True]" is not assignable to "dict[str, str | list[str]]" (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1270:9 - error: Argument of type "Literal[True]" cannot be assigned to parameter "value" of type "str | dict[str, str | list[str]]" in function "__setitem__"
  Type "Literal[True]" is not assignable to type "str | dict[str, str | list[str]]"
    "Literal[True]" is not assignable to "str"
    "Literal[True]" is not assignable to "dict[str, str | list[str]]" (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1295:9 - error: Argument of type "Literal[True]" cannot be assigned to parameter "value" of type "Mock" in function "__setitem__"
  "Literal[True]" is not assignable to "Mock" (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_user_interaction.py:1301:9 - error: Argument of type "Literal[True]" cannot be assigned to parameter "value" of type "Mock" in function "__setitem__"
  "Literal[True]" is not assignable to "Mock" (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py
/app/tests/unit_tests/core/edge_helpers/test_validation.py:148:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py:176:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py:253:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py:612:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py:660:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py:805:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py:1019:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py:1037:25 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py:1173:32 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py:1176:34 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py:1179:30 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py:1182:31 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py:1185:33 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py:1188:30 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py:1191:30 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/edge_helpers/test_validation.py:1194:31 - error: Argument of type "ObjectState" cannot be assigned to parameter of type "dict[str, Any] | StateProtocol"
  Type "ObjectState" is not assignable to type "dict[str, Any] | StateProtocol"
    "ObjectState" is not assignable to "dict[str, Any]"
    "ObjectState" is incompatible with protocol "StateProtocol"
      "get" is not present (reportArgumentType)
/app/tests/unit_tests/core/errors/test_aggregator.py
/app/tests/unit_tests/core/errors/test_aggregator.py:371:16 - error: Operator "in" not supported for types "Literal['Duplicate error suppressed']" and "str | None"
  Operator "in" not supported for types "Literal['Duplicate error suppressed']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/errors/test_aggregator.py:410:24 - error: Operator "in" not supported for types "Literal['Rate limit exceeded']" and "str | None"
  Operator "in" not supported for types "Literal['Rate limit exceeded']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/errors/test_aggregator.py:631:9 - error: Could not assign item in TypedDict
  "None" is not assignable to "dict[str, Any]" (reportGeneralTypeIssues)
/app/tests/unit_tests/core/errors/test_aggregator.py:735:24 - error: Variable "reason" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_aggregator.py:735:64 - error: Argument of type "dict[str, str]" cannot be assigned to parameter "error" of type "ErrorInfo" in function "should_report_error"
  "dict[str, str]" is not assignable to "ErrorInfo" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_aggregator.py:796:18 - error: Operator "in" not supported for types "Literal['Global rate limit']" and "str | None"
  Operator "in" not supported for types "Literal['Global rate limit']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/errors/test_formatter.py
/app/tests/unit_tests/core/errors/test_formatter.py:133:24 - error: Variable "for_user" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_formatter.py:323:48 - error: Argument of type "None" cannot be assigned to parameter "exception" of type "Exception" in function "categorize_error"
  "None" is not assignable to "Exception" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_formatter.py:350:23 - error: Variable "namespace" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_formatter.py:404:15 - error: Argument of type "str" cannot be assigned to parameter "exception" of type "Exception | None" in function "create_formatted_error"
  Type "str" is not assignable to type "Exception | None"
    "str" is not assignable to "Exception"
    "str" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_formatter.py:492:40 - error: Argument of type "dict[str, str | ErrorNamespace | dict[str, str] | None]" cannot be assigned to parameter "error" of type "ErrorInfo" in function "format_error_for_user"
  "dict[str, str | ErrorNamespace | dict[str, str] | None]" is not assignable to "ErrorInfo" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_formatter.py:510:40 - error: Argument of type "dict[str, str | ErrorNamespace | dict[Unknown, Unknown] | None]" cannot be assigned to parameter "error" of type "ErrorInfo" in function "format_error_for_user"
  "dict[str, str | ErrorNamespace | dict[Unknown, Unknown] | None]" is not assignable to "ErrorInfo" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_formatter.py:531:9 - error: Variable "category" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_formatter.py:585:23 - error: Variable "namespace" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_handler.py
/app/tests/unit_tests/core/errors/test_handler.py:217:23 - error: Variable "reason" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_handler.py:282:23 - error: Variable "reason" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_handler.py:303:23 - error: Variable "reason" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_handler.py:324:35 - error: Variable "reason" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_handler.py:331:27 - error: Variable "kwargs" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_handler.py:540:15 - error: Argument of type "str" cannot be assigned to parameter "deduplicate" of type "bool" in function "create_and_add_error"
  "str" is not assignable to "bool" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_handler.py:540:15 - error: Argument of type "str" cannot be assigned to parameter "aggregate" of type "bool" in function "create_and_add_error"
  "str" is not assignable to "bool" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_handler.py:540:15 - error: Argument of type "str" cannot be assigned to parameter "route" of type "bool" in function "create_and_add_error"
  "str" is not assignable to "bool" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_handler.py:540:15 - error: Argument of type "str" cannot be assigned to parameter "error_code" of type "ErrorNamespace | None" in function "create_and_add_error"
  Type "str" is not assignable to type "ErrorNamespace | None"
    "str" is not assignable to "ErrorNamespace"
    "str" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_handler.py:540:15 - error: Argument of type "str" cannot be assigned to parameter "exception" of type "Exception | None" in function "create_and_add_error"
  Type "str" is not assignable to type "Exception | None"
    "str" is not assignable to "Exception"
    "str" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_handler.py:657:16 - error: Operator "in" not supported for types "Literal['Critical threshold exceeded']" and "str | None"
  Operator "in" not supported for types "Literal['Critical threshold exceeded']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/errors/test_handler.py:676:16 - error: Operator "in" not supported for types "Literal['Total threshold exceeded']" and "str | None"
  Operator "in" not supported for types "Literal['Total threshold exceeded']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/errors/test_handler.py:739:16 - error: Could not access item in TypedDict
  "id" is not a defined key in "ErrorInfo" (reportGeneralTypeIssues)
/app/tests/unit_tests/core/errors/test_handler.py:766:16 - error: Could not access item in TypedDict
  "id" is not a defined key in "ErrorInfo" (reportGeneralTypeIssues)
/app/tests/unit_tests/core/errors/test_handler.py:767:16 - error: Could not access item in TypedDict
  "id" is not a defined key in "ErrorInfo" (reportGeneralTypeIssues)
/app/tests/unit_tests/core/errors/test_handler.py:911:40 - error: Argument of type "None" cannot be assigned to parameter "error" of type "ErrorInfo | dict[str, Any]" in function "report_error"
  Type "None" is not assignable to type "ErrorInfo | dict[str, Any]"
    "None" is not assignable to "ErrorInfo"
    "None" is not assignable to "dict[str, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_handler.py:949:43 - error: Variable "reason" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_handler.py:1001:35 - error: Variable "reason" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_integration.py
/app/tests/unit_tests/core/errors/test_integration.py:92:9 - error: Argument of type "Literal[ErrorSeverity.ERROR]" cannot be assigned to parameter "status_code" of type "int | None" in function "__init__"
  Type "Literal[ErrorSeverity.ERROR]" is not assignable to type "int | None"
    "Literal[ErrorSeverity.ERROR]" is not assignable to "int"
    "Literal[ErrorSeverity.ERROR]" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:93:9 - error: Argument of type "ErrorContext" cannot be assigned to parameter "url" of type "str | None" in function "__init__"
  Type "ErrorContext" is not assignable to type "str | None"
    "ErrorContext" is not assignable to "str"
    "ErrorContext" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:103:9 - error: Argument of type "Literal[ErrorSeverity.WARNING]" cannot be assigned to parameter "retry_after" of type "float | None" in function "__init__"
  Type "Literal[ErrorSeverity.WARNING]" is not assignable to type "float | None"
    "Literal[ErrorSeverity.WARNING]" is not assignable to "float"
    "Literal[ErrorSeverity.WARNING]" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:104:9 - error: Argument of type "ErrorContext" cannot be assigned to parameter "limit" of type "int | None" in function "__init__"
  Type "ErrorContext" is not assignable to type "int | None"
    "ErrorContext" is not assignable to "int"
    "ErrorContext" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:105:35 - error: Cannot access attribute "LLM_RATE_LIMIT" for class "type[ErrorNamespace]"
  Attribute "LLM_RATE_LIMIT" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/core/errors/test_integration.py:232:21 - error: Variable "result" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_integration.py:248:65 - error: Expected type arguments for generic class "dict" (reportMissingTypeArgument)
/app/tests/unit_tests/core/errors/test_integration.py:253:13 - error: "__setitem__" method not defined on type "object" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_integration.py:254:32 - error: Argument of type "object" cannot be assigned to parameter "message" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:254:32 - error: Argument of type "object" cannot be assigned to parameter "error_type" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:254:32 - error: Argument of type "object" cannot be assigned to parameter "node" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:254:32 - error: Argument of type "object" cannot be assigned to parameter "severity" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:254:32 - error: Argument of type "object" cannot be assigned to parameter "category" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:254:32 - error: Argument of type "object" cannot be assigned to parameter "timestamp" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:254:32 - error: Argument of type "object" cannot be assigned to parameter "context" of type "dict[str, Any]" in function "__init__"
  "object" is not assignable to "dict[str, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:254:32 - error: Argument of type "object" cannot be assigned to parameter "traceback" of type "str | None" in function "__init__"
  Type "object" is not assignable to type "str | None"
    "object" is not assignable to "str"
    "object" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:279:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/errors/test_integration.py:485:60 - error: Expected type arguments for generic class "dict" (reportMissingTypeArgument)
/app/tests/unit_tests/core/errors/test_integration.py:493:54 - error: Argument of type "list[str]" cannot be assigned to parameter "categories" of type "list[ErrorCategory] | None" in function "__init__"
  "Literal['rate_limit']" is not assignable to "ErrorCategory" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:517:16 - error: Operator ">" not supported for "None" (reportOptionalOperand)
/app/tests/unit_tests/core/errors/test_integration.py:554:16 - error: Operator ">" not supported for "None" (reportOptionalOperand)
/app/tests/unit_tests/core/errors/test_integration.py:653:58 - error: Expected type arguments for generic class "dict" (reportMissingTypeArgument)
/app/tests/unit_tests/core/errors/test_integration.py:657:61 - error: Expected type arguments for generic class "dict" (reportMissingTypeArgument)
/app/tests/unit_tests/core/errors/test_integration.py:705:63 - error: Expected type arguments for generic class "dict" (reportMissingTypeArgument)
/app/tests/unit_tests/core/errors/test_integration.py:716:13 - error: "__setitem__" method not defined on type "object" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_integration.py:717:32 - error: Argument of type "object" cannot be assigned to parameter "message" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:717:32 - error: Argument of type "object" cannot be assigned to parameter "error_type" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:717:32 - error: Argument of type "object" cannot be assigned to parameter "node" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:717:32 - error: Argument of type "object" cannot be assigned to parameter "severity" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:717:32 - error: Argument of type "object" cannot be assigned to parameter "category" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:717:32 - error: Argument of type "object" cannot be assigned to parameter "timestamp" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:717:32 - error: Argument of type "object" cannot be assigned to parameter "context" of type "dict[str, Any]" in function "__init__"
  "object" is not assignable to "dict[str, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:717:32 - error: Argument of type "object" cannot be assigned to parameter "traceback" of type "str | None" in function "__init__"
  Type "object" is not assignable to type "str | None"
    "object" is not assignable to "str"
    "object" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:747:9 - error: Variable "action1" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_integration.py:751:9 - error: Variable "action2" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_integration.py:755:9 - error: Variable "action3" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_integration.py:939:62 - error: Expected type arguments for generic class "dict" (reportMissingTypeArgument)
/app/tests/unit_tests/core/errors/test_integration.py:943:13 - error: "__setitem__" method not defined on type "object" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_integration.py:944:32 - error: Argument of type "object" cannot be assigned to parameter "message" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:944:32 - error: Argument of type "object" cannot be assigned to parameter "error_type" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:944:32 - error: Argument of type "object" cannot be assigned to parameter "node" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:944:32 - error: Argument of type "object" cannot be assigned to parameter "severity" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:944:32 - error: Argument of type "object" cannot be assigned to parameter "category" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:944:32 - error: Argument of type "object" cannot be assigned to parameter "timestamp" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:944:32 - error: Argument of type "object" cannot be assigned to parameter "context" of type "dict[str, Any]" in function "__init__"
  "object" is not assignable to "dict[str, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:944:32 - error: Argument of type "object" cannot be assigned to parameter "traceback" of type "str | None" in function "__init__"
  Type "object" is not assignable to type "str | None"
    "object" is not assignable to "str"
    "object" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:946:62 - error: Expected type arguments for generic class "dict" (reportMissingTypeArgument)
/app/tests/unit_tests/core/errors/test_integration.py:950:13 - error: "__setitem__" method not defined on type "object" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_integration.py:951:32 - error: Argument of type "object" cannot be assigned to parameter "message" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:951:32 - error: Argument of type "object" cannot be assigned to parameter "error_type" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:951:32 - error: Argument of type "object" cannot be assigned to parameter "node" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:951:32 - error: Argument of type "object" cannot be assigned to parameter "severity" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:951:32 - error: Argument of type "object" cannot be assigned to parameter "category" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:951:32 - error: Argument of type "object" cannot be assigned to parameter "timestamp" of type "str" in function "__init__"
  "object" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:951:32 - error: Argument of type "object" cannot be assigned to parameter "context" of type "dict[str, Any]" in function "__init__"
  "object" is not assignable to "dict[str, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:951:32 - error: Argument of type "object" cannot be assigned to parameter "traceback" of type "str | None" in function "__init__"
  Type "object" is not assignable to type "str | None"
    "object" is not assignable to "str"
    "object" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:958:36 - error: Argument of type "(e: ErrorInfo) -> (Any | None)" cannot be assigned to parameter "custom_matcher" of type "((ErrorInfo) -> bool) | None" in function "__init__"
  Type "(e: ErrorInfo) -> (Any | None)" is not assignable to type "((ErrorInfo) -> bool) | None"
    Type "(e: ErrorInfo) -> (Any | None)" is not assignable to type "(ErrorInfo) -> bool"
      Function return type "Any | None" is incompatible with type "bool"
        Type "Any | None" is not assignable to type "bool"
          "None" is not assignable to "bool"
    "FunctionType" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:970:36 - error: Argument of type "(e: ErrorInfo) -> (Any | None)" cannot be assigned to parameter "custom_matcher" of type "((ErrorInfo) -> bool) | None" in function "__init__"
  Type "(e: ErrorInfo) -> (Any | None)" is not assignable to type "((ErrorInfo) -> bool) | None"
    Type "(e: ErrorInfo) -> (Any | None)" is not assignable to type "(ErrorInfo) -> bool"
      Function return type "Any | None" is incompatible with type "bool"
        Type "Any | None" is not assignable to type "bool"
          "None" is not assignable to "bool"
    "FunctionType" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_integration.py:1072:17 - error: Variable "result" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_integration.py:1080:62 - error: Expected type arguments for generic class "dict" (reportMissingTypeArgument)
/app/tests/unit_tests/core/errors/test_integration.py:1101:17 - error: Variable "result" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_llm_exceptions.py
/app/tests/unit_tests/core/errors/test_llm_exceptions.py:89:11 - error: Cannot assign to attribute "retry_after" for class "RateLimitError"
  Attribute "retry_after" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/core/errors/test_llm_exceptions.py:106:11 - error: Cannot assign to attribute "retry_after" for class "RateLimitError"
  Attribute "retry_after" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/core/errors/test_logger.py
/app/tests/unit_tests/core/errors/test_logger.py:565:31 - error: "total_errors" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/errors/test_logger.py:566:31 - error: "errors_by_category" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/errors/test_logger.py:657:25 - error: Argument of type "list[dict[Unknown, Unknown]]" cannot be assigned to parameter "samples" of type "list[ErrorInfo]" in function "log_aggregated_error"
  "list[dict[Unknown, Unknown]]" is not assignable to "list[ErrorInfo]"
    Type parameter "_T@list" is invariant, but "dict[Unknown, Unknown]" is not the same as "ErrorInfo"
    Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
/app/tests/unit_tests/core/errors/test_logger.py:666:24 - error: "total_errors" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/errors/test_logger.py:667:24 - error: "errors_by_category" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/errors/test_logger.py:668:24 - error: "errors_by_severity" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/errors/test_logger.py:669:24 - error: "avg_duration_ms" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/errors/test_logger.py:690:24 - error: "total_errors" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/errors/test_logger.py:730:57 - error: Argument of type "Literal['unknown']" cannot be assigned to parameter "format" of type "LogFormat" in function "_format_entry"
  "Literal['unknown']" is not assignable to "LogFormat" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_logger.py:851:30 - error: Argument of type "dict[Unknown, Unknown]" cannot be assigned to parameter "error" of type "ErrorInfo" in function "log_error"
  "dict[Unknown, Unknown]" is not assignable to "ErrorInfo" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_logger.py:855:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/errors/test_logger.py:856:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/errors/test_logger.py:857:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/errors/test_logger.py:858:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/errors/test_logger.py:859:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/errors/test_logger.py:889:31 - error: "total_errors" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/errors/test_logger.py:902:34 - error: Argument of type "dict[Unknown, Unknown]" cannot be assigned to parameter "error" of type "ErrorInfo" in function "log_error"
  "dict[Unknown, Unknown]" is not assignable to "ErrorInfo" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_logger.py:911:31 - error: "total_errors" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/core/errors/test_router.py
/app/tests/unit_tests/core/errors/test_router.py:120:34 - error: Argument of type "dict[str, str | dict[Unknown, Unknown] | None]" cannot be assigned to parameter "error" of type "ErrorInfo" in function "matches"
  "dict[str, str | dict[Unknown, Unknown] | None]" is not assignable to "ErrorInfo" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_router.py:371:17 - error: Variable "error" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_router.py:388:17 - error: Variable "error" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_router.py:578:13 - error: Variable "action" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_router.py:578:21 - error: Variable "error" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_router.py:752:35 - error: Argument of type "dict[str, str | dict[Unknown, Unknown] | None]" cannot be assigned to parameter "error" of type "ErrorInfo" in function "_log_error"
  "dict[str, str | dict[Unknown, Unknown] | None]" is not assignable to "ErrorInfo" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_router.py:793:48 - error: Argument of type "dict[str, str | dict[Unknown, Unknown] | None]" cannot be assigned to parameter "error" of type "ErrorInfo" in function "_escalate_error"
  "dict[str, str | dict[Unknown, Unknown] | None]" is not assignable to "ErrorInfo" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_router.py:812:16 - error: Operator "in" not supported for types "Literal[ErrorSeverity.WARNING]" and "list[ErrorSeverity] | None"
  Operator "in" not supported for types "Literal[ErrorSeverity.WARNING]" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/errors/test_router.py:821:16 - error: Operator "in" not supported for types "Literal[ErrorSeverity.WARNING]" and "list[ErrorSeverity] | None"
  Operator "in" not supported for types "Literal[ErrorSeverity.WARNING]" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/errors/test_router.py:830:16 - error: Operator "in" not supported for types "Literal[ErrorCategory.NETWORK]" and "list[ErrorCategory] | None"
  Operator "in" not supported for types "Literal[ErrorCategory.NETWORK]" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/errors/test_router.py:831:16 - error: Operator "in" not supported for types "Literal[ErrorSeverity.ERROR]" and "list[ErrorSeverity] | None"
  Operator "in" not supported for types "Literal[ErrorSeverity.ERROR]" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/errors/test_router.py:842:16 - error: Operator "in" not supported for types "Literal[ErrorCategory.RATE_LIMIT]" and "list[ErrorCategory] | None"
  Operator "in" not supported for types "Literal[ErrorCategory.RATE_LIMIT]" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/errors/test_router.py:974:21 - error: Variable "error" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_router.py:998:21 - error: Argument of type "(error: Unknown, context: Unknown) -> dict[Unknown, Unknown]" cannot be assigned to parameter "handler" of type "ErrorHandler | None" in function "__init__"
  Type "(error: Unknown, context: Unknown) -> dict[Unknown, Unknown]" is not assignable to type "ErrorHandler | None"
    Type "(error: Unknown, context: Unknown) -> dict[Unknown, Unknown]" is not assignable to type "SyncErrorHandler"
      Function return type "dict[Unknown, Unknown]" is incompatible with type "ErrorInfo | None"
        Type "dict[Unknown, Unknown]" is not assignable to type "ErrorInfo | None"
          "dict[Unknown, Unknown]" is not assignable to "ErrorInfo"
          "dict[Unknown, Unknown]" is not assignable to "None"
    Type "(error: Unknown, context: Unknown) -> dict[Unknown, Unknown]" is not assignable to type "AsyncErrorHandler"
      Function return type "dict[Unknown, Unknown]" is incompatible with type "Awaitable[ErrorInfo | None]"
... (reportArgumentType)
/app/tests/unit_tests/core/errors/test_router.py:1006:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/errors/test_router.py:1014:21 - error: Argument of type "(error: Unknown, context: Unknown) -> CoroutineType[Any, Any, dict[Unknown, Unknown]]" cannot be assigned to parameter "handler" of type "ErrorHandler | None" in function "__init__"
  Type "(error: Unknown, context: Unknown) -> CoroutineType[Any, Any, dict[Unknown, Unknown]]" is not assignable to type "ErrorHandler | None"
    Type "(error: Unknown, context: Unknown) -> CoroutineType[Any, Any, dict[Unknown, Unknown]]" is not assignable to type "SyncErrorHandler"
      Function return type "CoroutineType[Any, Any, dict[Unknown, Unknown]]" is incompatible with type "ErrorInfo | None"
        Type "CoroutineType[Any, Any, dict[Unknown, Unknown]]" is not assignable to type "ErrorInfo | None"
          "CoroutineType[Any, Any, dict[Unknown, Unknown]]" is not assignable to "ErrorInfo"
          "CoroutineType[Any, Any, dict[Unknown, Unknown]]" is not assignable to "None"
    Type "(error: Unknown, context: Unknown) -> CoroutineType[Any, Any, dict[Unknown, Unknown]]" is not assignable to type "AsyncErrorHandler"
      Function return type "CoroutineType[Any, Any, dict[Unknown, Unknown]]" is incompatible with type "Awaitable[ErrorInfo | None]"
... (reportArgumentType)
/app/tests/unit_tests/core/errors/test_router.py:1022:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/errors/test_router_config.py
/app/tests/unit_tests/core/errors/test_router_config.py:670:21 - error: Variable "result" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/errors/test_router_config.py:670:55 - error: Argument of type "dict[Unknown, Unknown]" cannot be assigned to parameter "error" of type "ErrorInfo" in function "route_error"
  "dict[Unknown, Unknown]" is not assignable to "ErrorInfo" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_telemetry.py
/app/tests/unit_tests/core/errors/test_telemetry.py:531:39 - error: "entry" is possibly unbound (reportPossiblyUnboundVariable)
/app/tests/unit_tests/core/errors/test_telemetry.py:566:39 - error: "entry" is possibly unbound (reportPossiblyUnboundVariable)
/app/tests/unit_tests/core/errors/test_telemetry.py:658:49 - error: Argument of type "list[Mock]" cannot be assigned to parameter "errors" of type "list[ErrorLogEntry]" in function "_filter_by_pattern"
  "list[Mock]" is not assignable to "list[ErrorLogEntry]"
    Type parameter "_T@list" is invariant, but "Mock" is not the same as "ErrorLogEntry"
    Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
/app/tests/unit_tests/core/errors/test_telemetry.py:680:49 - error: Argument of type "list[Mock]" cannot be assigned to parameter "errors" of type "list[ErrorLogEntry]" in function "_filter_by_pattern"
  "list[Mock]" is not assignable to "list[ErrorLogEntry]"
    Type parameter "_T@list" is invariant, but "Mock" is not the same as "ErrorLogEntry"
    Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
/app/tests/unit_tests/core/errors/test_telemetry.py:996:48 - error: Argument of type "dict[str, str | dict[str, str] | None]" cannot be assigned to parameter "error" of type "ErrorInfo" in function "process_error"
  "dict[str, str | dict[str, str] | None]" is not assignable to "ErrorInfo" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_telemetry.py:1039:44 - error: Argument of type "dict[Any, Any]" cannot be assigned to parameter "error" of type "ErrorInfo" in function "process_error"
  "message" is required in "ErrorInfo"
  "error_type" is required in "ErrorInfo"
  "node" is required in "ErrorInfo"
  "severity" is required in "ErrorInfo"
  "category" is required in "ErrorInfo"
  "timestamp" is required in "ErrorInfo"
  "context" is required in "ErrorInfo"
  "traceback" is required in "ErrorInfo" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py
/app/tests/unit_tests/core/errors/test_types.py:185:20 - error: Argument of type "str | int | float | bool | list[Any] | dict[str, Any]" cannot be assigned to parameter "obj" of type "Sized" in function "len"
  Type "str | int | float | bool | list[Any] | dict[str, Any]" is not assignable to type "Sized"
    "float" is incompatible with protocol "Sized"
      "__len__" is not present (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:186:16 - error: Operator "in" not supported for types "Literal['network_error']" and "str | int | float | bool | list[Any] | dict[str, Any]"
  Operator "in" not supported for types "Literal['network_error']" and "int"
  Operator "in" not supported for types "Literal['network_error']" and "float"
  Operator "in" not supported for types "Literal['network_error']" and "bool" (reportOperatorIssue)
/app/tests/unit_tests/core/errors/test_types.py:224:20 - error: Argument of type "str | int | float | bool | list[Any] | dict[str, Any]" cannot be assigned to parameter "obj" of type "Sized" in function "len"
  Type "str | int | float | bool | list[Any] | dict[str, Any]" is not assignable to type "Sized"
    "float" is incompatible with protocol "Sized"
      "__len__" is not present (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:225:16 - error: Operator "in" not supported for types "Literal['system_admin']" and "str | int | float | bool | list[Any] | dict[str, Any]"
  Operator "in" not supported for types "Literal['system_admin']" and "int"
  Operator "in" not supported for types "Literal['system_admin']" and "float"
  Operator "in" not supported for types "Literal['system_admin']" and "bool" (reportOperatorIssue)
/app/tests/unit_tests/core/errors/test_types.py:246:20 - error: Argument of type "str | int | float | bool | list[Any] | dict[str, Any]" cannot be assigned to parameter "obj" of type "Sized" in function "len"
  Type "str | int | float | bool | list[Any] | dict[str, Any]" is not assignable to type "Sized"
    "float" is incompatible with protocol "Sized"
      "__len__" is not present (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:276:16 - error: Argument of type "Literal['strategy']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['strategy']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['strategy']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['strategy']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:276:16 - error: "__getitem__" method not defined on type "int" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:276:16 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:276:16 - error: "__getitem__" method not defined on type "bool" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:276:16 - error: No overloads for "__getitem__" match the provided arguments (reportCallIssue)
/app/tests/unit_tests/core/errors/test_types.py:276:16 - error: Argument of type "Literal['strategy']" cannot be assigned to parameter "s" of type "slice[Any, Any, Any]" in function "__getitem__"
  "Literal['strategy']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:277:16 - error: Argument of type "Literal['base_delay']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['base_delay']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['base_delay']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['base_delay']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:277:16 - error: "__getitem__" method not defined on type "int" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:277:16 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:277:16 - error: "__getitem__" method not defined on type "bool" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:277:16 - error: No overloads for "__getitem__" match the provided arguments (reportCallIssue)
/app/tests/unit_tests/core/errors/test_types.py:277:16 - error: Argument of type "Literal['base_delay']" cannot be assigned to parameter "s" of type "slice[Any, Any, Any]" in function "__getitem__"
  "Literal['base_delay']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:280:16 - error: Operator "in" not supported for types "Literal[500]" and "str | Unknown | Any"
  Operator "in" not supported for types "Literal[500]" and "str" (reportOperatorIssue)
/app/tests/unit_tests/core/errors/test_types.py:280:23 - error: Argument of type "Literal['retry_on_status']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['retry_on_status']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['retry_on_status']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['retry_on_status']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:280:23 - error: "__getitem__" method not defined on type "int" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:280:23 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:280:23 - error: "__getitem__" method not defined on type "bool" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:280:23 - error: No overloads for "__getitem__" match the provided arguments (reportCallIssue)
/app/tests/unit_tests/core/errors/test_types.py:280:23 - error: Argument of type "Literal['retry_on_status']" cannot be assigned to parameter "s" of type "slice[Any, Any, Any]" in function "__getitem__"
  "Literal['retry_on_status']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:281:37 - error: Argument of type "Literal['retry_on_exception']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['retry_on_exception']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['retry_on_exception']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['retry_on_exception']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:281:37 - error: "__getitem__" method not defined on type "int" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:281:37 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:281:37 - error: "__getitem__" method not defined on type "bool" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:281:37 - error: No overloads for "__getitem__" match the provided arguments (reportCallIssue)
/app/tests/unit_tests/core/errors/test_types.py:281:37 - error: Argument of type "Literal['retry_on_exception']" cannot be assigned to parameter "s" of type "slice[Any, Any, Any]" in function "__getitem__"
  "Literal['retry_on_exception']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:284:16 - error: Argument of type "Literal['on_retry']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['on_retry']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['on_retry']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['on_retry']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:284:16 - error: "__getitem__" method not defined on type "int" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:284:16 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:284:16 - error: "__getitem__" method not defined on type "bool" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:284:16 - error: No overloads for "__getitem__" match the provided arguments (reportCallIssue)
/app/tests/unit_tests/core/errors/test_types.py:284:16 - error: Argument of type "Literal['on_retry']" cannot be assigned to parameter "s" of type "slice[Any, Any, Any]" in function "__getitem__"
  "Literal['on_retry']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:330:26 - error: Type "dict[str, bool | str | int | dict[str, str | int | None] | None]" is not assignable to declared type "RecoveryResult"
  Type "dict[str, str | int | None]" is not assignable to type "dict[str, str | int | float | bool | list[Any] | dict[str, Any]] | None"
    "dict[str, str | int | None]" is not assignable to "dict[str, str | int | float | bool | list[Any] | dict[str, Any]]"
      Type parameter "_VT@dict" is invariant, but "str | int | None" is not the same as "str | int | float | bool | list[Any] | dict[str, Any]"
      Consider switching from "dict" to "Mapping" which is covariant in the value type
    "dict[str, str | int | None]" is not assignable to "None" (reportAssignmentType)
/app/tests/unit_tests/core/errors/test_types.py:339:16 - error: Could not access item in TypedDict
  "success" is not a required key in "RecoveryResult", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/core/errors/test_types.py:340:16 - error: Could not access item in TypedDict
  "action_taken" is not a required key in "RecoveryResult", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/core/errors/test_types.py:341:16 - error: Could not access item in TypedDict
  "recovery_time_ms" is not a required key in "RecoveryResult", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/core/errors/test_types.py:342:16 - error: Could not access item in TypedDict
  "new_state" is not a required key in "RecoveryResult", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/core/errors/test_types.py:342:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/errors/test_types.py:343:16 - error: Could not access item in TypedDict
  "error_message" is not a required key in "RecoveryResult", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/core/errors/test_types.py:362:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/errors/test_types.py:363:16 - error: Operator "in" not supported for types "Literal['All retry attempts failed']" and "str | None"
  Operator "in" not supported for types "Literal['All retry attempts failed']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/errors/test_types.py:418:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/errors/test_types.py:418:16 - error: Argument of type "Literal['state']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['state']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['state']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['state']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:418:16 - error: "__getitem__" method not defined on type "int" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:418:16 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:418:16 - error: "__getitem__" method not defined on type "bool" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:418:16 - error: No overloads for "__getitem__" match the provided arguments (reportCallIssue)
/app/tests/unit_tests/core/errors/test_types.py:418:16 - error: Argument of type "Literal['state']" cannot be assigned to parameter "s" of type "slice[Any, Any, Any]" in function "__getitem__"
  "Literal['state']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:419:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/errors/test_types.py:419:16 - error: Argument of type "Literal['status']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['status']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['status']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['status']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:419:16 - error: "__getitem__" method not defined on type "int" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:419:16 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:419:16 - error: "__getitem__" method not defined on type "bool" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:419:16 - error: No overloads for "__getitem__" match the provided arguments (reportCallIssue)
/app/tests/unit_tests/core/errors/test_types.py:419:16 - error: Argument of type "Literal['status']" cannot be assigned to parameter "s" of type "slice[Any, Any, Any]" in function "__getitem__"
  "Literal['status']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:420:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/errors/test_types.py:420:16 - error: Argument of type "Literal['recovery_events']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['recovery_events']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['recovery_events']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['recovery_events']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:420:16 - error: "__getitem__" method not defined on type "int" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:420:16 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:420:16 - error: "__getitem__" method not defined on type "bool" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:420:16 - error: No overloads for "__getitem__" match the provided arguments (reportCallIssue)
/app/tests/unit_tests/core/errors/test_types.py:420:16 - error: Argument of type "Literal['recovery_events']" cannot be assigned to parameter "s" of type "slice[Any, Any, Any]" in function "__getitem__"
  "Literal['recovery_events']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:421:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/errors/test_types.py:421:16 - error: Argument of type "Literal['timeout']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['timeout']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['timeout']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['timeout']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:421:16 - error: "__getitem__" method not defined on type "int" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:421:16 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:421:16 - error: "__getitem__" method not defined on type "bool" (reportIndexIssue)
/app/tests/unit_tests/core/errors/test_types.py:421:16 - error: No overloads for "__getitem__" match the provided arguments (reportCallIssue)
/app/tests/unit_tests/core/errors/test_types.py:421:16 - error: Argument of type "Literal['timeout']" cannot be assigned to parameter "s" of type "slice[Any, Any, Any]" in function "__getitem__"
  "Literal['timeout']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/errors/test_types.py:588:16 - error: Operator "in" not supported for types "Literal['maintenance_mode']" and "str | int | float | bool | list[Any] | dict[str, Any] | Unknown"
  Operator "in" not supported for types "Literal['maintenance_mode']" and "int"
  Operator "in" not supported for types "Literal['maintenance_mode']" and "float"
  Operator "in" not supported for types "Literal['maintenance_mode']" and "bool" (reportOperatorIssue)
/app/tests/unit_tests/core/errors/test_types.py:588:38 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/errors/test_types.py:630:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:418:16 - error: Could not access item in TypedDict
  "configurable" is not a required key in "RunnableConfig", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:419:16 - error: Could not access item in TypedDict
  "configurable" is not a required key in "RunnableConfig", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:420:16 - error: Could not access item in TypedDict
  "metadata" is not a required key in "RunnableConfig", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:440:24 - error: Could not access item in TypedDict
  "configurable" is not a required key in "RunnableConfig", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:452:20 - error: Could not access item in TypedDict
  "metadata" is not a required key in "RunnableConfig", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:466:24 - error: Could not access item in TypedDict
  "configurable" is not a required key in "RunnableConfig", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:473:20 - error: Could not access item in TypedDict
  "metadata" is not a required key in "RunnableConfig", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:491:24 - error: Could not access item in TypedDict
  "configurable" is not a required key in "RunnableConfig", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:498:20 - error: Could not access item in TypedDict
  "metadata" is not a required key in "RunnableConfig", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:510:24 - error: Could not access item in TypedDict
  "configurable" is not a required key in "RunnableConfig", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:611:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:636:42 - error: Argument of type "dict[str, str]" cannot be assigned to parameter "config" of type "RunnableConfig | None" in function "__init__"
  Type "dict[str, str]" is not assignable to type "RunnableConfig | None"
    "dict[str, str]" is not assignable to "RunnableConfig"
    "dict[str, str]" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:647:9 - error: Could not assign item in TypedDict
  "Literal['not_a_dict']" is not assignable to "dict[str, Any]" (reportGeneralTypeIssues)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:648:9 - error: Could not assign item in TypedDict
  "list[str]" is not assignable to "dict[str, Any]" (reportGeneralTypeIssues)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:660:33 - error: Argument of type "float" cannot be assigned to parameter "max_tokens_override" of type "int | None" in function "create_runnable_config"
  Type "float" is not assignable to type "int | None"
    "float" is not assignable to "int"
    "float" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:694:43 - error: Argument of type "str" cannot be assigned to parameter "temperature_override" of type "float | None" in function "create_runnable_config"
  Type "str" is not assignable to type "float | None"
    "str" is not assignable to "float"
    "str" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:694:43 - error: Argument of type "str" cannot be assigned to parameter "max_tokens_override" of type "int | None" in function "create_runnable_config"
  Type "str" is not assignable to type "int | None"
    "str" is not assignable to "int"
    "str" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:694:43 - error: Argument of type "str" cannot be assigned to parameter "streaming_enabled" of type "bool" in function "create_runnable_config"
  "str" is not assignable to "bool" (reportArgumentType)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:694:43 - error: Argument of type "str" cannot be assigned to parameter "metrics_enabled" of type "bool" in function "create_runnable_config"
  "str" is not assignable to "bool" (reportArgumentType)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:720:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/langgraph/test_runnable_config.py:721:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/services/conftest.py
/app/tests/unit_tests/core/services/conftest.py:47:29 - error: Argument missing for parameter "redis_url" (reportCallIssue)
/app/tests/unit_tests/core/services/conftest.py:49:22 - error: Arguments missing for parameters "search", "extract" (reportCallIssue)
/app/tests/unit_tests/core/services/conftest.py:50:27 - error: Argument missing for parameter "default_profile" (reportCallIssue)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "DEFAULT_QUERY" of type "str" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "str"
    "APIConfigModel" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "DEFAULT_GREETING_MESSAGE" of type "str" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "str"
    "APIConfigModel" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "inputs" of type "InputStateModel | None" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "InputStateModel | None"
    Type "APIConfigModel" is not assignable to type "InputStateModel | None"
      "APIConfigModel" is not assignable to "InputStateModel"
      "APIConfigModel" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "tools" of type "ToolsConfigModel | None" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "ToolsConfigModel | None"
    Type "APIConfigModel" is not assignable to type "ToolsConfigModel | None"
      "APIConfigModel" is not assignable to "ToolsConfigModel"
      "APIConfigModel" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "logging" of type "LoggingConfig" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "LoggingConfig"
    "APIConfigModel" is not assignable to "LoggingConfig" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "llm_config" of type "LLMConfig" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "LLMConfig"
    "APIConfigModel" is not assignable to "LLMConfig" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "agent_config" of type "AgentConfig" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "AgentConfig"
    "APIConfigModel" is not assignable to "AgentConfig" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "api_config" of type "APIConfigModel | None" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "APIConfigModel | None"
    Type "DatabaseConfigModel" is not assignable to type "APIConfigModel | None"
      "DatabaseConfigModel" is not assignable to "APIConfigModel"
      "DatabaseConfigModel" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "database_config" of type "DatabaseConfigModel | None" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "DatabaseConfigModel | None"
    Type "APIConfigModel" is not assignable to type "DatabaseConfigModel | None"
      "APIConfigModel" is not assignable to "DatabaseConfigModel"
      "APIConfigModel" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "proxy_config" of type "ProxyConfigModel | None" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "ProxyConfigModel | None"
    Type "APIConfigModel" is not assignable to type "ProxyConfigModel | None"
      "APIConfigModel" is not assignable to "ProxyConfigModel"
      "APIConfigModel" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "rate_limits" of type "RateLimitConfigModel | None" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "RateLimitConfigModel | None"
    Type "APIConfigModel" is not assignable to type "RateLimitConfigModel | None"
      "APIConfigModel" is not assignable to "RateLimitConfigModel"
      "APIConfigModel" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "feature_flags" of type "FeatureFlagsModel | None" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "FeatureFlagsModel | None"
    Type "APIConfigModel" is not assignable to type "FeatureFlagsModel | None"
      "APIConfigModel" is not assignable to "FeatureFlagsModel"
      "APIConfigModel" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "telemetry_config" of type "TelemetryConfigModel | None" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "TelemetryConfigModel | None"
    Type "APIConfigModel" is not assignable to type "TelemetryConfigModel | None"
      "APIConfigModel" is not assignable to "TelemetryConfigModel"
      "APIConfigModel" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "search_optimization" of type "SearchOptimizationConfig" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "SearchOptimizationConfig"
    "APIConfigModel" is not assignable to "SearchOptimizationConfig" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "redis_config" of type "RedisConfigModel | None" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "RedisConfigModel | None"
    Type "APIConfigModel" is not assignable to type "RedisConfigModel | None"
      "APIConfigModel" is not assignable to "RedisConfigModel"
      "APIConfigModel" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "extraction" of type "ExtractionConfig" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "ExtractionConfig"
    "APIConfigModel" is not assignable to "ExtractionConfig" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "vector_store_enhanced" of type "VectorStoreEnhancedConfig" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "VectorStoreEnhancedConfig"
    "APIConfigModel" is not assignable to "VectorStoreEnhancedConfig" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "rag_config" of type "RAGConfig" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "RAGConfig"
    "APIConfigModel" is not assignable to "RAGConfig" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "error_handling" of type "ErrorHandlingConfig" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "ErrorHandlingConfig"
    "APIConfigModel" is not assignable to "ErrorHandlingConfig" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "buddy_config" of type "BuddyConfig" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "BuddyConfig"
    "APIConfigModel" is not assignable to "BuddyConfig" (reportArgumentType)
/app/tests/unit_tests/core/services/conftest.py:52:28 - error: Argument of type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" cannot be assigned to parameter "service_config" of type "ServiceConfig" in function "__init__"
  Type "APIConfigModel | DatabaseConfigModel | RedisConfigModel | LoggingConfig | ToolsConfigModel | LLMConfig" is not assignable to type "ServiceConfig"
    "APIConfigModel" is not assignable to "ServiceConfig" (reportArgumentType)
/app/tests/unit_tests/core/services/test_lifecycle_restart_simple.py
/app/tests/unit_tests/core/services/test_lifecycle_restart_simple.py:114:10 - error: Argument of type "(service_type: Unknown) -> CoroutineType[Any, Any, Never]" cannot be assigned to parameter "func" of type "(**_P@asynccontextmanager) -> AsyncIterator[_T_co@asynccontextmanager]" in function "asynccontextmanager"
  Type "(service_type: Unknown) -> CoroutineType[Any, Any, Never]" is not assignable to type "(**_P@asynccontextmanager) -> AsyncIterator[_T_co@asynccontextmanager]"
    Function return type "CoroutineType[Any, Any, Never]" is incompatible with type "AsyncIterator[_T_co@asynccontextmanager]"
      "CoroutineType[Any, Any, Never]" is incompatible with protocol "AsyncIterator[_T_co@asynccontextmanager]"
        "__anext__" is not present
        "__aiter__" is not present (reportArgumentType)
/app/tests/unit_tests/core/services/test_registry.py
/app/tests/unit_tests/core/services/test_registry.py:1004:10 - error: Argument of type "() -> CoroutineType[Any, Any, Never]" cannot be assigned to parameter "func" of type "(**_P@asynccontextmanager) -> AsyncIterator[_T_co@asynccontextmanager]" in function "asynccontextmanager"
  Type "() -> CoroutineType[Any, Any, Never]" is not assignable to type "(**_P@asynccontextmanager) -> AsyncIterator[_T_co@asynccontextmanager]"
    Function return type "CoroutineType[Any, Any, Never]" is incompatible with type "AsyncIterator[_T_co@asynccontextmanager]"
      "CoroutineType[Any, Any, Never]" is incompatible with protocol "AsyncIterator[_T_co@asynccontextmanager]"
        "__anext__" is not present
        "__aiter__" is not present (reportArgumentType)
/app/tests/unit_tests/core/services/test_registry.py:1036:10 - error: Argument of type "() -> CoroutineType[Any, Any, Never]" cannot be assigned to parameter "func" of type "(**_P@asynccontextmanager) -> AsyncIterator[_T_co@asynccontextmanager]" in function "asynccontextmanager"
  Type "() -> CoroutineType[Any, Any, Never]" is not assignable to type "(**_P@asynccontextmanager) -> AsyncIterator[_T_co@asynccontextmanager]"
    Function return type "CoroutineType[Any, Any, Never]" is incompatible with type "AsyncIterator[_T_co@asynccontextmanager]"
      "CoroutineType[Any, Any, Never]" is incompatible with protocol "AsyncIterator[_T_co@asynccontextmanager]"
        "__anext__" is not present
        "__aiter__" is not present (reportArgumentType)
/app/tests/unit_tests/core/test_cleanup_registry.py
/app/tests/unit_tests/core/test_cleanup_registry.py:59:13 - error: Cannot assign to attribute "was_called" for class "FunctionType"
  Attribute "was_called" is unknown (reportFunctionMemberAccess)
/app/tests/unit_tests/core/test_cleanup_registry.py:71:23 - error: Cannot assign to attribute "get_calls" for class "FunctionType"
  Attribute "get_calls" is unknown (reportFunctionMemberAccess)
/app/tests/unit_tests/core/test_cleanup_registry.py:261:43 - error: Argument of type "Mock" cannot be assigned to parameter "service_class" of type "type[T@create_service]" in function "create_service"
  Type "Mock" is not assignable to type "type[T@create_service]" (reportArgumentType)
/app/tests/unit_tests/core/test_cleanup_registry.py:343:49 - error: Argument of type "list[Mock]" cannot be assigned to parameter "service_classes" of type "list[type[BaseService[Any]]]" in function "initialize_services"
  Type "Mock" is not assignable to type "type[BaseService[Any]]" (reportArgumentType)
/app/tests/unit_tests/core/test_cleanup_registry.py:502:61 - error: Argument of type "Mock" cannot be assigned to parameter "service_class" of type "type[BaseService[Any]]" in function "create_service_with_dependencies"
  Type "Mock" is not assignable to type "type[BaseService[Any]]" (reportArgumentType)
/app/tests/unit_tests/core/test_cleanup_registry.py:646:57 - error: Argument of type "Mock" cannot be assigned to parameter "service_class" of type "type[T@create_service]" in function "create_service"
  Type "Mock" is not assignable to type "type[T@create_service]" (reportArgumentType)
/app/tests/unit_tests/core/test_cleanup_registry.py:659:41 - error: Argument of type "dict[Mock, Mock]" cannot be assigned to parameter "services" of type "dict[type[BaseService[Any]], BaseService[Any]]" in function "cleanup_services"
  "dict[Mock, Mock]" is not assignable to "dict[type[BaseService[Any]], BaseService[Any]]"
    Type parameter "_KT@dict" is invariant, but "Mock" is not the same as "type[BaseService[Any]]"
    Type parameter "_VT@dict" is invariant, but "Mock" is not the same as "BaseService[Any]" (reportArgumentType)
/app/tests/unit_tests/core/test_cleanup_registry.py:688:43 - error: Argument of type "Mock" cannot be assigned to parameter "service_class" of type "type[T@create_service]" in function "create_service"
  Type "Mock" is not assignable to type "type[T@create_service]" (reportArgumentType)
/app/tests/unit_tests/core/test_cleanup_registry.py:692:41 - error: Argument of type "dict[Mock, Mock]" cannot be assigned to parameter "services" of type "dict[type[BaseService[Any]], BaseService[Any]]" in function "cleanup_services"
  "dict[Mock, Mock]" is not assignable to "dict[type[BaseService[Any]], BaseService[Any]]"
    Type parameter "_KT@dict" is invariant, but "Mock" is not the same as "type[BaseService[Any]]"
    Type parameter "_VT@dict" is invariant, but "Mock" is not the same as "BaseService[Any]" (reportArgumentType)
/app/tests/unit_tests/core/test_performance_patterns.py
/app/tests/unit_tests/core/test_performance_patterns.py:233:9 - error: Expression value is unused (reportUnusedExpression)
/app/tests/unit_tests/core/url_processing/conftest.py
/app/tests/unit_tests/core/url_processing/conftest.py:377:18 - error: Instance variable "warnings_list" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
/app/tests/unit_tests/core/url_processing/conftest.py:378:18 - error: Instance variable "original_showwarning" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
/app/tests/unit_tests/core/url_processing/conftest.py:393:70 - error: Expression of type "None" cannot be assigned to parameter of type "str"
  "None" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py
/app/tests/unit_tests/core/url_processing/test_config.py:44:39 - error: Argument of type "int | float | str" cannot be assigned to parameter "max_concurrent_requests" of type "int" in function "__init__"
  Type "int | float | str" is not assignable to type "int"
    "float" is not assignable to "int" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:44:39 - error: Argument of type "int | float | str" cannot be assigned to parameter "timeout" of type "float" in function "__init__"
  Type "int | float | str" is not assignable to type "float"
    "str" is not assignable to "float" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:44:39 - error: Argument of type "int | float | str" cannot be assigned to parameter "validation_level" of type "str" in function "__init__"
  Type "int | float | str" is not assignable to type "str"
    "float" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:44:39 - error: Argument of type "int | float | str" cannot be assigned to parameter "normalization_level" of type "str" in function "__init__"
  Type "int | float | str" is not assignable to type "str"
    "float" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:44:39 - error: Argument of type "int | float | str" cannot be assigned to parameter "discovery_method" of type "str" in function "__init__"
  Type "int | float | str" is not assignable to type "str"
    "float" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:44:39 - error: Argument of type "int | float | str" cannot be assigned to parameter "deduplication_method" of type "str" in function "__init__"
  Type "int | float | str" is not assignable to type "str"
    "float" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:61:39 - error: Argument of type "str | int | bool" cannot be assigned to parameter "max_concurrent_requests" of type "int" in function "__init__"
  Type "str | int | bool" is not assignable to type "int"
    "str" is not assignable to "int" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:61:39 - error: Argument of type "str | int | bool" cannot be assigned to parameter "timeout" of type "float" in function "__init__"
  Type "str | int | bool" is not assignable to type "float"
    "str" is not assignable to "float" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:61:39 - error: Argument of type "str | int | bool" cannot be assigned to parameter "validation_level" of type "str" in function "__init__"
  Type "str | int | bool" is not assignable to type "str"
    "int" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:61:39 - error: Argument of type "str | int | bool" cannot be assigned to parameter "normalization_level" of type "str" in function "__init__"
  Type "str | int | bool" is not assignable to type "str"
    "int" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:61:39 - error: Argument of type "str | int | bool" cannot be assigned to parameter "discovery_method" of type "str" in function "__init__"
  Type "str | int | bool" is not assignable to type "str"
    "int" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:61:39 - error: Argument of type "str | int | bool" cannot be assigned to parameter "deduplication_method" of type "str" in function "__init__"
  Type "str | int | bool" is not assignable to type "str"
    "int" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:492:37 - error: Argument of type "Literal['10']" cannot be assigned to parameter "max_concurrent_requests" of type "int" in function "__init__"
  "Literal['10']" is not assignable to "int" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:493:21 - error: Argument of type "Literal['30.0']" cannot be assigned to parameter "timeout" of type "float" in function "__init__"
  "Literal['30.0']" is not assignable to "float" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:502:39 - error: Argument of type "str" cannot be assigned to parameter "max_concurrent_requests" of type "int" in function "__init__"
  "str" is not assignable to "int" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:502:39 - error: Argument of type "str" cannot be assigned to parameter "timeout" of type "float" in function "__init__"
  "str" is not assignable to "float" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:517:39 - error: Argument of type "list[int] | dict[str, str] | tuple[int, int, int] | set[int]" cannot be assigned to parameter "max_concurrent_requests" of type "int" in function "__init__"
  Type "list[int] | dict[str, str] | tuple[int, int, int] | set[int]" is not assignable to type "int"
    "dict[str, str]" is not assignable to "int" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:517:39 - error: Argument of type "list[int] | dict[str, str] | tuple[int, int, int] | set[int]" cannot be assigned to parameter "timeout" of type "float" in function "__init__"
  Type "list[int] | dict[str, str] | tuple[int, int, int] | set[int]" is not assignable to type "float"
    "dict[str, str]" is not assignable to "float" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:517:39 - error: Argument of type "list[int] | dict[str, str] | tuple[int, int, int] | set[int]" cannot be assigned to parameter "validation_level" of type "str" in function "__init__"
  Type "list[int] | dict[str, str] | tuple[int, int, int] | set[int]" is not assignable to type "str"
    "dict[str, str]" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:517:39 - error: Argument of type "list[int] | dict[str, str] | tuple[int, int, int] | set[int]" cannot be assigned to parameter "normalization_level" of type "str" in function "__init__"
  Type "list[int] | dict[str, str] | tuple[int, int, int] | set[int]" is not assignable to type "str"
    "dict[str, str]" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:517:39 - error: Argument of type "list[int] | dict[str, str] | tuple[int, int, int] | set[int]" cannot be assigned to parameter "discovery_method" of type "str" in function "__init__"
  Type "list[int] | dict[str, str] | tuple[int, int, int] | set[int]" is not assignable to type "str"
    "dict[str, str]" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_config.py:517:39 - error: Argument of type "list[int] | dict[str, str] | tuple[int, int, int] | set[int]" cannot be assigned to parameter "deduplication_method" of type "str" in function "__init__"
  Type "list[int] | dict[str, str] | tuple[int, int, int] | set[int]" is not assignable to type "str"
    "dict[str, str]" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_filter.py
/app/tests/unit_tests/core/url_processing/test_filter.py:246:40 - error: Argument of type "None" cannot be assigned to parameter "results" of type "list[dict[str, Any]]" in function "filter_search_results"
  "None" is not assignable to "list[dict[str, Any]]" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_filter.py:409:28 - error: Argument of type "None" cannot be assigned to parameter "domain" of type "str" in function "add_blocked_domain"
  "None" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_filter.py:454:31 - error: Argument of type "None" cannot be assigned to parameter "domain" of type "str" in function "remove_blocked_domain"
  "None" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/url_processing/test_validator.py
/app/tests/unit_tests/core/url_processing/test_validator.py:513:64 - error: Argument of type "list[str | None]" cannot be assigned to parameter "urls" of type "list[str]" in function "batch_validate_urls"
  "None" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/core/utils/test_capability_inference.py
/app/tests/unit_tests/core/utils/test_capability_inference.py:42:13 - error: Variable "capability" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/utils/test_json_extractor.py
/app/tests/unit_tests/core/utils/test_json_extractor.py:1473:20 - error: Argument of type "JsonValue" cannot be assigned to parameter "obj" of type "Sized" in function "len"
  Type "JsonValue" is not assignable to type "Sized"
    "float" is incompatible with protocol "Sized"
      "__len__" is not present (reportArgumentType)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1528:20 - error: Argument of type "JsonValue" cannot be assigned to parameter "obj" of type "Sized" in function "len"
  Type "JsonValue" is not assignable to type "Sized"
    "float" is incompatible with protocol "Sized"
      "__len__" is not present (reportArgumentType)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1623:20 - error: Argument of type "JsonValue" cannot be assigned to parameter "obj" of type "Sized" in function "len"
  Type "JsonValue" is not assignable to type "Sized"
    "float" is incompatible with protocol "Sized"
      "__len__" is not present (reportArgumentType)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1624:16 - error: Argument of type "Literal['count']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['count']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['count']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['count']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1624:16 - error: "__getitem__" method not defined on type "int" (reportIndexIssue)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1624:16 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1624:16 - error: "__getitem__" method not defined on type "bool" (reportIndexIssue)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1624:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1624:16 - error: No overloads for "__getitem__" match the provided arguments (reportCallIssue)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1624:16 - error: Argument of type "Literal['count']" cannot be assigned to parameter "s" of type "slice[Any, Any, Any]" in function "__getitem__"
  "Literal['count']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1648:16 - error: Argument of type "Literal['users']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['users']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['users']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['users']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1648:16 - error: "__getitem__" method not defined on type "int" (reportIndexIssue)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1648:16 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1648:16 - error: "__getitem__" method not defined on type "bool" (reportIndexIssue)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1648:16 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1648:16 - error: No overloads for "__getitem__" match the provided arguments (reportCallIssue)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1648:16 - error: Argument of type "Literal['users']" cannot be assigned to parameter "s" of type "slice[Any, Any, Any]" in function "__getitem__"
  "Literal['users']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/core/utils/test_json_extractor.py:1796:18 - error: No overloads for "__init__" match the provided arguments
  Argument types: (Literal[True], Literal[False], Literal[True], Literal[10]) (reportCallIssue)
/app/tests/unit_tests/core/utils/test_lazy_loader.py
/app/tests/unit_tests/core/utils/test_lazy_loader.py:36:33 - error: Argument of type "None" cannot be assigned to parameter "factory" of type "() -> T@AsyncSafeLazyLoader" in function "__init__"
  Type "None" is not assignable to type "() -> T@AsyncSafeLazyLoader" (reportArgumentType)
/app/tests/unit_tests/core/utils/test_lazy_loader.py:39:33 - error: Argument of type "Literal['not_callable']" cannot be assigned to parameter "factory" of type "() -> T@AsyncSafeLazyLoader" in function "__init__"
  Type "Literal['not_callable']" is not assignable to type "() -> T@AsyncSafeLazyLoader" (reportArgumentType)
/app/tests/unit_tests/core/utils/test_lazy_loader.py:372:32 - error: Cannot assign to attribute "_factory_ref" for class "AsyncFactoryManager[Unknown]"
  Type "() -> None" is not assignable to type "ReferenceType[Unknown] | None"
    "FunctionType" is not assignable to "ReferenceType[Unknown]"
    "FunctionType" is not assignable to "None" (reportAttributeAccessIssue)
/app/tests/unit_tests/core/validation/test_content.py
/app/tests/unit_tests/core/validation/test_content.py:471:16 - error: Operator "in" not supported for types "Literal['XML validation error:']" and "str | None"
  Operator "in" not supported for types "Literal['XML validation error:']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/validation/test_content.py:523:30 - error: Argument of type "str" cannot be assigned to parameter "content_type" of type "ContentType" in function "__init__"
  Type "str" is not assignable to type "ContentType"
    "str" is not assignable to type "Literal['html']"
    "str" is not assignable to type "Literal['json']"
    "str" is not assignable to type "Literal['xml']"
    "str" is not assignable to type "Literal['text']"
    "str" is not assignable to type "Literal['markdown']" (reportArgumentType)
/app/tests/unit_tests/core/validation/test_decorators.py
/app/tests/unit_tests/core/validation/test_decorators.py:474:31 - error: Argument of type "UnionType" cannot be assigned to parameter "x" of type "type" in function "validate_types"
  "UnionType" is not assignable to "type" (reportArgumentType)
/app/tests/unit_tests/core/validation/test_decorators.py:494:26 - error: Operator ">" not supported for types "object" and "Literal[0]" (reportOperatorIssue)
/app/tests/unit_tests/core/validation/test_decorators.py:495:30 - error: Argument of type "object" cannot be assigned to parameter "obj" of type "Sized" in function "len"
  "object" is incompatible with protocol "Sized"
    "__len__" is not present (reportArgumentType)
/app/tests/unit_tests/core/validation/test_decorators.py:497:41 - error: Argument of type "object" cannot be assigned to parameter "obj" of type "Sized" in function "len"
  "object" is incompatible with protocol "Sized"
    "__len__" is not present (reportArgumentType)
/app/tests/unit_tests/core/validation/test_decorators.py:560:37 - error: Operator ">" not supported for types "object" and "Literal[10]" (reportOperatorIssue)
/app/tests/unit_tests/core/validation/test_decorators.py:564:20 - error: Operator "*" not supported for "None" (reportOptionalOperand)
/app/tests/unit_tests/core/validation/test_types.py
/app/tests/unit_tests/core/validation/test_types.py:393:16 - error: Operator "in" not supported for types "Literal['less than minimum 6']" and "str | None"
  Operator "in" not supported for types "Literal['less than minimum 6']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/validation/test_types.py:403:16 - error: Operator "in" not supported for types "Literal['exceeds maximum 4']" and "str | None"
  Operator "in" not supported for types "Literal['exceeds maximum 4']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/validation/test_types.py:482:16 - error: Operator "in" not supported for types "Literal['less than minimum 6']" and "str | None"
  Operator "in" not supported for types "Literal['less than minimum 6']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/validation/test_types.py:492:16 - error: Operator "in" not supported for types "Literal['exceeds maximum 4']" and "str | None"
  Operator "in" not supported for types "Literal['exceeds maximum 4']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/validation/test_types.py:497:19 - error: Variable "error" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/core/validation/test_types.py:509:16 - error: Operator "in" not supported for types "Literal['exceeds maximum 100']" and "str | None"
  Operator "in" not supported for types "Literal['exceeds maximum 100']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/validation/test_types.py:514:16 - error: Operator "in" not supported for types "Literal['less than minimum -100']" and "str | None"
  Operator "in" not supported for types "Literal['less than minimum -100']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/validation/test_types.py:584:16 - error: Operator "in" not supported for types "Literal['less than minimum 4']" and "str | None"
  Operator "in" not supported for types "Literal['less than minimum 4']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/core/validation/test_types.py:594:16 - error: Operator "in" not supported for types "Literal['exceeds maximum 2']" and "str | None"
  Operator "in" not supported for types "Literal['exceeds maximum 2']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/nodes/llm/test_call.py
/app/tests/unit_tests/nodes/llm/test_call.py:1294:21 - error: Variable "expected_category" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/nodes/search/test_noop_cache.py
/app/tests/unit_tests/nodes/search/test_noop_cache.py:128:75 - error: Variable "value" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/nodes/search/test_noop_cache.py:130:81 - error: Variable "value" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/nodes/search/test_noop_cache.py:131:81 - error: Variable "value" is not accessed (reportUnusedVariable)
/app/tests/unit_tests/services/llm/conftest.py
/app/tests/unit_tests/services/llm/conftest.py:149:33 - error: Argument of type "str | None" cannot be assigned to parameter "max_retries" of type "int" in function "__init__"
  Type "str | None" is not assignable to type "int"
    "str" is not assignable to "int" (reportArgumentType)
/app/tests/unit_tests/services/llm/conftest.py:149:33 - error: Argument of type "str | None" cannot be assigned to parameter "timeout" of type "int" in function "__init__"
  Type "str | None" is not assignable to type "int"
    "str" is not assignable to "int" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:802:47 - error: Argument of type "str | int" cannot be assigned to parameter "doc_id" of type "int" in function "_update_paperless_document"
  Type "str | int" is not assignable to type "int"
    "str" is not assignable to "int" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:802:47 - error: Argument of type "str | int" cannot be assigned to parameter "title" of type "str | None" in function "_update_paperless_document"
  Type "str | int" is not assignable to type "str | None"
    Type "int" is not assignable to type "str | None"
      "int" is not assignable to "str"
      "int" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:802:47 - error: Argument of type "str | int" cannot be assigned to parameter "correspondent_id" of type "int | None" in function "_update_paperless_document"
  Type "str | int" is not assignable to type "int | None"
    Type "str" is not assignable to type "int | None"
      "str" is not assignable to "int"
      "str" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:802:47 - error: Argument of type "str | int" cannot be assigned to parameter "document_type_id" of type "int | None" in function "_update_paperless_document"
  Type "str | int" is not assignable to type "int | None"
    Type "str" is not assignable to type "int | None"
      "str" is not assignable to "int"
      "str" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:802:47 - error: Argument of type "str | int" cannot be assigned to parameter "tag_ids" of type "list[int] | None" in function "_update_paperless_document"
  Type "str | int" is not assignable to type "list[int] | None"
    Type "int" is not assignable to type "list[int] | None"
      "int" is not assignable to "list[int]"
      "int" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:802:47 - error: Argument of type "str | int" cannot be assigned to parameter "query" of type "str" in function "_search_paperless_documents"
  Type "str | int" is not assignable to type "str"
    "int" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:802:47 - error: Argument of type "str | int" cannot be assigned to parameter "limit" of type "int" in function "_search_paperless_documents"
  Type "str | int" is not assignable to type "int"
    "str" is not assignable to "int" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:802:47 - error: Argument of type "str | int" cannot be assigned to parameter "name" of type "str" in function "_create_paperless_tag"
  Type "str | int" is not assignable to type "str"
    "int" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:802:47 - error: Argument of type "str | int" cannot be assigned to parameter "color" of type "str" in function "_create_paperless_tag"
  Type "str | int" is not assignable to type "str"
    "int" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:802:47 - error: Argument of type "str | int" cannot be assigned to parameter "document_id" of type "int" in function "_get_paperless_document"
  Type "str | int" is not assignable to type "int"
    "str" is not assignable to "int" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:804:47 - error: Argument of type "str | int" cannot be assigned to parameter "doc_id" of type "int" in function "_update_paperless_document"
  Type "str | int" is not assignable to type "int"
    "str" is not assignable to "int" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:804:47 - error: Argument of type "str | int" cannot be assigned to parameter "title" of type "str | None" in function "_update_paperless_document"
  Type "str | int" is not assignable to type "str | None"
    Type "int" is not assignable to type "str | None"
      "int" is not assignable to "str"
      "int" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:804:47 - error: Argument of type "str | int" cannot be assigned to parameter "correspondent_id" of type "int | None" in function "_update_paperless_document"
  Type "str | int" is not assignable to type "int | None"
    Type "str" is not assignable to type "int | None"
      "str" is not assignable to "int"
      "str" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:804:47 - error: Argument of type "str | int" cannot be assigned to parameter "document_type_id" of type "int | None" in function "_update_paperless_document"
  Type "str | int" is not assignable to type "int | None"
    Type "str" is not assignable to type "int | None"
      "str" is not assignable to "int"
      "str" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:804:47 - error: Argument of type "str | int" cannot be assigned to parameter "tag_ids" of type "list[int] | None" in function "_update_paperless_document"
  Type "str | int" is not assignable to type "list[int] | None"
    Type "int" is not assignable to type "list[int] | None"
      "int" is not assignable to "list[int]"
      "int" is not assignable to "None" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:804:47 - error: Argument of type "str | int" cannot be assigned to parameter "query" of type "str" in function "_search_paperless_documents"
  Type "str | int" is not assignable to type "str"
    "int" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:804:47 - error: Argument of type "str | int" cannot be assigned to parameter "limit" of type "int" in function "_search_paperless_documents"
  Type "str | int" is not assignable to type "int"
    "str" is not assignable to "int" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:804:47 - error: Argument of type "str | int" cannot be assigned to parameter "name" of type "str" in function "_create_paperless_tag"
  Type "str | int" is not assignable to type "str"
    "int" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:804:47 - error: Argument of type "str | int" cannot be assigned to parameter "color" of type "str" in function "_create_paperless_tag"
  Type "str | int" is not assignable to type "str"
    "int" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:804:47 - error: Argument of type "str | int" cannot be assigned to parameter "document_id" of type "int" in function "_get_paperless_document"
  Type "str | int" is not assignable to type "int"
    "str" is not assignable to "int" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:951:87 - error: Cannot access attribute "func" for class "BaseTool"
  Attribute "func" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:952:71 - error: Cannot access attribute "func" for class "BaseTool"
  Attribute "func" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:956:79 - error: Cannot access attribute "func" for class "BaseTool"
  Attribute "func" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:957:64 - error: Cannot access attribute "func" for class "BaseTool"
  Attribute "func" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:960:85 - error: Cannot access attribute "func" for class "BaseTool"
  Attribute "func" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:961:70 - error: Cannot access attribute "func" for class "BaseTool"
  Attribute "func" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:968:75 - error: Cannot access attribute "func" for class "BaseTool"
  Attribute "func" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/external/paperless/test_tool.py:969:69 - error: Cannot access attribute "func" for class "BaseTool"
  Attribute "func" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/extraction/core/test_types.py
/app/tests/unit_tests/tools/capabilities/extraction/core/test_types.py:414:23 - error: Type "dict[str, str | None]" is not assignable to declared type "FactTypedDict"
  "None" is not assignable to "str" (reportAssignmentType)
/app/tests/unit_tests/tools/capabilities/extraction/core/test_types.py:418:16 - error: Could not access item in TypedDict
  "fact" is not a required key in "FactTypedDict", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/tools/capabilities/extraction/core/test_types.py:419:16 - error: Could not access item in TypedDict
  "source" is not a required key in "FactTypedDict", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/tools/capabilities/extraction/core/test_types.py:420:16 - error: Could not access item in TypedDict
  "value" is not a required key in "FactTypedDict", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/tools/capabilities/extraction/core/test_types.py:436:31 - error: Type "FactTypedDict" is not assignable to declared type "JsonDict"
  "FactTypedDict" is not assignable to "dict[str, JsonValue]" (reportAssignmentType)
/app/tests/unit_tests/tools/capabilities/extraction/core/test_types.py:594:31 - error: Type "dict[str, object]" is not assignable to declared type "JsonDict"
  "dict[str, object]" is not assignable to "dict[str, JsonValue]"
    Type parameter "_VT@dict" is invariant, but "object" is not the same as "JsonValue"
    Consider switching from "dict" to "Mapping" which is covariant in the value type (reportAssignmentType)
/app/tests/unit_tests/tools/capabilities/extraction/core/test_types.py:603:39 - error: Type "dict[str, JsonValue]" is not assignable to declared type "FactTypedDict" (reportAssignmentType)
/app/tests/unit_tests/tools/capabilities/extraction/core/test_types.py:610:16 - error: Could not access item in TypedDict
  "fact" is not a required key in "FactTypedDict", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/tools/capabilities/extraction/core/test_types.py:611:16 - error: Could not access item in TypedDict
  "confidence" is not a required key in "FactTypedDict", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
/app/tests/unit_tests/tools/capabilities/extraction/numeric/test_quality.py
/app/tests/unit_tests/tools/capabilities/extraction/numeric/test_quality.py:507:17 - error: Argument of type "dict[str, int | str] | str | float | dict[str, str]" cannot be assigned to parameter "statistic" of type "dict[str, Any]" in function "rate_statistic_quality"
  Type "dict[str, int | str] | str | float | dict[str, str]" is not assignable to type "dict[str, Any]"
    "float" is not assignable to "dict[str, Any]" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/extraction/numeric/test_quality.py:508:17 - error: Argument of type "dict[str, int | str] | str | float | dict[str, str]" cannot be assigned to parameter "context" of type "str" in function "rate_statistic_quality"
  Type "dict[str, int | str] | str | float | dict[str, str]" is not assignable to type "str"
    "float" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/extraction/numeric/test_quality.py:511:24 - error: Operator "-" not supported for types "float" and "dict[str, int | str] | str | float | dict[str, str]"
  Operator "-" not supported for types "float" and "dict[str, int | str]" when expected type is "SupportsAbs[float]"
  Operator "-" not supported for types "float" and "str" when expected type is "SupportsAbs[float]"
  Operator "-" not supported for types "float" and "dict[str, str]" when expected type is "SupportsAbs[float]" (reportOperatorIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:59:13 - error: Argument missing for parameter "text" (reportCallIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:507:24 - error: Argument of type "JsonValue" cannot be assigned to parameter "obj" of type "Sized" in function "len"
  Type "JsonValue" is not assignable to type "Sized"
    "float" is incompatible with protocol "Sized"
      "__len__" is not present (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:508:20 - error: "__getitem__" method not defined on type "int" (reportIndexIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:508:20 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:508:20 - error: "__getitem__" method not defined on type "bool" (reportIndexIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:508:20 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:508:20 - error: Argument of type "Literal[0]" cannot be assigned to parameter "key" of type "str" in function "__getitem__"
  "Literal[0]" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:508:20 - error: Argument of type "Literal['type']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['type']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['type']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['type']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:509:20 - error: "__getitem__" method not defined on type "int" (reportIndexIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:509:20 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:509:20 - error: "__getitem__" method not defined on type "bool" (reportIndexIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:509:20 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:509:20 - error: Argument of type "Literal[0]" cannot be assigned to parameter "key" of type "str" in function "__getitem__"
  "Literal[0]" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:509:20 - error: Argument of type "Literal['value']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['value']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['value']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['value']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:510:20 - error: "__getitem__" method not defined on type "int" (reportIndexIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:510:20 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:510:20 - error: "__getitem__" method not defined on type "bool" (reportIndexIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:510:20 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:510:20 - error: Argument of type "Literal[0]" cannot be assigned to parameter "key" of type "str" in function "__getitem__"
  "Literal[0]" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:510:20 - error: Argument of type "Literal['source_url']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['source_url']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['source_url']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['source_url']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:582:24 - error: Argument of type "JsonValue" cannot be assigned to parameter "obj" of type "Sized" in function "len"
  Type "JsonValue" is not assignable to type "Sized"
    "float" is incompatible with protocol "Sized"
      "__len__" is not present (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:583:20 - error: "__getitem__" method not defined on type "int" (reportIndexIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:583:20 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:583:20 - error: "__getitem__" method not defined on type "bool" (reportIndexIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:583:20 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:583:20 - error: Argument of type "Literal[0]" cannot be assigned to parameter "key" of type "str" in function "__getitem__"
  "Literal[0]" is not assignable to "str" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:584:20 - error: Argument of type "Literal['source_title']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['source_title']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['source_title']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['source_title']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/extraction/test_legacy_tools.py:585:20 - error: Argument of type "Literal['currency']" cannot be assigned to parameter "key" of type "SupportsIndex | slice[Any, Any, Any]" in function "__getitem__"
  Type "Literal['currency']" is not assignable to type "SupportsIndex | slice[Any, Any, Any]"
    "Literal['currency']" is incompatible with protocol "SupportsIndex"
      "__index__" is not present
    "Literal['currency']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:53:13 - error: Arguments missing for parameters "url", "query" (reportCallIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:57:13 - error: Argument missing for parameter "query" (reportCallIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:60:13 - error: Argument missing for parameter "url" (reportCallIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:135:68 - error: Cannot access attribute "coroutine" for class "BaseTool"
  Attribute "coroutine" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:197:60 - error: Cannot access attribute "coroutine" for class "BaseTool"
  Attribute "coroutine" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:237:60 - error: Cannot access attribute "coroutine" for class "BaseTool"
  Attribute "coroutine" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:281:64 - error: Cannot access attribute "coroutine" for class "BaseTool"
  Attribute "coroutine" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:332:63 - error: Cannot access attribute "coroutine" for class "BaseTool"
  Attribute "coroutine" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:357:52 - error: Cannot access attribute "coroutine" for class "BaseTool"
  Attribute "coroutine" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:380:56 - error: Cannot access attribute "coroutine" for class "BaseTool"
  Attribute "coroutine" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:430:68 - error: Cannot access attribute "coroutine" for class "BaseTool"
  Attribute "coroutine" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:490:72 - error: Cannot access attribute "coroutine" for class "BaseTool"
  Attribute "coroutine" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:550:63 - error: Cannot access attribute "coroutine" for class "BaseTool"
  Attribute "coroutine" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:610:63 - error: Cannot access attribute "coroutine" for class "BaseTool"
  Attribute "coroutine" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:671:59 - error: Cannot access attribute "coroutine" for class "BaseTool"
  Attribute "coroutine" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:701:61 - error: Cannot access attribute "__fields__" for class "dict[str, Any]"
  Attribute "__fields__" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/extraction/test_single_url_processor.py:701:61 - error: The getter for property "__fields__" is deprecated
  The `__fields__` attribute is deprecated, use `model_fields` instead. (reportDeprecated)
/app/tests/unit_tests/tools/capabilities/url_processing/providers/test_validation.py
/app/tests/unit_tests/tools/capabilities/url_processing/providers/test_validation.py:237:16 - error: Operator "in" not supported for types "Literal['Validation timeout after 5.0s']" and "str | None"
  Operator "in" not supported for types "Literal['Validation timeout after 5.0s']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/tools/capabilities/url_processing/providers/test_validation.py:294:24 - error: Operator "in" not supported for types "str" and "str | None"
  Operator "in" not supported for types "str" and "None" (reportOperatorIssue)
/app/tests/unit_tests/tools/capabilities/url_processing/providers/test_validation.py:430:16 - error: Operator "in" not supported for types "Literal['Blocked content type']" and "str | None"
  Operator "in" not supported for types "Literal['Blocked content type']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/tools/capabilities/url_processing/providers/test_validation.py:469:16 - error: Operator "in" not supported for types "Literal['Validation timeout after 10.0s']" and "str | None"
  Operator "in" not supported for types "Literal['Validation timeout after 10.0s']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/tools/capabilities/url_processing/providers/test_validation.py:489:16 - error: Operator "in" not supported for types "Literal['Network error: Network connection failed']" and "str | None"
  Operator "in" not supported for types "Literal['Network error: Network connection failed']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/tools/capabilities/url_processing/providers/test_validation.py:513:16 - error: Operator "in" not supported for types "Literal['Blocked content type: application/json']" and "str | None"
  Operator "in" not supported for types "Literal['Blocked content type: application/json']" and "None" (reportOperatorIssue)
/app/tests/unit_tests/tools/capabilities/url_processing/test_config.py
/app/tests/unit_tests/tools/capabilities/url_processing/test_config.py:123:38 - error: No parameter named "unknown_field" (reportCallIssue)
/app/tests/unit_tests/tools/capabilities/url_processing/test_config.py:181:41 - error: No parameter named "unknown_field" (reportCallIssue)
/app/tests/unit_tests/tools/capabilities/url_processing/test_config.py:312:41 - error: No parameter named "unknown_field" (reportCallIssue)
/app/tests/unit_tests/tools/capabilities/url_processing/test_config.py:379:37 - error: No parameter named "unknown_field" (reportCallIssue)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:38:13 - error: Cannot instantiate abstract class "URLValidationProvider"
  "URLValidationProvider.validate_url" is not implemented
  "URLValidationProvider.get_validation_level" is not implemented (reportAbstractUsage)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:66:28 - error: Argument of type "Literal['valid']" cannot be assigned to parameter "status" of type "ValidationStatus" in function "__init__"
  "Literal['valid']" is not assignable to "ValidationStatus" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:72:13 - error: Cannot instantiate abstract class "IncompleteProvider"
  "URLValidationProvider.get_validation_level" is not implemented (reportAbstractUsage)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:81:28 - error: Argument of type "Literal['valid']" cannot be assigned to parameter "status" of type "ValidationStatus" in function "__init__"
  "Literal['valid']" is not assignable to "ValidationStatus" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:105:13 - error: Cannot instantiate abstract class "URLNormalizationProvider"
  "URLNormalizationProvider.normalize_url" is not implemented
  "URLNormalizationProvider.get_normalization_config" is not implemented (reportAbstractUsage)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:124:42 - error: "Any" is not defined (reportUndefinedVariable)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:136:62 - error: "Any" is not defined (reportUndefinedVariable)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:156:13 - error: Cannot instantiate abstract class "URLDiscoveryProvider"
  "URLDiscoveryProvider.discover_urls" is not implemented
  "URLDiscoveryProvider.get_discovery_methods" is not implemented (reportAbstractUsage)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:184:28 - error: Argument of type "Literal['test']" cannot be assigned to parameter "method" of type "DiscoveryMethod" in function "__init__"
  "Literal['test']" is not assignable to "DiscoveryMethod" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:206:13 - error: Cannot instantiate abstract class "URLDeduplicationProvider"
  "URLDeduplicationProvider.deduplicate_urls" is not implemented
  "URLDeduplicationProvider.get_deduplication_method" is not implemented (reportAbstractUsage)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:253:13 - error: Cannot instantiate abstract class "URLProcessingProvider"
  "URLProcessingProvider.process_urls" is not implemented
  "URLProcessingProvider.process_single_url" is not implemented
  and 1 more... (reportAbstractUsage)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:282:42 - error: "Any" is not defined (reportUndefinedVariable)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:299:28 - error: Argument of type "Literal['success']" cannot be assigned to parameter "status" of type "ProcessingStatus" in function "__init__"
  "Literal['success']" is not assignable to "ProcessingStatus" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:302:63 - error: "Any" is not defined (reportUndefinedVariable)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:419:28 - error: Argument of type "Literal['valid']" cannot be assigned to parameter "status" of type "ValidationStatus" in function "__init__"
  "Literal['valid']" is not assignable to "ValidationStatus" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:430:62 - error: "Any" is not defined (reportUndefinedVariable)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:446:28 - error: Argument of type "Literal['valid']" cannot be assigned to parameter "status" of type "ValidationStatus" in function "__init__"
  "Literal['valid']" is not assignable to "ValidationStatus" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:455:13 - error: Cannot instantiate abstract class "PartialProvider"
  "URLNormalizationProvider.normalize_url" is not implemented
  "URLNormalizationProvider.get_normalization_config" is not implemented (reportAbstractUsage)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:464:28 - error: Argument of type "Literal['valid']" cannot be assigned to parameter "status" of type "ValidationStatus" in function "__init__"
  "Literal['valid']" is not assignable to "ValidationStatus" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/url_processing/test_interface.py:475:62 - error: "Any" is not defined (reportUndefinedVariable)
/app/tests/unit_tests/tools/capabilities/url_processing/test_service.py
/app/tests/unit_tests/tools/capabilities/url_processing/test_service.py:225:39 - error: "_value" is not a known attribute of "None" (reportOptionalMemberAccess)
/app/tests/unit_tests/tools/capabilities/url_processing/test_service.py:331:20 - error: Argument of type "Literal['comprehensive']" cannot be assigned to parameter "method" of type "DiscoveryMethod" in function "__init__"
  "Literal['comprehensive']" is not assignable to "DiscoveryMethod" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/url_processing/test_service.py:345:20 - error: Argument of type "Literal['sitemap_only']" cannot be assigned to parameter "method" of type "DiscoveryMethod" in function "__init__"
  "Literal['sitemap_only']" is not assignable to "DiscoveryMethod" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/url_processing/test_service.py:585:53 - error: Argument of type "Literal['valid']" cannot be assigned to parameter "status" of type "ValidationStatus" in function "__init__"
  "Literal['valid']" is not assignable to "ValidationStatus" (reportArgumentType)
/app/tests/unit_tests/tools/capabilities/url_processing/test_service.py:849:70 - error: Cannot assign to attribute "return_value" for class "MethodType"
  Attribute "return_value" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/capabilities/url_processing/test_service.py:852:70 - error: Cannot access attribute "assert_called_once" for class "MethodType"
  Attribute "assert_called_once" is unknown (reportAttributeAccessIssue)
/app/tests/unit_tests/tools/test_models.py
/app/tests/unit_tests/tools/test_models.py:239:20 - error: Argument of type "Literal['invalid_source']" cannot be assigned to parameter "source" of type "SourceType" in function "__init__"
  "Literal['invalid_source']" is not assignable to "SourceType" (reportArgumentType)
/app/tests/unit_tests/tools/test_models.py:300:19 - error: Argument of type "list[str]" cannot be assigned to parameter "links" of type "list[HttpUrl | str]" in function "__init__"
  "list[str]" is not assignable to "list[HttpUrl | str]"
    Type parameter "_T@list" is invariant, but "str" is not the same as "HttpUrl | str"
    Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
/app/tests/unit_tests/tools/test_models.py:373:22 - error: Argument of type "dict[str, str | list[str] | dict[str, str]]" cannot be assigned to parameter "metadata" of type "PageMetadata" in function "__init__"
  "dict[str, str | list[str] | dict[str, str]]" is not assignable to "PageMetadata" (reportArgumentType)
/app/tests/unit_tests/tools/test_models.py:764:13 - error: No parameter named "rawHtml" (reportCallIssue)
/app/tests/unit_tests/tools/test_models.py:788:22 - error: Argument of type "dict[str, str]" cannot be assigned to parameter "metadata" of type "FirecrawlMetadata" in function "__init__"
  "dict[str, str]" is not assignable to "FirecrawlMetadata" (reportArgumentType)
646 errors, 0 warnings, 0 notes
make: *** [Makefile:133: basedpyright] Error 1