Following these two PRs: #171 and #173
Add the same type of functionality for Azure AI Foundry.
This is going to be slightly different, in that we need an Azure AI Foundry client to retrieve the messages rather than having the messages or chat history passed directly to the API. Refer to the documentation here: https://learn.microsoft.com/en-us/dotnet/api/overview/azure/ai.agents.persistent-readme?view=azure-dotnet-preview&preserve-view=true#retrieve-messages