Skip to content

Commit 81ce3bc

Browse files
ai-afkrlagyu0
authored andcommitted
fix: spring-projects#3787 fix returnDirect attribute default value change false to true
Signed-off-by: rlagyu0 <[email protected]>
1 parent 1799f90 commit 81ce3bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-ai-model/src/main/java/org/springframework/ai/tool/metadata/ToolMetadata.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public interface ToolMetadata {
3333
* Whether the tool result should be returned directly or passed back to the model.
3434
*/
3535
default boolean returnDirect() {
36-
return false;
36+
return true;
3737
}
3838

3939
/**

0 commit comments

Comments
 (0)