Skip to content

✨ Add ScheduledTaskTool with global scheduler and frontend polling#3216

Open
2862282695gjh-afk wants to merge 1 commit into
ModelEngine-Group:developfrom
2862282695gjh-afk:feature/scheduled-task-tool
Open

✨ Add ScheduledTaskTool with global scheduler and frontend polling#3216
2862282695gjh-afk wants to merge 1 commit into
ModelEngine-Group:developfrom
2862282695gjh-afk:feature/scheduled-task-tool

✨ add ScheduledTaskTool with global scheduler and frontend polling

66f0180
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 11, 2026 in 1m 33s

Annotations

Check failure on line 292 in backend/apps/conversation_management_app.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8UYOWwJzk61Ijpo&open=AZ6wr8UYOWwJzk61Ijpo&pullRequest=3216

Check warning on line 282 in backend/apps/conversation_management_app.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "tenant_id" with "_".

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8UYOWwJzk61Ijpm&open=AZ6wr8UYOWwJzk61Ijpm&pullRequest=3216

Check failure on line 196 in sdk/nexent/core/tools/scheduled_task_tool.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8V1OWwJzk61Ijpy&open=AZ6wr8V1OWwJzk61Ijpy&pullRequest=3216

Check warning on line 78 in sdk/nexent/core/tools/scheduled_task_tool.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type hint "str" with "Optional[str]" or don't assign "None" to "user_id"

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8V1OWwJzk61Ijpt&open=AZ6wr8V1OWwJzk61Ijpt&pullRequest=3216

Check failure on line 149 in backend/services/scheduled_task_scheduler.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8T7OWwJzk61Ijph&open=AZ6wr8T7OWwJzk61Ijph&pullRequest=3216

Check failure on line 146 in backend/services/scheduled_task_scheduler.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8T7OWwJzk61Ijpg&open=AZ6wr8T7OWwJzk61Ijpg&pullRequest=3216

Check failure on line 197 in backend/services/scheduled_task_scheduler.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8T7OWwJzk61Ijpi&open=AZ6wr8T7OWwJzk61Ijpi&pullRequest=3216

Check warning on line 77 in sdk/nexent/core/tools/scheduled_task_tool.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type hint "str" with "Optional[str]" or don't assign "None" to "tenant_id"

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8V1OWwJzk61Ijps&open=AZ6wr8V1OWwJzk61Ijps&pullRequest=3216

Check failure on line 142 in sdk/nexent/core/tools/scheduled_task_tool.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8V1OWwJzk61Ijpv&open=AZ6wr8V1OWwJzk61Ijpv&pullRequest=3216

Check failure on line 114 in backend/services/scheduled_task_scheduler.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8T7OWwJzk61Ijpf&open=AZ6wr8T7OWwJzk61Ijpf&pullRequest=3216

Check warning on line 270 in backend/apps/conversation_management_app.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "Annotated" type hints for FastAPI dependency injection

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8UYOWwJzk61Ijpn&open=AZ6wr8UYOWwJzk61Ijpn&pullRequest=3216

Check warning on line 79 in sdk/nexent/core/tools/scheduled_task_tool.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type hint "int" with "Optional[int]" or don't assign "None" to "conversation_id"

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8V1OWwJzk61Ijpu&open=AZ6wr8V1OWwJzk61Ijpu&pullRequest=3216

Check warning on line 248 in backend/apps/conversation_management_app.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "Annotated" type hints for FastAPI dependency injection

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8UYOWwJzk61Ijpk&open=AZ6wr8UYOWwJzk61Ijpk&pullRequest=3216

Check failure on line 171 in sdk/nexent/core/tools/scheduled_task_tool.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wz2VspPRyU4bfMX-h&open=AZ6wz2VspPRyU4bfMX-h&pullRequest=3216

Check failure on line 567 in backend/agents/create_agent_info.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 40 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8VGOWwJzk61Ijpq&open=AZ6wr8VGOWwJzk61Ijpq&pullRequest=3216

Check failure on line 335 in backend/agents/create_agent_info.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this argument; Function "create_agent_config" expects a different type

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8VGOWwJzk61Ijpp&open=AZ6wr8VGOWwJzk61Ijpp&pullRequest=3216

Check failure on line 265 in backend/apps/conversation_management_app.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8UYOWwJzk61Ijpl&open=AZ6wr8UYOWwJzk61Ijpl&pullRequest=3216

Check warning on line 261 in backend/apps/conversation_management_app.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "tenant_id" with "_".

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8UYOWwJzk61Ijpj&open=AZ6wr8UYOWwJzk61Ijpj&pullRequest=3216

Check warning on line 76 in sdk/nexent/core/tools/scheduled_task_tool.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type hint "int" with "Optional[int]" or don't assign "None" to "agent_id"

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6wr8V1OWwJzk61Ijpr&open=AZ6wr8V1OWwJzk61Ijpr&pullRequest=3216