移除 单独的网页浏览选项

This commit is contained in:
ivamp 2024-10-14 21:59:44 +08:00
parent 3935e8c179
commit a53f1b1710
4 changed files with 2 additions and 34 deletions

View File

@ -7,8 +7,6 @@ definitions:
type: string
disable_default_prompt:
type: boolean
disable_internet_search:
type: boolean
disable_memory:
type: boolean
disable_web_browsing:
@ -373,11 +371,6 @@ definitions:
- true
- false
type: boolean
disable_internet_search:
enum:
- true
- false
type: boolean
disable_memory:
enum:
- true

View File

@ -748,12 +748,6 @@ export interface EntityAssistant {
* @memberof EntityAssistant
*/
'disable_default_prompt'?: boolean;
/**
*
* @type {boolean}
* @memberof EntityAssistant
*/
'disable_internet_search'?: boolean;
/**
*
* @type {boolean}
@ -1624,12 +1618,6 @@ export interface SchemaAssistantUpdateRequest {
* @memberof SchemaAssistantUpdateRequest
*/
'disable_default_prompt'?: boolean;
/**
*
* @type {boolean}
* @memberof SchemaAssistantUpdateRequest
*/
'disable_internet_search'?: boolean;
/**
*
* @type {boolean}

View File

@ -3,7 +3,6 @@
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
// biome-ignore lint: disable
export {}
declare global {
const EffectScope: typeof import('vue')['EffectScope']
@ -68,7 +67,7 @@ declare global {
// for type re-export
declare global {
// @ts-ignore
export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
import('vue')
}
// for vue template auto import
@ -106,7 +105,6 @@ declare module 'vue' {
readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
readonly onWatcherCleanup: UnwrapRef<typeof import('vue')['onWatcherCleanup']>
readonly provide: UnwrapRef<typeof import('vue')['provide']>
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
readonly readonly: UnwrapRef<typeof import('vue')['readonly']>
@ -124,12 +122,9 @@ declare module 'vue' {
readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']>
readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>
readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']>
readonly useId: UnwrapRef<typeof import('vue')['useId']>
readonly useModel: UnwrapRef<typeof import('vue')['useModel']>
readonly useRoute: UnwrapRef<typeof import('vue-router/auto')['useRoute']>
readonly useRouter: UnwrapRef<typeof import('vue-router/auto')['useRouter']>
readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
readonly useTemplateRef: UnwrapRef<typeof import('vue')['useTemplateRef']>
readonly watch: UnwrapRef<typeof import('vue')['watch']>
readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']>
readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>

View File

@ -93,20 +93,12 @@
禁用默认提示词
</div>
<div>
<n-switch
v-model:value="currentAssistant.disable_internet_search"
>
</n-switch>
禁用网络搜索
</div>
<div>
<n-switch
v-model:value="currentAssistant.disable_web_browsing"
>
</n-switch>
禁用页浏览
禁用联网
</div>
<div>