feat: consume server model reasoning capabilities
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
* layer so TypeScript project boundaries remain stable during the migration.
|
||||
*/
|
||||
|
||||
import type { ImportedModelCapabilities } from '../../shared/imported-model-profile';
|
||||
|
||||
export const PROVIDER_TYPES = [
|
||||
'anthropic',
|
||||
'openai',
|
||||
@@ -125,6 +127,7 @@ export interface ProviderAccount {
|
||||
email?: string;
|
||||
resourceUrl?: string;
|
||||
customModels?: string[];
|
||||
worksSquareModelCapabilities?: ImportedModelCapabilities;
|
||||
worksSquareCredentialMode?: string;
|
||||
worksSquareCredentialExpiresAt?: string;
|
||||
};
|
||||
|
||||
@@ -30,6 +30,7 @@ const THINKING_OPTIONS: Array<{ value: ConversationThinkingLevel; label: string
|
||||
{ value: 'low', label: '低' },
|
||||
{ value: 'medium', label: '中等' },
|
||||
{ value: 'high', label: '高' },
|
||||
{ value: 'max', label: '最高' },
|
||||
];
|
||||
|
||||
function thinkingLabel(level: ConversationThinkingLevel): string {
|
||||
|
||||
Reference in New Issue
Block a user