Skip to content

Commit 5dc08fa

Browse files
committed
fix: MiniMaxChatModel call requestPrompt
Signed-off-by: lambochen <[email protected]>
1 parent 28abaa6 commit 5dc08fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/spring-ai-minimax/src/main/java/org/springframework/ai/minimax/MiniMaxChatModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ private Flux<ChatResponse> internalStream(Prompt requestPrompt, int iterations)
394394
ToolExecutionResult toolExecutionResult;
395395
try {
396396
ToolCallReactiveContextHolder.setContext(ctx);
397-
toolExecutionResult = this.toolCallingManager.executeToolCalls(prompt, response);
397+
toolExecutionResult = this.toolCallingManager.executeToolCalls(requestPrompt, response);
398398
} finally {
399399
ToolCallReactiveContextHolder.clearContext();
400400
}

0 commit comments

Comments
 (0)