Skip to content

refactor: replace dict params with BaseModel in AppService#35904

Merged
asukaminato0721 merged 5 commits into
langgenius:mainfrom
satishkc7:refactor/app-service-pass-basemodel
May 11, 2026
Merged

refactor: replace dict params with BaseModel in AppService#35904
asukaminato0721 merged 5 commits into
langgenius:mainfrom
satishkc7:refactor/app-service-pass-basemodel

Conversation

@satishkc7
Copy link
Copy Markdown
Contributor

Summary

Replaces untyped dict[str, Any] parameters with Pydantic BaseModel classes in AppService:

  • get_paginate_apps(args: dict) -> get_paginate_apps(params: AppListParams)
  • create_app(args: dict) -> create_app(params: CreateAppParams)

Follows the same pattern established in #34422 (TagService refactor).

Changes

  • api/services/app_service.py: Define AppListParams and CreateAppParams BaseModel classes; update method signatures and internal dict access to attribute access
  • api/controllers/console/app/app.py: Pass BaseModel instances directly instead of calling .model_dump()
  • Tests (8 files): Update all create_app and get_paginate_apps call sites to use the new BaseModel params

Motivation

  • Type safety: invalid parameters caught at validation time, not runtime KeyError
  • IDE support: autocompletion and type hints for all parameters
  • Consistency: aligns with existing refactored services (TagService, KnowledgeService)

Closes #31497 (partial - covers AppService, other services remain)

Replace untyped dict parameters with Pydantic BaseModel classes
(AppListParams, CreateAppParams) in AppService.get_paginate_apps()
and AppService.create_app() methods.

This improves type safety, enables IDE autocompletion, and catches
invalid parameters at validation time rather than runtime KeyError.

Closes langgenius#31497 (partial)
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. refactor labels May 7, 2026
@asukaminato0721 asukaminato0721 enabled auto-merge May 8, 2026 03:59
@asukaminato0721 asukaminato0721 self-requested a review May 8, 2026 03:59
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-11 06:02:28.495897124 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-11 06:02:20.241869899 +0000
@@ -3,11 +3,11 @@
 ERROR `str` is not assignable to `Literal['aliyun-oss', 'azure-blob', 'baidu-obs', 'clickzetta-volume', 'google-storage', 'huawei-obs', 'local', 'oci-storage', 'opendal', 's3', 'supabase', 'tencent-cos', 'volcengine-tos']` [bad-assignment]
   --> configs/middleware/__init__.py:69:9
 ERROR `str` is not assignable to `Literal['advanced-chat', 'agent-chat', 'all', 'channel', 'chat', 'completion', 'workflow']` [bad-assignment]
-  --> controllers/console/app/app.py:70:104
+  --> controllers/console/app/app.py:69:104
 ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
-   --> controllers/console/app/app.py:575:13
+   --> controllers/console/app/app.py:589:13
 ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
-  --> controllers/console/auth/email_register.py:73:108
+  --> controllers/console/auth/email_register.py:75:108
 ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
   --> controllers/console/init_validate.py:31:2
 ERROR Object of class `MissingRouter` has no attribute `post` [missing-attribute]
@@ -57,9 +57,9 @@
 ERROR Object of class `Document` has no attribute `score` [missing-attribute]
    --> core/rag/index_processor/processor/paragraph_index_processor.py:204:16
 ERROR Object of class `Document` has no attribute `score` [missing-attribute]
-   --> core/rag/index_processor/processor/parent_child_index_processor.py:244:33
+   --> core/rag/index_processor/processor/parent_child_index_processor.py:243:33
 ERROR Object of class `Document` has no attribute `score` [missing-attribute]
-   --> core/rag/index_processor/processor/parent_child_index_processor.py:245:16
+   --> core/rag/index_processor/processor/parent_child_index_processor.py:244:16
 ERROR Object of class `Document` has no attribute `score` [missing-attribute]
    --> core/rag/index_processor/processor/qa_index_processor.py:208:33
 ERROR Object of class `Document` has no attribute `score` [missing-attribute]
@@ -901,123 +901,123 @@
 ERROR Argument `list[SimpleNamespace]` is not assignable to parameter `dsl_dependencies` with type `list[PluginDependency]` in function `services.app_dsl_service.AppDslService.get_leaked_dependencies` [bad-argument-type]
     --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1305:73
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:184:38
+   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:188:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:443:23
+   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:447:23
 ERROR Argument `Literal['invalid_mode']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
-   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:512:20
+   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:516:20
 ERROR Argument `dict[str, dict[str, str]]` is not assignable to parameter `args` with type `LoopNodeRunPayload` in function `services.app_generate_service.AppGenerateService.generate_single_loop` [bad-argument-type]
-   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:730:64
+   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:734:64
 ERROR Argument `dict[str, dict[str, str]]` is not assignable to parameter `args` with type `LoopNodeRunPayload` in function `services.app_generate_service.AppGenerateService.generate_single_loop` [bad-argument-type]
-   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:757:64
+   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:761:64
 ERROR Argument `dict[str, dict[str, str]]` is not assignable to parameter `args` with type `LoopNodeRunPayload` in function `services.app_generate_service.AppGenerateService.generate_single_loop` [bad-argument-type]
-   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:783:68
+   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:787:68
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:828:23
+   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:832:23
 ERROR Argument `Literal['agent-chat']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
-   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:954:20
+   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:958:20
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-  --> tests/test_containers_integration_tests/services/test_app_service.py:83:38
+  --> tests/test_containers_integration_tests/services/test_app_service.py:84:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-  --> tests/test_containers_integration_tests/services/test_app_service.py:92:33
+  --> tests/test_containers_integration_tests/services/test_app_service.py:93:33
+ERROR Argument `str` is not assignable to parameter `mode` with type `Literal['advanced-chat', 'agent-chat', 'chat', 'completion', 'workflow']` in function `services.app_service.CreateAppParams.__init__` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_service.py:136:22
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:141:42
+   --> tests/test_containers_integration_tests/services/test_app_service.py:142:42
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:146:37
+   --> tests/test_containers_integration_tests/services/test_app_service.py:147:37
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:179:46
+   --> tests/test_containers_integration_tests/services/test_app_service.py:180:46
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:229:36
+   --> tests/test_containers_integration_tests/services/test_app_service.py:230:36
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:238:68
+   --> tests/test_containers_integration_tests/services/test_app_service.py:235:68
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:248:37
+   --> tests/test_containers_integration_tests/services/test_app_service.py:245:37
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:292:43
+   --> tests/test_containers_integration_tests/services/test_app_service.py:289:43
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:293:49
+   --> tests/test_containers_integration_tests/services/test_app_service.py:290:49
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:301:63
+   --> tests/test_containers_integration_tests/services/test_app_service.py:293:63
 ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:302:20
+   --> tests/test_containers_integration_tests/services/test_app_service.py:294:20
 ERROR Cannot index into `object` [bad-index]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:303:16
+   --> tests/test_containers_integration_tests/services/test_app_service.py:295:16
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:312:67
+   --> tests/test_containers_integration_tests/services/test_app_service.py:299:25
 ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:313:20
+   --> tests/test_containers_integration_tests/services/test_app_service.py:301:20
 ERROR Cannot index into `object` [bad-index]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:314:26
+   --> tests/test_containers_integration_tests/services/test_app_service.py:302:26
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:323:61
+   --> tests/test_containers_integration_tests/services/test_app_service.py:306:25
 ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:324:20
+   --> tests/test_containers_integration_tests/services/test_app_service.py:308:20
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:358:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:342:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:372:72
+   --> tests/test_containers_integration_tests/services/test_app_service.py:351:72
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:375:61
+   --> tests/test_containers_integration_tests/services/test_app_service.py:354:61
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:393:72
+   --> tests/test_containers_integration_tests/services/test_app_service.py:367:72
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:428:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:402:38
 ERROR Argument `dict[str, bool | str]` is not assignable to parameter `args` with type `AppService.ArgsDict` in function `services.app_service.AppService.update_app` [bad-argument-type]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:452:55
+   --> tests/test_containers_integration_tests/services/test_app_service.py:426:55
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:488:13
+   --> tests/test_containers_integration_tests/services/test_app_service.py:462:13
 ERROR Missing required key `max_active_requests` for TypedDict `ArgsDict` [bad-typed-dict-key]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:507:17
+   --> tests/test_containers_integration_tests/services/test_app_service.py:481:17
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:540:13
+   --> tests/test_containers_integration_tests/services/test_app_service.py:514:13
 ERROR Missing required key `max_active_requests` for TypedDict `ArgsDict` [bad-typed-dict-key]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:560:21
+   --> tests/test_containers_integration_tests/services/test_app_service.py:534:21
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:600:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:574:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:653:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:627:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:714:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:687:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:774:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:746:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:834:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:805:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:885:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:855:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:898:70
+   --> tests/test_containers_integration_tests/services/test_app_service.py:868:70
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:937:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:906:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:960:70
+   --> tests/test_containers_integration_tests/services/test_app_service.py:929:70
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:997:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:965:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1036:38
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1003:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1076:38
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1042:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1129:36
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1121:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1161:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1136:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1176:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1151:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1191:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1167:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1207:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1183:25
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1223:68
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1192:25
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1231:68
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1201:25
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1239:68
-ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1247:68
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1210:25
 ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1283:41
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1247:41
 ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1297:41
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1261:41
 ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
   --> tests/test_containers_integration_tests/services/test_conversation_service_variables.py:47:18
 ERROR Object of class `NoneType` has no attribute `quota_used` [missing-attribute]
@@ -1053,6 +1053,16 @@
 ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
   --> tests/test_containers_integration_tests/services/test_dataset_service_permissions.py:67:20
 ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
+  --> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:45:20
+ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
+  --> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:49:20
+ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
+  --> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:75:20
+ERROR Argument `Literal['account']` is not assignable to parameter `created_by_role` with type `CreatorUserRole | SQLCoreOperations[CreatorUserRole]` in function `models.dataset.DatasetQuery.__init__` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:156:29
+ERROR Argument `Literal['knowledge']` is not assignable to parameter `type` with type `SQLCoreOperations[TagType] | TagType` in function `models.model.Tag.__init__` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_dataset_service_retrieval.py:179:18
+ERROR Argument `Literal['active']` is not assignable to parameter `status` with type `AccountStatus | SQLCoreOperations[AccountStatus]` in function `models.account.Account.__init__` [bad-argument-type]
   --> tests/test_containers_integration_tests/services/test_file_service.py:69:20
 ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
   --> tests/test_containers_integration_tests/services/test_file_service.py:78:20
@@ -1653,13 +1663,15 @@
 ERROR Argument `Literal['normal']` is not assignable to parameter `status` with type `SQLCoreOperations[TenantStatus] | TenantStatus` in function `models.account.Tenant.__init__` [bad-argument-type]
   --> tests/test_containers_integration_tests/tasks/test_disable_segment_from_index_task.py:64:20
 ERROR Object of class `Account` has no attribute `tenant_id` [missing-attribute]
-  --> tests/test_containers_integration_tests/tasks/test_disable_segments_from_index_task.py:63:9
+  --> tests/test_containers_integration_tests/tasks/test_disable_segments_from_index_task.py:62:9
 ERROR Object of class `Account` has no attribute `type` [missing-attribute]
-  --> tests/test_containers_integration_tests/tasks/test_disable_segments_from_index_task.py:64:9
-ERROR Object of class `Account` has no attribute `tenant_id` [missing-attribute]
-  --> tests/test_containers_integration_tests/tasks/test_disable_segments_from_index_task.py:73:21
+  --> tests/test_containers_integration_tests/tasks/test_disable_segments_from_index_task.py:63:9
 ERROR Object of class `Account` has no attribute `tenant_id` [missing-attribute]
-   --> tests/test_containers_integration_tests/tasks/test_disable_segments_from_index_task.py:101:23
+  --> tests/test_containers_integration_tests/tasks/test_disable_segments_from_index_task.py:72:21
+ERROR Object of class `DatasetProcessRule` has no attribute `tenant_id` [missing-attribute]
+   --> tests/test_containers_integration_tests/tasks/test_disable_segments_from_index_task.py:235:9
+ERROR Object of class `DatasetProcessRule` has no attribute `updated_by` [missing-attribute]
+   --> tests/test_containers_integration_tests/tasks/test_disable_segments_from_index_task.py:247:9
 ERROR Object of class `NoneType` has no attribute `indexing_status` [missing-attribute]
    --> tests/test_containers_integration_tests/tasks/test_document_indexing_task.py:258:20
 ERROR Object of class `NoneType` has no attribute `processing_started_at` [missing-attribute]
@@ -2031,15 +2043,15 @@
 ERROR `SimpleNamespace` is not assignable to attribute `request` with type `Request` [bad-assignment]
    --> tests/unit_tests/controllers/files/test_tool_files.py:158:26
 ERROR `SimpleNamespace` is not assignable to attribute `request` with type `Request` [bad-assignment]
-  --> tests/unit_tests/controllers/files/test_upload.py:65:26
+  --> tests/unit_tests/controllers/files/test_upload.py:63:26
 ERROR `SimpleNamespace` is not assignable to attribute `request` with type `Request` [bad-assignment]
-  --> tests/unit_tests/controllers/files/test_upload.py:91:26
+  --> tests/unit_tests/controllers/files/test_upload.py:89:26
 ERROR `SimpleNamespace` is not assignable to attribute `request` with type `Request` [bad-assignment]
-   --> tests/unit_tests/controllers/files/test_upload.py:112:26
+   --> tests/unit_tests/controllers/files/test_upload.py:110:26
 ERROR `SimpleNamespace` is not assignable to attribute `request` with type `Request` [bad-assignment]
-   --> tests/unit_tests/controllers/files/test_upload.py:140:26
+   --> tests/unit_tests/controllers/files/test_upload.py:138:26
 ERROR `SimpleNamespace` is not assignable to attribute `request` with type `Request` [bad-assignment]
-   --> tests/unit_tests/controllers/files/test_upload.py:172:26
+   --> tests/unit_tests/controllers/files/test_upload.py:170:26
 ERROR Could not find name `Import` [unknown-name]
    --> tests/unit_tests/controllers/inner_api/app/test_dsl.py:120:71
 ERROR Missing argument `tenant_model` in function `protected_view` [missing-argument]
@@ -2467,69 +2479,69 @@
 ERROR Argument `dict[str, dict[str, str | dict[str, float]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.model_config.manager.ModelConfigManager.convert` [bad-argument-type]
   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_model_config_manager.py:76:45
 ERROR Missing required key `opening_statement` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `suggested_questions` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `suggested_questions_after_answer` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `speech_to_text` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `text_to_speech` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `retriever_resource` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `annotation_reply` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `more_like_this` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `sensitive_word_avoidance` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `external_data_tools` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `model` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `user_input_form` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `dataset_query_variable` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `pre_prompt` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `agent_mode` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `prompt_type` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `chat_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `completion_prompt_config` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `dataset_configs` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Missing required key `file_upload` for TypedDict `AppModelConfigDict` [bad-typed-dict-key]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:45:49
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:40:49
 ERROR Argument `dict[str, str]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:60:54
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:55:54
 ERROR Argument `dict[str, str | dict[str, list[dict[str, str]]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
-  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:95:54
+  --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:90:54
 ERROR Argument `dict[str, str | dict[str, list[Unknown]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
-   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:121:49
+   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:116:49
 ERROR Argument `dict[str, str | dict[str, dict[str, str]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.convert` [bad-argument-type]
-   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:149:54
+   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:144:54
 ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
-   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:177:78
+   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:172:78
 ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
-   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:198:67
+   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:193:67
 ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
-   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:210:67
+   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:205:67
 ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
-   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:222:67
+   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:217:67
 ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
-   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:235:67
+   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:230:67
 ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
-   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:247:67
+   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:242:67
 ERROR Argument `Literal['chat_app']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
-   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:259:67
+   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:254:67
 ERROR Argument `Literal['chat']` is not assignable to parameter `app_mode` with type `AppMode` in function `core.app.app_config.easy_ui_based_app.prompt_template.manager.PromptTemplateConfigManager.validate_and_set_defaults` [bad-argument-type]
-   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:276:76
+   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_prompt_template_manager.py:271:76
 ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/test_variables_manager.py:14:67
 ERROR Argument `dict[str, list[dict[str, bool | str | dict[str, str]] | dict[str, bool]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
@@ -5445,15 +5457,15 @@
 ERROR `Literal['{invalid-json-schema']` is not assignable to attribute `json_schema` with type `dict[str, Any] | None` [bad-assignment]
    --> tests/unit_tests/core/workflow/nodes/test_start_node_json_object.py:208:28
 ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
-  --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:70:9
+  --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:63:9
 ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
-  --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:71:9
+  --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:64:9
 ERROR Argument `_StubToolRuntime` is not assignable to parameter `runtime` with type `ToolNodeRuntimeProtocol` in function `graphon.nodes.tool.tool_node.ToolNode.__init__` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:124:17
+   --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:117:17
 ERROR Argument `Iterator[ToolRuntimeMessage] | Iterator[Any]` is not assignable to parameter `messages` with type `Generator[ToolRuntimeMessage]` in function `graphon.nodes.tool.tool_node.ToolNode._transform_message` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:140:18
+   --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:133:18
 ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
-   --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:231:5
+   --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node.py:224:5
 ERROR Object of class `ModuleType` has no attribute `TraceQueueManager` [missing-attribute]
   --> tests/unit_tests/core/workflow/nodes/tool/test_tool_node_runtime.py:33:9
 ERROR Object of class `ModuleType` has no attribute `TraceTask` [missing-attribute]
@@ -5725,9 +5737,9 @@
 ERROR `None` is not subscriptable [unsupported-operation]
    --> tests/unit_tests/models/test_dataset_models.py:151:16
 ERROR `in` is not supported between `Literal['pre_processing_rules']` and `None` [not-iterable]
-   --> tests/unit_tests/models/test_dataset_models.py:887:16
+   --> tests/unit_tests/models/test_dataset_models.py:889:16
 ERROR `in` is not supported between `Literal['segmentation']` and `None` [not-iterable]
-   --> tests/unit_tests/models/test_dataset_models.py:888:16
+   --> tests/unit_tests/models/test_dataset_models.py:890:16
 ERROR Argument `Literal['llm']` is not assignable to parameter `model_type` with type `ModelType | SQLCoreOperations[ModelType]` in function `models.provider.ProviderModel.__init__` [bad-argument-type]
    --> tests/unit_tests/models/test_provider_models.py:296:24
 ERROR Argument `Literal['llm']` is not assignable to parameter `model_type` with type `ModelType | SQLCoreOperations[ModelType]` in function `models.provider.ProviderModel.__init__` [bad-argument-type]
@@ -5908,7 +5920,7 @@
 ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `services.async_workflow_service.AsyncWorkflowService.reinvoke_trigger` [bad-argument-type]
    --> tests/unit_tests/services/test_async_workflow_service.py:322:22
 ERROR Argument `None` is not assignable to parameter `file` with type `FileStorage` in function `services.audio_service.AudioService.transcript_asr` [bad-argument-type]
-   --> tests/unit_tests/services/test_audio_service.py:323:61
+   --> tests/unit_tests/services/test_audio_service.py:318:61
 ERROR Argument `BillingInfo` is not assignable to parameter `result` with type `dict[Unknown, Unknown]` in function `TestBillingServiceSubscriptionInfoDataType._assert_billing_info_types` [bad-argument-type]
     --> tests/unit_tests/services/test_billing_service.py:1771:41
 ERROR Argument `BillingInfo` is not assignable to parameter `result` with type `dict[Unknown, Unknown]` in function `TestBillingServiceSubscriptionInfoDataType._assert_billing_info_types` [bad-argument-type]
@@ -6198,11 +6210,11 @@
 ERROR `Literal['2']` is not assignable to TypedDict key `limit` with type `int` [bad-typed-dict-key]
    --> tests/unit_tests/services/test_workflow_run_service.py:132:103
 ERROR Missing required key `id` for TypedDict `NodeConfigDict` [bad-typed-dict-key]
-    --> tests/unit_tests/services/test_workflow_service.py:2755:71
+    --> tests/unit_tests/services/test_workflow_service.py:2747:71
 ERROR Missing required key `data` for TypedDict `NodeConfigDict` [bad-typed-dict-key]
-    --> tests/unit_tests/services/test_workflow_service.py:2755:71
+    --> tests/unit_tests/services/test_workflow_service.py:2747:71
 ERROR Argument `dict[str, str | dict[str, str]]` is not assignable to parameter `node_config` with type `NodeConfigDict` in function `services.workflow_service.WorkflowService._build_human_input_node` [bad-argument-type]
-    --> tests/unit_tests/services/test_workflow_service.py:2841:65
+    --> tests/unit_tests/services/test_workflow_service.py:2833:65
 ERROR Argument `Literal['api_key']` is not assignable to parameter `credential_type` with type `CredentialType` in function `services.tools.builtin_tools_manage_service.BuiltinToolManageService.list_builtin_provider_credentials_schema` [bad-argument-type]
   --> tests/unit_tests/services/tools/test_builtin_tools_manage_service.py:91:89
 ERROR Object of class `Mapping` has no attribute `startswith` [missing-attribute]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

Pyrefly Type Coverage

Metric Base PR Delta
Type coverage 0.00% 43.68% +43.68%
Strict coverage 0.00% 43.20% +43.20%
Typed symbols 0 21,962 +21,962
Untyped symbols 0 28,631 +28,631
Modules 0 2547 +2,547

Copy link
Copy Markdown
Contributor

@asukaminato0721 asukaminato0721 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ci

auto-merge was automatically disabled May 8, 2026 05:17

Head branch was pushed to by a user without write access

@asukaminato0721 asukaminato0721 enabled auto-merge May 8, 2026 05:28
asukaminato0721
asukaminato0721 previously approved these changes May 8, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label May 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-08 05:29:20.671363269 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-08 05:29:07.720286283 +0000
@@ -5,7 +5,7 @@
 ERROR `str` is not assignable to `Literal['advanced-chat', 'agent-chat', 'all', 'channel', 'chat', 'completion', 'workflow']` [bad-assignment]
   --> controllers/console/app/app.py:68:104
 ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
-   --> controllers/console/app/app.py:573:13
+   --> controllers/console/app/app.py:588:13
 ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
   --> controllers/console/auth/email_register.py:75:108
 ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -920,6 +920,10 @@
     --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1001:20
 ERROR Argument `list[SimpleNamespace]` is not assignable to parameter `dsl_dependencies` with type `list[PluginDependency]` in function `services.app_dsl_service.AppDslService.get_leaked_dependencies` [bad-argument-type]
     --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1287:73
+ERROR `CreateAppParams` is uninitialized [unbound-name]
+   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:169:20
+ERROR Argument `str | Unknown` is not assignable to parameter `mode` with type `Literal['advanced-chat', 'agent-chat', 'chat', 'completion', 'workflow']` in function `services.app_service.CreateAppParams.__init__` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:172:18
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
    --> tests/test_containers_integration_tests/services/test_app_generate_service.py:184:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -940,6 +944,8 @@
   --> tests/test_containers_integration_tests/services/test_app_service.py:82:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
   --> tests/test_containers_integration_tests/services/test_app_service.py:91:33
+ERROR Argument `str` is not assignable to parameter `mode` with type `Literal['advanced-chat', 'agent-chat', 'chat', 'completion', 'workflow']` in function `services.app_service.CreateAppParams.__init__` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_service.py:134:22
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
    --> tests/test_containers_integration_tests/services/test_app_service.py:140:42
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -949,99 +955,117 @@
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
    --> tests/test_containers_integration_tests/services/test_app_service.py:228:36
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:237:68
+   --> tests/test_containers_integration_tests/services/test_app_service.py:233:68
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:247:37
+   --> tests/test_containers_integration_tests/services/test_app_service.py:243:37
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:291:43
+   --> tests/test_containers_integration_tests/services/test_app_service.py:287:43
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:292:49
+   --> tests/test_containers_integration_tests/services/test_app_service.py:288:49
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:300:63
+   --> tests/test_containers_integration_tests/services/test_app_service.py:291:63
 ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:301:20
+   --> tests/test_containers_integration_tests/services/test_app_service.py:292:20
 ERROR Cannot index into `object` [bad-index]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:302:16
+   --> tests/test_containers_integration_tests/services/test_app_service.py:293:16
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:311:67
+   --> tests/test_containers_integration_tests/services/test_app_service.py:297:25
 ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:312:20
+   --> tests/test_containers_integration_tests/services/test_app_service.py:299:20
 ERROR Cannot index into `object` [bad-index]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:313:26
+   --> tests/test_containers_integration_tests/services/test_app_service.py:300:26
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:322:61
+   --> tests/test_containers_integration_tests/services/test_app_service.py:304:25
 ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:323:20
+   --> tests/test_containers_integration_tests/services/test_app_service.py:306:20
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:357:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:340:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:371:72
+   --> tests/test_containers_integration_tests/services/test_app_service.py:349:72
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:374:61
+   --> tests/test_containers_integration_tests/services/test_app_service.py:352:61
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:392:72
+   --> tests/test_containers_integration_tests/services/test_app_service.py:365:72
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:427:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:400:38
 ERROR Argument `dict[str, bool | str]` is not assignable to parameter `args` with type `AppService.ArgsDict` in function `services.app_service.AppService.update_app` [bad-argument-type]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:451:55
+   --> tests/test_containers_integration_tests/services/test_app_service.py:424:55
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:487:13
+   --> tests/test_containers_integration_tests/services/test_app_service.py:460:13
 ERROR Missing required key `max_active_requests` for TypedDict `ArgsDict` [bad-typed-dict-key]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:506:17
+   --> tests/test_containers_integration_tests/services/test_app_service.py:479:17
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:539:13
+   --> tests/test_containers_integration_tests/services/test_app_service.py:512:13
 ERROR Missing required key `max_active_requests` for TypedDict `ArgsDict` [bad-typed-dict-key]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:559:21
+   --> tests/test_containers_integration_tests/services/test_app_service.py:532:21
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:599:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:572:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:652:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:625:38
+ERROR `CreateAppParams` is uninitialized [unbound-name]
+   --> tests/test_containers_integration_tests/services/test_app_service.py:673:20
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:713:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:686:38
+ERROR `CreateAppParams` is uninitialized [unbound-name]
+   --> tests/test_containers_integration_tests/services/test_app_service.py:733:20
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:773:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:746:38
+ERROR `CreateAppParams` is uninitialized [unbound-name]
+   --> tests/test_containers_integration_tests/services/test_app_service.py:793:20
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:833:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:806:38
+ERROR `CreateAppParams` is uninitialized [unbound-name]
+   --> tests/test_containers_integration_tests/services/test_app_service.py:844:20
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:884:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:857:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:897:70
+   --> tests/test_containers_integration_tests/services/test_app_service.py:870:70
+ERROR `CreateAppParams` is uninitialized [unbound-name]
+   --> tests/test_containers_integration_tests/services/test_app_service.py:896:20
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:936:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:909:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:959:70
+   --> tests/test_containers_integration_tests/services/test_app_service.py:932:70
+ERROR `CreateAppParams` is uninitialized [unbound-name]
+   --> tests/test_containers_integration_tests/services/test_app_service.py:956:20
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:996:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:969:38
+ERROR `CreateAppParams` is uninitialized [unbound-name]
+   --> tests/test_containers_integration_tests/services/test_app_service.py:995:20
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1035:38
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1008:38
+ERROR `CreateAppParams` is uninitialized [unbound-name]
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1035:20
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1075:38
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1048:38
 ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1082:23
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1055:23
 ERROR Argument `Literal['uuid']` is not assignable to parameter `value` with type `CustomizeTokenStrategy | SQLCoreOperations[CustomizeTokenStrategy]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1084:41
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1057:41
+ERROR Argument `Literal['invalid_mode']` is not assignable to parameter `mode` with type `Literal['advanced-chat', 'agent-chat', 'chat', 'completion', 'workflow']` in function `services.app_service.CreateAppParams.__init__` [bad-argument-type]
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1094:22
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1128:36
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1099:36
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1160:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1131:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1175:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1146:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1190:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1161:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1206:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1177:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1222:68
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1193:25
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1230:68
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1202:25
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1238:68
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1211:25
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1246:68
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1220:25
 ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1282:41
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1257:41
 ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1296:41
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1271:41
 ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
   --> tests/test_containers_integration_tests/services/test_conversation_service.py:44:18
 ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]

auto-merge was automatically disabled May 8, 2026 05:39

Head branch was pushed to by a user without write access

@asukaminato0721 asukaminato0721 enabled auto-merge May 8, 2026 05:41
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-08 05:42:58.210605267 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-08 05:42:45.874527632 +0000
@@ -5,7 +5,7 @@
 ERROR `str` is not assignable to `Literal['advanced-chat', 'agent-chat', 'all', 'channel', 'chat', 'completion', 'workflow']` [bad-assignment]
   --> controllers/console/app/app.py:68:104
 ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
-   --> controllers/console/app/app.py:573:13
+   --> controllers/console/app/app.py:588:13
 ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
   --> controllers/console/auth/email_register.py:75:108
 ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -920,6 +920,8 @@
     --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1001:20
 ERROR Argument `list[SimpleNamespace]` is not assignable to parameter `dsl_dependencies` with type `list[PluginDependency]` in function `services.app_dsl_service.AppDslService.get_leaked_dependencies` [bad-argument-type]
     --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1287:73
+ERROR Argument `str | Unknown` is not assignable to parameter `mode` with type `Literal['advanced-chat', 'agent-chat', 'chat', 'completion', 'workflow']` in function `services.app_service.CreateAppParams.__init__` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:174:18
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
    --> tests/test_containers_integration_tests/services/test_app_generate_service.py:184:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -937,111 +939,115 @@
 ERROR Argument `Literal['agent-chat']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
    --> tests/test_containers_integration_tests/services/test_app_generate_service.py:954:20
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-  --> tests/test_containers_integration_tests/services/test_app_service.py:82:38
+  --> tests/test_containers_integration_tests/services/test_app_service.py:83:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-  --> tests/test_containers_integration_tests/services/test_app_service.py:91:33
+  --> tests/test_containers_integration_tests/services/test_app_service.py:92:33
+ERROR Argument `str` is not assignable to parameter `mode` with type `Literal['advanced-chat', 'agent-chat', 'chat', 'completion', 'workflow']` in function `services.app_service.CreateAppParams.__init__` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_service.py:135:22
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:140:42
+   --> tests/test_containers_integration_tests/services/test_app_service.py:141:42
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:145:37
+   --> tests/test_containers_integration_tests/services/test_app_service.py:146:37
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:178:46
+   --> tests/test_containers_integration_tests/services/test_app_service.py:179:46
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:228:36
+   --> tests/test_containers_integration_tests/services/test_app_service.py:229:36
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:237:68
+   --> tests/test_containers_integration_tests/services/test_app_service.py:234:68
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:247:37
+   --> tests/test_containers_integration_tests/services/test_app_service.py:244:37
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:291:43
+   --> tests/test_containers_integration_tests/services/test_app_service.py:288:43
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:292:49
+   --> tests/test_containers_integration_tests/services/test_app_service.py:289:49
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:300:63
+   --> tests/test_containers_integration_tests/services/test_app_service.py:292:63
 ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:301:20
+   --> tests/test_containers_integration_tests/services/test_app_service.py:293:20
 ERROR Cannot index into `object` [bad-index]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:302:16
+   --> tests/test_containers_integration_tests/services/test_app_service.py:294:16
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:311:67
+   --> tests/test_containers_integration_tests/services/test_app_service.py:298:25
 ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:312:20
+   --> tests/test_containers_integration_tests/services/test_app_service.py:300:20
 ERROR Cannot index into `object` [bad-index]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:313:26
+   --> tests/test_containers_integration_tests/services/test_app_service.py:301:26
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:322:61
+   --> tests/test_containers_integration_tests/services/test_app_service.py:305:25
 ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:323:20
+   --> tests/test_containers_integration_tests/services/test_app_service.py:307:20
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:357:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:341:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:371:72
+   --> tests/test_containers_integration_tests/services/test_app_service.py:350:72
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:374:61
+   --> tests/test_containers_integration_tests/services/test_app_service.py:353:61
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:392:72
+   --> tests/test_containers_integration_tests/services/test_app_service.py:366:72
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:427:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:401:38
 ERROR Argument `dict[str, bool | str]` is not assignable to parameter `args` with type `AppService.ArgsDict` in function `services.app_service.AppService.update_app` [bad-argument-type]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:451:55
+   --> tests/test_containers_integration_tests/services/test_app_service.py:425:55
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:487:13
+   --> tests/test_containers_integration_tests/services/test_app_service.py:461:13
 ERROR Missing required key `max_active_requests` for TypedDict `ArgsDict` [bad-typed-dict-key]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:506:17
+   --> tests/test_containers_integration_tests/services/test_app_service.py:480:17
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:539:13
+   --> tests/test_containers_integration_tests/services/test_app_service.py:513:13
 ERROR Missing required key `max_active_requests` for TypedDict `ArgsDict` [bad-typed-dict-key]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:559:21
+   --> tests/test_containers_integration_tests/services/test_app_service.py:533:21
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:599:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:573:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:652:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:626:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:713:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:686:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:773:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:745:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:833:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:804:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:884:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:854:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:897:70
+   --> tests/test_containers_integration_tests/services/test_app_service.py:867:70
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:936:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:905:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:959:70
+   --> tests/test_containers_integration_tests/services/test_app_service.py:928:70
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:996:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:964:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1035:38
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1002:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1075:38
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1041:38
 ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1082:23
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1048:23
 ERROR Argument `Literal['uuid']` is not assignable to parameter `value` with type `CustomizeTokenStrategy | SQLCoreOperations[CustomizeTokenStrategy]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1084:41
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1050:41
+ERROR Argument `Literal['invalid_mode']` is not assignable to parameter `mode` with type `Literal['advanced-chat', 'agent-chat', 'chat', 'completion', 'workflow']` in function `services.app_service.CreateAppParams.__init__` [bad-argument-type]
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1087:22
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1128:36
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1092:36
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1160:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1124:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1175:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1139:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1190:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1154:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1206:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1170:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1222:68
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1186:25
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1230:68
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1195:25
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1238:68
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1204:25
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1246:68
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1213:25
 ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1282:41
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1250:41
 ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1296:41
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1264:41
 ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
   --> tests/test_containers_integration_tests/services/test_conversation_service.py:44:18
 ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-08 05:42:58.847345232 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-08 05:42:46.312774100 +0000
@@ -5,7 +5,7 @@
 ERROR `str` is not assignable to `Literal['advanced-chat', 'agent-chat', 'all', 'channel', 'chat', 'completion', 'workflow']` [bad-assignment]
   --> controllers/console/app/app.py:68:104
 ERROR Object of class `App` has no attribute `access_mode` [missing-attribute]
-   --> controllers/console/app/app.py:573:13
+   --> controllers/console/app/app.py:588:13
 ERROR Argument `str | None` is not assignable to parameter `language` with type `str` in function `services.account_service.AccountService.send_email_register_email` [bad-argument-type]
   --> controllers/console/auth/email_register.py:75:108
 ERROR Object of class `MissingRouter` has no attribute `get` [missing-attribute]
@@ -920,6 +920,8 @@
     --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1001:20
 ERROR Argument `list[SimpleNamespace]` is not assignable to parameter `dsl_dependencies` with type `list[PluginDependency]` in function `services.app_dsl_service.AppDslService.get_leaked_dependencies` [bad-argument-type]
     --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:1287:73
+ERROR Argument `str | Unknown` is not assignable to parameter `mode` with type `Literal['advanced-chat', 'agent-chat', 'chat', 'completion', 'workflow']` in function `services.app_service.CreateAppParams.__init__` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:174:18
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
    --> tests/test_containers_integration_tests/services/test_app_generate_service.py:184:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
@@ -937,111 +939,115 @@
 ERROR Argument `Literal['agent-chat']` is not assignable to parameter `value` with type `AppMode | SQLCoreOperations[AppMode]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
    --> tests/test_containers_integration_tests/services/test_app_generate_service.py:954:20
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-  --> tests/test_containers_integration_tests/services/test_app_service.py:82:38
+  --> tests/test_containers_integration_tests/services/test_app_service.py:83:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-  --> tests/test_containers_integration_tests/services/test_app_service.py:91:33
+  --> tests/test_containers_integration_tests/services/test_app_service.py:92:33
+ERROR Argument `str` is not assignable to parameter `mode` with type `Literal['advanced-chat', 'agent-chat', 'chat', 'completion', 'workflow']` in function `services.app_service.CreateAppParams.__init__` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_service.py:135:22
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:140:42
+   --> tests/test_containers_integration_tests/services/test_app_service.py:141:42
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:145:37
+   --> tests/test_containers_integration_tests/services/test_app_service.py:146:37
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:178:46
+   --> tests/test_containers_integration_tests/services/test_app_service.py:179:46
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:228:36
+   --> tests/test_containers_integration_tests/services/test_app_service.py:229:36
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:237:68
+   --> tests/test_containers_integration_tests/services/test_app_service.py:234:68
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:247:37
+   --> tests/test_containers_integration_tests/services/test_app_service.py:244:37
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:291:43
+   --> tests/test_containers_integration_tests/services/test_app_service.py:288:43
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:292:49
+   --> tests/test_containers_integration_tests/services/test_app_service.py:289:49
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:300:63
+   --> tests/test_containers_integration_tests/services/test_app_service.py:292:63
 ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:301:20
+   --> tests/test_containers_integration_tests/services/test_app_service.py:293:20
 ERROR Cannot index into `object` [bad-index]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:302:16
+   --> tests/test_containers_integration_tests/services/test_app_service.py:294:16
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:311:67
+   --> tests/test_containers_integration_tests/services/test_app_service.py:298:25
 ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:312:20
+   --> tests/test_containers_integration_tests/services/test_app_service.py:300:20
 ERROR Cannot index into `object` [bad-index]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:313:26
+   --> tests/test_containers_integration_tests/services/test_app_service.py:301:26
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:322:61
+   --> tests/test_containers_integration_tests/services/test_app_service.py:305:25
 ERROR Object of class `NoneType` has no attribute `items` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:323:20
+   --> tests/test_containers_integration_tests/services/test_app_service.py:307:20
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:357:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:341:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:371:72
+   --> tests/test_containers_integration_tests/services/test_app_service.py:350:72
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:374:61
+   --> tests/test_containers_integration_tests/services/test_app_service.py:353:61
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:392:72
+   --> tests/test_containers_integration_tests/services/test_app_service.py:366:72
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:427:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:401:38
 ERROR Argument `dict[str, bool | str]` is not assignable to parameter `args` with type `AppService.ArgsDict` in function `services.app_service.AppService.update_app` [bad-argument-type]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:451:55
+   --> tests/test_containers_integration_tests/services/test_app_service.py:425:55
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:487:13
+   --> tests/test_containers_integration_tests/services/test_app_service.py:461:13
 ERROR Missing required key `max_active_requests` for TypedDict `ArgsDict` [bad-typed-dict-key]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:506:17
+   --> tests/test_containers_integration_tests/services/test_app_service.py:480:17
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:539:13
+   --> tests/test_containers_integration_tests/services/test_app_service.py:513:13
 ERROR Missing required key `max_active_requests` for TypedDict `ArgsDict` [bad-typed-dict-key]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:559:21
+   --> tests/test_containers_integration_tests/services/test_app_service.py:533:21
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:599:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:573:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:652:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:626:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:713:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:686:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:773:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:745:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:833:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:804:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:884:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:854:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:897:70
+   --> tests/test_containers_integration_tests/services/test_app_service.py:867:70
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:936:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:905:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:959:70
+   --> tests/test_containers_integration_tests/services/test_app_service.py:928:70
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-   --> tests/test_containers_integration_tests/services/test_app_service.py:996:38
+   --> tests/test_containers_integration_tests/services/test_app_service.py:964:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1035:38
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1002:38
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1075:38
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1041:38
 ERROR Argument `Literal['normal']` is not assignable to parameter `value` with type `AppStatus | SQLCoreOperations[AppStatus]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1082:23
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1048:23
 ERROR Argument `Literal['uuid']` is not assignable to parameter `value` with type `CustomizeTokenStrategy | SQLCoreOperations[CustomizeTokenStrategy]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1084:41
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1050:41
+ERROR Argument `Literal['invalid_mode']` is not assignable to parameter `mode` with type `Literal['advanced-chat', 'agent-chat', 'chat', 'completion', 'workflow']` in function `services.app_service.CreateAppParams.__init__` [bad-argument-type]
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1087:22
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1128:36
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1092:36
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1160:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1124:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1175:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1139:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1190:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1154:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1206:13
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1170:13
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1222:68
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1186:25
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1230:68
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1195:25
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1238:68
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1204:25
 ERROR Object of class `NoneType` has no attribute `id` [missing-attribute]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1246:68
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1213:25
 ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1282:41
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1250:41
 ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_service.AppService.get_app_meta` [bad-argument-type]
-    --> tests/test_containers_integration_tests/services/test_app_service.py:1296:41
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1264:41
 ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]
   --> tests/test_containers_integration_tests/services/test_conversation_service.py:44:18
 ERROR Argument `Literal['owner']` is not assignable to parameter `role` with type `SQLCoreOperations[TenantAccountRole] | TenantAccountRole` in function `models.account.TenantAccountJoin.__init__` [bad-argument-type]

@satishkc7
Copy link
Copy Markdown
Contributor Author

CI fixed, ready for re-review.

@asukaminato0721
Copy link
Copy Markdown
Contributor

error[PT012]: `pytest.raises()` block should contain a single simple statement
    --> tests/test_containers_integration_tests/services/test_app_service.py:1083:9
     |
1082 |           # Attempt to create app with invalid mode - Pydantic will reject invalid literal
1083 | /         with pytest.raises(ValidationError):
1084 | |             app_args = CreateAppParams(
1085 | |                 name=fake.company(),
1086 | |                 description=fake.text(max_nb_chars=100),
1087 | |                 mode="invalid_mode",
1088 | |                 icon_type="emoji",
1089 | |                 icon="❌",
1090 | |                 icon_background="#D63031",
1091 | |             )
1092 | |             app_service.create_app(tenant.id, app_args, account)
     | |________________________________________________________________^
1093 |
1094 |       def test_get_apps_with_special_characters_in_name(
     |

@asukaminato0721
Copy link
Copy Markdown
Contributor

+ERROR Argument `str | Unknown` is not assignable to parameter `mode` with type `Literal['advanced-chat', 'agent-chat', 'chat', 'completion', 'workflow']` in function `services.app_service.CreateAppParams.__init__` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_generate_service.py:174:18

+ERROR Argument `Literal['invalid_mode']` is not assignable to parameter `mode` with type `Literal['advanced-chat', 'agent-chat', 'chat', 'completion', 'workflow']` in function `services.app_service.CreateAppParams.__init__` [bad-argument-type]
+    --> tests/test_containers_integration_tests/services/test_app_service.py:1087:22

auto-merge was automatically disabled May 8, 2026 20:33

Head branch was pushed to by a user without write access

@asukaminato0721 asukaminato0721 enabled auto-merge May 9, 2026 11:45
@asukaminato0721 asukaminato0721 added this pull request to the merge queue May 11, 2026
Merged via the queue into langgenius:main with commit f1c4c1a May 11, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer refactor size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Refactor/Chore] avoid pass dict, directly pass basemodel

2 participants