Skip to content

Commit ae35f97

Browse files
committed
patch(provider): remove provider capabilities class, it is too complex for now.
1 parent 2140a57 commit ae35f97

File tree

2 files changed

+1
-96
lines changed

2 files changed

+1
-96
lines changed

src/main/java/com/redhat/podmortem/common/model/provider/AIProvider.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
import com.redhat.podmortem.common.model.analysis.AnalysisResult;
44
import io.smallrye.mutiny.Uni;
55

6-
/**
7-
* The core interface defining the contract for any AI provider implementation. It lives in the
8-
* common library so both the provider implementations and the consuming services can use it.
9-
*/
6+
/** A simplified core interface for any AI provider implementation. */
107
public interface AIProvider {
118

129
/**
@@ -26,13 +23,6 @@ public interface AIProvider {
2623
*/
2724
Uni<ValidationResult> validateConfiguration(AIProviderConfig config);
2825

29-
/**
30-
* Gets the capabilities of the AI provider, such as supported models and rate limits.
31-
*
32-
* @return The provider's capabilities.
33-
*/
34-
ProviderCapabilities getCapabilities();
35-
3626
/**
3727
* Returns the unique identifier for the provider (e.g., "openshift-ai", "watsonx").
3828
*

src/main/java/com/redhat/podmortem/common/model/provider/ProviderCapabilities.java

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)