We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15e0328 commit c2c2030Copy full SHA for c2c2030
tools/server/public/index.html.gz
9 Bytes
tools/server/webui/src/components/useChatExtraContext.tsx
@@ -38,7 +38,7 @@ export function useChatExtraContext(): ChatExtraContextApi {
38
}
39
40
if (mimeType.startsWith('image/') && mimeType !== 'image/svg+xml') {
41
- if (!serverProps?.has_multimodal) {
+ if (!serverProps?.modalities?.vision) {
42
toast.error('Multimodal is not supported by this server or model.');
43
break;
44
tools/server/webui/src/utils/types.ts
@@ -118,6 +118,8 @@ export interface LlamaCppServerProps {
118
build_info: string;
119
model_path: string;
120
n_ctx: number;
121
- has_multimodal: boolean;
+ modalities?: {
122
+ vision: boolean;
123
+ };
124
// TODO: support params
125
0 commit comments