Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(web): detect multimodal capability via tags instead of model_type
Since model_type only represents the primary category (e.g., 'chat'),
it cannot capture auxiliary capabilities. Switching to 'IMAGE2TEXT' tag
detection allows multimodal support for versatile models like gpt-5.2-pro.
  • Loading branch information
eviaaaaa committed Feb 2, 2026
commit 8f9251969481a78a98a2d2929cd6ec8fbdeaf505
2 changes: 1 addition & 1 deletion web/src/pages/agent/form/agent-form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function AgentForm({ node }: INextOperatorForm) {
<FormWrapper>
{isSubAgent && <DescriptionField></DescriptionField>}
<LargeModelFormField showSpeech2TextModel></LargeModelFormField>
{findLlmByUuid(llmId)?.model_type === LlmModelType.Image2text && (
{findLlmByUuid(llmId)?.tags?.includes('IMAGE2TEXT') && (
<QueryVariable
name="visual_files_var"
label="Visual Input File"
Expand Down