fix: adapt model enhancements for DSH 0.1.5
This commit is contained in:
+175
-780
File diff suppressed because it is too large
Load Diff
-23
@@ -1,23 +0,0 @@
|
||||
import React from 'react';
|
||||
export interface CodexModelSelectProps {
|
||||
directory: {
|
||||
subscribe: (listener: () => void) => () => void;
|
||||
getSnapshot: () => any;
|
||||
};
|
||||
load: () => void;
|
||||
select: (selection: {
|
||||
provider: string;
|
||||
model: string;
|
||||
reasoningEffort?: string;
|
||||
}) => Promise<boolean>;
|
||||
available: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export declare function CodexModelSelect(props: CodexModelSelectProps): React.DetailedReactHTMLElement<{
|
||||
ref: React.MutableRefObject<HTMLDivElement>;
|
||||
style: {
|
||||
position: "relative";
|
||||
display: "inline-flex";
|
||||
alignItems: "center";
|
||||
};
|
||||
}, HTMLDivElement>;
|
||||
Vendored
+2
@@ -21,5 +21,7 @@ export interface DevModelInfo {
|
||||
}
|
||||
export declare const THINKING_LEVELS_ALL: string[];
|
||||
export declare function fetchAllModelsDev(): Promise<DevModelInfo[]>;
|
||||
export declare function sanitizePositiveInt(val: unknown): number | undefined;
|
||||
export declare function mergeModelCapabilities(m: any, matched?: DevModelInfo | null): any;
|
||||
export declare function normModelKey(key: string): string;
|
||||
export declare function findDevModel(queryId: string, allList: DevModelInfo[]): DevModelInfo | null;
|
||||
|
||||
Vendored
+1
-11
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user