Skip to content

✨ Enhance ToolConfigModal and ToolTestPanel

048689d
Select commit
Loading
Failed to load commit list.
Merged

✨ Enhance ToolConfigModal and ToolTestPanel with knowledge base selec… #2745

✨ Enhance ToolConfigModal and ToolTestPanel
048689d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 2, 2026 in 1m 12s

Quality Gate failed

Failed conditions
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 665 in frontend/app/[locale]/agents/components/agentConfig/tool/ToolTestPanel.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Visible, non-interactive elements with click handlers must have at least one keyboard listener.

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

Check failure on line 270 in frontend/app/[locale]/agents/components/agentConfig/tool/ToolTestPanel.tsx

See this annotation in the file changed.

@sonarqubecloud 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=AZ1IPkq1ZbWaBRLAMojg&open=AZ1IPkq1ZbWaBRLAMojg&pullRequest=2745

Check failure on line 474 in frontend/app/[locale]/agents/components/agentConfig/tool/ToolTestPanel.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 665 in frontend/app/[locale]/agents/components/agentConfig/tool/ToolTestPanel.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element.

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

Check warning on line 701 in frontend/app/[locale]/agents/components/agentConfig/tool/ToolTestPanel.tsx

See this annotation in the file changed.

@sonarqubecloud 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=AZ1IPkq1ZbWaBRLAMojk&open=AZ1IPkq1ZbWaBRLAMojk&pullRequest=2745