feat: add new agent#36284
Draft
zyssyz123 wants to merge 11 commits into
Draft
Conversation
Contributor
Pyrefly Type Coverage
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #36284 +/- ##
==========================================
+ Coverage 85.94% 85.96% +0.01%
==========================================
Files 4458 4465 +7
Lines 211298 211887 +589
Branches 39503 39551 +48
==========================================
+ Hits 181593 182140 +547
- Misses 26501 26530 +29
- Partials 3204 3217 +13
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-05-18 09:41:04.883198528 +0000
+++ /tmp/pyrefly_pr.txt 2026-05-18 09:40:51.151071687 +0000
@@ -1768,6 +1768,20 @@
--> tests/test_containers_integration_tests/trigger/test_trigger_e2e.py:857:21
ERROR Argument `Literal['unsupported_language']` is not assignable to parameter `language` with type `CodeLanguage` in function `core.helper.code_executor.code_executor.CodeExecutor.execute_workflow_code_template` [bad-argument-type]
--> tests/test_containers_integration_tests/workflow/nodes/code_executor/test_code_executor.py:10:62
+ERROR Cannot index into `bool` [bad-index]
+ --> tests/unit_tests/clients/agent_backend/test_event_adapter.py:53:12
+ERROR Cannot index into `float` [bad-index]
+ --> tests/unit_tests/clients/agent_backend/test_event_adapter.py:53:12
+ERROR Cannot index into `int` [bad-index]
+ --> tests/unit_tests/clients/agent_backend/test_event_adapter.py:53:12
+ERROR Cannot index into `list[JsonValue]` [bad-index]
+ --> tests/unit_tests/clients/agent_backend/test_event_adapter.py:53:12
+ERROR Cannot index into `str` [bad-index]
+ --> tests/unit_tests/clients/agent_backend/test_event_adapter.py:53:12
+ERROR `None` is not subscriptable [unsupported-operation]
+ --> tests/unit_tests/clients/agent_backend/test_event_adapter.py:53:12
+ERROR Cannot index into `object` [bad-index]
+ --> tests/unit_tests/clients/agent_backend/test_request_builder.py:132:12
ERROR Expected a callable, got `None` [not-callable]
--> tests/unit_tests/commands/test_clean_expired_messages.py:33:9
ERROR Expected a callable, got `None` [not-callable]
@@ -5715,6 +5729,12 @@
--> tests/unit_tests/models/test_account_models.py:552:23
ERROR Argument `dict[str, bool | str]` is not assignable to parameter `value` with type `TenantCustomConfigDict` in function `models.account.Tenant.custom_config_dict` [bad-argument-type]
--> tests/unit_tests/models/test_account_models.py:573:37
+ERROR Object of class `FromClause` has no attribute `constraints` [missing-attribute]
+ --> tests/unit_tests/models/test_agent.py:35:27
+ERROR Object of class `FromClause` has no attribute `create` [missing-attribute]
+ --> tests/unit_tests/models/test_agent.py:50:5
+ERROR Object of class `FromClause` has no attribute `insert` [missing-attribute]
+ --> tests/unit_tests/models/test_agent.py:51:20
ERROR `None` is not subscriptable [unsupported-operation]
--> tests/unit_tests/models/test_dataset_models.py:150:16
ERROR `None` is not subscriptable [unsupported-operation]
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Fixes #<issue number>.Summary
Screenshots
Checklist
make lint && make type-check(backend) andcd web && pnpm exec vp staged(frontend) to appease the lint gods