Skip to content

Commit dd2f3fd

Browse files
committed
fix: docs
1 parent 0fde948 commit dd2f3fd

6 files changed

Lines changed: 11 additions & 5 deletions

File tree

docs/components/pro/chatbot/demos/multimodal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
api_key=os.getenv("MODELSCOPE_ACCESS_TOKEN"), # ModelScope Token
2020
)
2121

22-
model = "Qwen/Qwen2.5-VL-72B-Instruct"
22+
model = "Qwen/Qwen3-VL-8B-Instruct"
2323

2424

2525
def prompt_select(input_value, e: gr.EventData):

docs/helper/Site.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def _render_docs(self, items: list, tab: dict):
3232
if key in tab_docs:
3333
with antd.Tabs.Item(
3434
key=key,
35+
additional_props=dict(ms_auto_loading=False),
3536
visible=True if tab.get("default_active_key")
3637
== key else False) as docs_tab:
3738
docs_tabs.append(docs_tab)
@@ -107,6 +108,8 @@ def on_tab_menu_select(e: gr.EventData):
107108
for tab in self.tabs:
108109
with antd.Tabs.Item(
109110
key=tab["key"],
111+
additional_props=dict(
112+
ms_auto_loading=False),
110113
elem_style=dict(
111114
height=
112115
"calc(100vh - var(--size-4) - var(--body-text-size) * 1.5 - 64px)"

docs/layout_templates/chatbot/demos/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
api_key=MODELSCOPE_ACCESS_TOKEN,
2626
)
2727

28-
model = "Qwen/Qwen2.5-VL-72B-Instruct"
28+
model = "Qwen/Qwen3-VL-8B-Instruct"
2929

3030
save_history = False
3131

docs/layout_templates/chatbot/demos/fine_grained_control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
api_key=MODELSCOPE_ACCESS_TOKEN,
1919
)
2020

21-
model = "Qwen/Qwen2.5-VL-72B-Instruct"
21+
model = "Qwen/Qwen3-VL-8B-Instruct"
2222

2323
save_history = False
2424

frontend/svelte-preprocess-react/component/props.svelte.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,10 @@ export function processProps<
270270
}
271271

272272
// for loading_status
273-
if (shouldSetLoadingStatus) {
273+
if (
274+
shouldSetLoadingStatus &&
275+
props.additionalProps?.ms_auto_loading !== false
276+
) {
274277
setLoadingStatus(() => props.restProps.loading_status);
275278
}
276279

frontend/svelte-preprocess-react/internal/Bridge.svelte.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import type { TreeNode } from './types';
2121

2222
// omit attached_events
2323
function omitNodeProps(props: Record<string, any>) {
24-
const excludes = ['attachedEvents', '$$slots'];
24+
const excludes = ['attachedEvents', '$$slots', 'ms_auto_loading'];
2525
const newProps = { ...props };
2626
for (const exclude of excludes) {
2727
if (Reflect.has(newProps, exclude)) {

0 commit comments

Comments
 (0)