mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
e6bfc51367
* Add additional integration tests and add OpenAIAssistant integration tests project. * Address PR comments. * Address PR comments.
26 lines
702 B
C#
26 lines
702 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.Agents;
|
|
using Microsoft.Extensions.AI;
|
|
|
|
namespace AgentConformanceTests;
|
|
|
|
/// <summary>
|
|
/// Base class for setting up and tearing down agents, to be used in tests.
|
|
/// Each agent type should have its own derived class.
|
|
/// </summary>
|
|
public abstract class AgentFixture : IAsyncLifetime
|
|
{
|
|
public abstract Agent Agent { get; }
|
|
|
|
public abstract Task<List<ChatMessage>> GetChatHistoryAsync(AgentThread thread);
|
|
|
|
public abstract Task DeleteThreadAsync(AgentThread thread);
|
|
|
|
public abstract Task DisposeAsync();
|
|
|
|
public abstract Task InitializeAsync();
|
|
}
|