From b5f9ed177a04eb961c4a2c770ffe33761cd3d344 Mon Sep 17 00:00:00 2001 From: dantelmomsft Date: Fri, 31 Jan 2025 10:27:14 +0100 Subject: [PATCH] polished account agent exception messages --- .../microsoft/openai/samples/assistant/agent/AccountAgent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/copilot/copilot-backend/src/main/java/com/microsoft/openai/samples/assistant/agent/AccountAgent.java b/app/copilot/copilot-backend/src/main/java/com/microsoft/openai/samples/assistant/agent/AccountAgent.java index e0dc065..8f165cc 100644 --- a/app/copilot/copilot-backend/src/main/java/com/microsoft/openai/samples/assistant/agent/AccountAgent.java +++ b/app/copilot/copilot-backend/src/main/java/com/microsoft/openai/samples/assistant/agent/AccountAgent.java @@ -67,7 +67,7 @@ public AccountAgent(OpenAIAsyncClient client, LoggedUserService loggedUserServic TransactionsReportingAgent.class, EmbeddedResourceLoader.ResourceLocation.CLASSPATH_ROOT); } catch (FileNotFoundException e) { - throw new RuntimeException("Cannot find account-history.yaml file in the classpath", e); + throw new RuntimeException("Cannot find account.yaml file in the classpath", e); } //Used to retrieve account id. Transaction API requires account id to retrieve transactions KernelPlugin openAPIImporterAccountPlugin = SemanticKernelOpenAPIImporter