fix(mistral) Fix the PaymentStatusFunctionCallingIT configuraiton
Resolves #1853
This commit is contained in:
@@ -53,7 +53,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
* @author Christian Tzolov
|
||||
* @since 0.8.1
|
||||
*/
|
||||
@Disabled("See https://github.com/spring-projects/spring-ai/issues/1853")
|
||||
// @Disabled("See https://github.com/spring-projects/spring-ai/issues/1853")
|
||||
@EnabledIfEnvironmentVariable(named = "MISTRAL_AI_API_KEY", matches = ".+")
|
||||
public class PaymentStatusFunctionCallingIT {
|
||||
|
||||
@@ -131,7 +131,7 @@ public class PaymentStatusFunctionCallingIT {
|
||||
|
||||
// Extend conversation with function response.
|
||||
// The functionName is used to identify the function response!
|
||||
messages.add(new ChatCompletionMessage(result.toString(), Role.TOOL, functionName, null));
|
||||
messages.add(new ChatCompletionMessage(result.toString(), Role.TOOL, functionName, null, toolCall.id()));
|
||||
}
|
||||
|
||||
response = mistralApi
|
||||
|
||||
Reference in New Issue
Block a user