Skip to content

[BUG] Agent Framework: Handle model response when toolUse is not accompanied by text #3755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

fix: handle model response when toolUse is not accompanied by text

22dc728
Select commit
Loading
Failed to load commit list.
Merged

[BUG] Agent Framework: Handle model response when toolUse is not accompanied by text #3755

fix: handle model response when toolUse is not accompanied by text
22dc728
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Apr 25, 2025 in 0s

0.00% of diff hit (target 78.12%)

View this Pull Request on Codecov

0.00% of diff hit (target 78.12%)

Annotations

Check warning on line 324 in ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/agent/AgentUtils.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/agent/AgentUtils.java#L324

Added line #L324 was not covered by tests

Check warning on line 327 in ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/agent/AgentUtils.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/agent/AgentUtils.java#L326-L327

Added lines #L326 - L327 were not covered by tests

Check warning on line 331 in ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/agent/AgentUtils.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/agent/AgentUtils.java#L329-L331

Added lines #L329 - L331 were not covered by tests