feat(coding): add model tools and device packages

This commit is contained in:
brother7 committed 2026-09-02 18:46:21 +08:00
1 parent 841273b433
commit 664b8823a0
60 files changed
+3847 -2068

No files matched your search

+9
View File
@@ -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>;