-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
When using an agent in the "old" Foundry I can use the following instructions to chat:
PersistentAgentsClient persistentClient = new("https://xyz.services.ai.azure.com/api/projects/my-project",
new AzureCliCredential());
IChatClient chatClient = persistentClient.AsIChatClient("asst_my-agent-id");
AIAgent agent = new ChatClientAgent(
chatClient,
instructions: "You are a helpful AI assistant.",
name: "MyLeetAgent");
var result = await agent.RunAsync("Can you please help me?");
Console.WriteLine(result.Text);
However when I try to do the same with agents created in the new Foundry MAF is complaining about the ID.
It expects ids to start with "asst_"
To be able to use MAF agents I cannot migrate my agents to the new Foundry.
Somebody knows when it is possible to create an AIAgent with a new Foundry agent instance?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done