移除 单独的网页浏览选项

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 type: string
disable_default_prompt: disable_default_prompt:
type: boolean type: boolean
disable_internet_search:
type: boolean
disable_memory: disable_memory:
type: boolean type: boolean
disable_web_browsing: disable_web_browsing:
@ -373,11 +371,6 @@ definitions:
- true - true
- false - false
type: boolean type: boolean
disable_internet_search:
enum:
- true
- false
type: boolean
disable_memory: disable_memory:
enum: enum:
- true - true

View File

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

View File

@ -3,7 +3,6 @@
// @ts-nocheck // @ts-nocheck
// noinspection JSUnusedGlobalSymbols // noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import // Generated by unplugin-auto-import
// biome-ignore lint: disable
export {} export {}
declare global { declare global {
const EffectScope: typeof import('vue')['EffectScope'] const EffectScope: typeof import('vue')['EffectScope']
@ -68,7 +67,7 @@ declare global {
// for type re-export // for type re-export
declare global { declare global {
// @ts-ignore // @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') import('vue')
} }
// for vue template auto import // for vue template auto import
@ -106,7 +105,6 @@ declare module 'vue' {
readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']> readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']> readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']> readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
readonly onWatcherCleanup: UnwrapRef<typeof import('vue')['onWatcherCleanup']>
readonly provide: UnwrapRef<typeof import('vue')['provide']> readonly provide: UnwrapRef<typeof import('vue')['provide']>
readonly reactive: UnwrapRef<typeof import('vue')['reactive']> readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
readonly readonly: UnwrapRef<typeof import('vue')['readonly']> readonly readonly: UnwrapRef<typeof import('vue')['readonly']>
@ -124,12 +122,9 @@ declare module 'vue' {
readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']> readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']>
readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']> readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>
readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']> 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 useRoute: UnwrapRef<typeof import('vue-router/auto')['useRoute']>
readonly useRouter: UnwrapRef<typeof import('vue-router/auto')['useRouter']> readonly useRouter: UnwrapRef<typeof import('vue-router/auto')['useRouter']>
readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']> readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
readonly useTemplateRef: UnwrapRef<typeof import('vue')['useTemplateRef']>
readonly watch: UnwrapRef<typeof import('vue')['watch']> readonly watch: UnwrapRef<typeof import('vue')['watch']>
readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']> readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']>
readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']> readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>

View File

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