feat(agent): add verification configuration for agents and update related components#3174
feat(agent): add verification configuration for agents and update related components#3174Dallas98 wants to merge 2 commits into
Quality Gate failed
Failed conditions
7 Security Hotspots
4.8% Duplication on New Code (required ≤ 3%)
Annotations
Check warning on line 1227 in frontend/app/[locale]/chat/streaming/taskWindow.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6GTK9ufJtCi_-fdya_&open=AZ6GTK9ufJtCi_-fdya_&pullRequest=3174
Check failure on line 478 in sdk/nexent/core/agents/verification.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "agent.verification.failed_criteria" 3 times.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6GTLGAfJtCi_-fdybF&open=AZ6GTLGAfJtCi_-fdybF&pullRequest=3174
Check failure on line 545 in sdk/nexent/core/agents/verification.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 24 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6GTLGBfJtCi_-fdybI&open=AZ6GTLGBfJtCi_-fdybI&pullRequest=3174
Check warning on line 558 in sdk/nexent/core/agents/verification.py
sonarqubecloud / SonarCloud Code Analysis
Remove the unused local variable "status".
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6GTLGBfJtCi_-fdybH&open=AZ6GTLGBfJtCi_-fdybH&pullRequest=3174
Check warning on line 632 in sdk/nexent/core/agents/verification.py
sonarqubecloud / SonarCloud Code Analysis
Extract this nested conditional expression into an independent statement.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6GTLGBfJtCi_-fdybM&open=AZ6GTLGBfJtCi_-fdybM&pullRequest=3174
Check warning on line 600 in sdk/nexent/core/agents/verification.py
sonarqubecloud / SonarCloud Code Analysis
Extract this nested conditional expression into an independent statement.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6GTLGBfJtCi_-fdybJ&open=AZ6GTLGBfJtCi_-fdybJ&pullRequest=3174
Check warning on line 1170 in frontend/app/[locale]/chat/streaming/taskWindow.tsx
sonarqubecloud / SonarCloud Code Analysis
Handle this exception or don't catch it at all.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6GTK9ufJtCi_-fdya9&open=AZ6GTK9ufJtCi_-fdya9&pullRequest=3174
Check warning on line 45 in frontend/lib/chatMessageExtractor.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `.at(…)` over `[….length - index]`.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6GTK_0fJtCi_-fdybC&open=AZ6GTK_0fJtCi_-fdybC&pullRequest=3174
Check failure on line 1161 in frontend/app/[locale]/chat/streaming/taskWindow.tsx
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6GTK9ufJtCi_-fdya8&open=AZ6GTK9ufJtCi_-fdya8&pullRequest=3174
Check warning on line 1227 in frontend/app/[locale]/chat/streaming/taskWindow.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6GTK9ufJtCi_-fdya-&open=AZ6GTK9ufJtCi_-fdya-&pullRequest=3174
Check warning on line 1235 in frontend/app/[locale]/chat/streaming/taskWindow.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6GTK9ufJtCi_-fdybA&open=AZ6GTK9ufJtCi_-fdybA&pullRequest=3174
Check warning on line 1235 in frontend/app/[locale]/chat/streaming/taskWindow.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6GTK9ufJtCi_-fdybB&open=AZ6GTK9ufJtCi_-fdybB&pullRequest=3174
Check warning on line 631 in sdk/nexent/core/agents/verification.py
sonarqubecloud / SonarCloud Code Analysis
Extract this nested conditional expression into an independent statement.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6GTLGBfJtCi_-fdybL&open=AZ6GTLGBfJtCi_-fdybL&pullRequest=3174