24 lines
600 B
TypeScript
24 lines
600 B
TypeScript
import React from 'react';
|
|
import { TModelSpec, TStartupConfig } from 'librechat-data-provider';
|
|
|
|
export interface Endpoint {
|
|
value: string;
|
|
label: string;
|
|
hasModels: boolean;
|
|
models?: Array<{ name: string; isGlobal?: boolean }>;
|
|
icon: React.ReactNode;
|
|
agentNames?: Record<string, string>;
|
|
assistantNames?: Record<string, string>;
|
|
modelIcons?: Record<string, string | undefined>;
|
|
}
|
|
|
|
export interface SelectedValues {
|
|
endpoint: string | null;
|
|
model: string | null;
|
|
modelSpec: string | null;
|
|
}
|
|
|
|
export interface ModelSelectorProps {
|
|
startupConfig: TStartupConfig | undefined;
|
|
}
|