package tech.easyflow.ai.invoke.provider;

import tech.easyflow.ai.entity.Model;
import tech.easyflow.ai.invoke.model.UnifiedChatRequest;
import tech.easyflow.ai.invoke.model.UnifiedChatResponse;

public interface ModelProviderGateway {

    boolean supports(String providerType);

    UnifiedChatResponse chat(Model model, UnifiedChatRequest request);

    void chatStream(Model model, UnifiedChatRequest request, UnifiedChatChunkObserver observer);
}
