Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Aug 23, 2024
1 parent aaabc7a commit a8d38ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/inference/common/connectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export enum InferenceConnectorType {
Gemini = '.gemini',
}

export const allSupportedConnectorTypes = Object.values(InferenceConnectorType);
const allSupportedConnectorTypes = Object.values(InferenceConnectorType);

export interface InferenceConnector {
type: InferenceConnectorType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type { InferenceConnectorAdapter } from '../types';
import { openAIAdapter } from './openai';

export const getInferenceAdapter = (
connectorType: string
connectorType: InferenceConnectorType
): InferenceConnectorAdapter | undefined => {
switch (connectorType) {
case InferenceConnectorType.OpenAI:
Expand Down

0 comments on commit a8d38ea

Please sign in to comment.