feat: add switching thinking/non-thinking modes to models

This commit is contained in:
dongfangzan committed 2025-05-15 19:56:10 +08:00
1 parent a7c90925ef
commit 9b93b81f84
8 files changed
+74 -5

No files matched your search

@@ -11,13 +11,15 @@
usage: $i18n.t(
'Sends `stream_options: { include_usage: true }` in the request.\nSupported providers will return token usage information in the response when set.'
),
citations: $i18n.t('Displays citations in the response')
citations: $i18n.t('Displays citations in the response'),
switch_thinking: $i18n.t('Sends `enable_thinking: true` in the request. \nSupported toggle providers will return thinking content')
};
export let capabilities: {
vision?: boolean;
usage?: boolean;
citations?: boolean;
switch_thinking?: boolean;
} = {};
</script>