feat: add switching thinking/non-thinking modes to models
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -78,7 +78,8 @@
|
||||
let capabilities = {
|
||||
vision: true,
|
||||
usage: undefined,
|
||||
citations: true
|
||||
citations: true,
|
||||
switch_thinking: false,
|
||||
};
|
||||
|
||||
let knowledge = [];
|
||||
|
||||
Reference in New Issue
Block a user