feat(coding): add model tools and device packages
This commit is contained in:
1 parent
841273b433
commit
664b8823a0
60 files changed
+3847
-2068
No files matched your search
@@ -4,9 +4,18 @@ export type ImportedThinkingLevel = 'off' | 'minimal' | 'low' | 'medium' | 'high
|
||||
export const IMPORTED_REASONING_EFFORTS = ['low', 'high', 'max'] as const;
|
||||
export type ImportedReasoningEffort = (typeof IMPORTED_REASONING_EFFORTS)[number];
|
||||
|
||||
export type ImportedModelWebSearchCapability = Readonly<{
|
||||
schemaVersion: 1;
|
||||
adapter: 'openai-responses' | 'bailian-responses' | 'bailian-chat-completions';
|
||||
supportsForcedSearch: true;
|
||||
sourceMode: 'structured' | 'inline-or-structured';
|
||||
billingAuthority: 'model-request';
|
||||
}>;
|
||||
|
||||
export interface ImportedModelCapability {
|
||||
reasoningEfforts: ImportedReasoningEffort[];
|
||||
reasoningCanDisable: boolean;
|
||||
webSearch?: ImportedModelWebSearchCapability;
|
||||
}
|
||||
|
||||
export type ImportedModelCapabilities = Record<string, ImportedModelCapability>;
|
||||
|
||||
Reference in new issue
Block a user